Cannot import name 'sahi_sliced_predict' from 'metaseg'

cannot import name ‘sahi_sliced_predict’ from ‘metaseg’ I m geting this error when i m trying to import.
the complete error is : ImportError: cannot import name ‘sahi_sliced_predict’ from ‘metaseg’ (/usr/local/lib/python3.10/dist-packages/metaseg/init.py)