Find answers from the community

Updated last year

i ran into some issues trying the RAGS

At a glance
i ran into some issues trying the RAGS project.
File "D:\openai\rags-main\core\utils.py", line 4, in <module>
from llama_index.llms.base import LLM
ImportError: cannot import name 'LLM' from 'llama_index.llms.base' (D:\openai\openai-env\Lib\site-packages\llama_index\llms\base.py)

thank you
W
1 comment
Replace this line with
Plain Text
from llama_index.llms.base import BaseLLM as LLM

in rags-main\core\utils.py

I guess you have llamaindex greater than the mentioned version
Add a reply
Sign up and join the conversation on Discord