Find answers from the community

s
F
Y
a
P
Updated last month

Does this mean I can t use llama index s

Does this mean I can't use llama index's query function without langchain?
L
K
5 comments
Llama-Index uses some LLM classes from langchain

To me, this error says you need to import/use the ChatOpenAI class for the LLM you are using
Thanks. It doesn't make sense though that I get the error only when using streamlit πŸ˜… I also imported it and nothing changed. I have to "use" it but I don't know how to use it in this context
What does the code in streamlit look like?
are you setting up a service context?
Ah...I fixed it. Thanks Logan! πŸ™‚
Add a reply
Sign up and join the conversation on Discord