Find answers from the community

Updated last year

OpenAIAssistantAgent

Hello everyone! About 3 months ago i started searching for tools and frameworks that would enable me to create a useful and knowledgeable chatbot for a potential client. I am impressed with what is capable with llama-index. Is there any possibility I can showcase the problems I am facing or get any insight on my problem and overall potential solution ? I am Information system second year Masters student. For starters : I cannot use "OpenAIAssistantAgent.from_new" as a custom agent. I saw example using it but it cannot be imported. Thanks in advance.
E
L
11 comments
Hello! yes. My exact code : ¨¨¨from llama_index.agent import ContextRetrieverOpenAIAgent

agent = OpenAIAssistantAgent.from_new(
name="QA bot",
instructions="You are a bot designed",
openai_tools=[],
tools=[summary_tool, vector_tool],
verbose=True,
run_retrieve_sleep_time=1.0,
) ¨¨¨
for OpenAIAssistantAgent you should import:

Plain Text
from llama_index.agent import OpenAIAssistantAgent
I see...Such an obvious mistake...Thank you very much
It seems like the issue persists.
can you check your llama_index version?
yea, that's really old, you can update it by pip install llama_index --upgrade
Do you mind to share the insight on the problem/ chatbot i am trying to make ? I would really appreciate someone who is more advanced in the realm of LLM and LLamaIndex.
Add a reply
Sign up and join the conversation on Discord