Find answers from the community

Updated 9 months ago

ModuleNotFoundError: No module named '

ModuleNotFoundError: No module named 'llama_index.core.llms.generic_utils' when trying to use openailike class
Ive updated to the most recent version of llama-index and llama-index-core and still wont work
L
m
6 comments
Did you update openailike?

pip install -U llama-index-core llama-index-llms-openai-like

The import in openai-like is this
Attachment
image.png
we got it working now, but openai like doesnt seems to be working with hugging face, we are getting a 404, do you know of any updated v .10 examples of hugging face openailiek calls
Are you using TGI with the openai-like API? Or what feature from huggingface are you using?
There shouldn't be any difference with openai-like in v0.10.x besides the import path
We tried the tgi but it didn't work, also v10 requires an API version

I just went back to using the HuggingFace inference class that I edited to work with non chat models
Add a reply
Sign up and join the conversation on Discord