Find answers from the community

Updated 3 months ago

```from llama_index.agent.openai import

Plain Text
from llama_index.agent.openai import OpenAIAgent


i noticed this doesn't work on stable version of llamaindex https://docs.llamaindex.ai/en/stable/examples/agent/openai_agent_with_query_engine.html
where can I get OpenAiAgent class ?

tried
Plain Text
from llama_index.core.agent.openai import OpenAIAgent


didn't work either
W
V
6 comments
from llama_index.agent.openai import OpenAIAgent is working for me!

Could you try again. For this you'll have to install the package first: pip install llama-index-agent-openai
what llamaindex version are you using
this is the only thing available on stable version now 10.18.0
Attachment
image.png
I think something got borked in your env πŸ‘€ , I would suggest uninstalling and installing again the required packages
it worked, sorry for late update. The problem was with poetry deps caching
Add a reply
Sign up and join the conversation on Discord