Find answers from the community

Home
Members
cordbob
c
cordbob
Offline, last seen 3 months ago
Joined September 25, 2024
Hello all! I'm using FnRetrieverOpenAIAgent in order to add some tools and query engines. One of those tools should be used first to get the required parameters for the others. Is there and example or a best practice to get this "hierarchy" of tools to work?
2 comments
c
L
My FnRetrieverOpenAIAgent.from_retriever(obj_index.as_retriever(), verbose=True, chat_history=self.chat_history, system_prompt=self.system_prompt )
was working until recently, now I'm getting the following error:
DEBUG:llama_index.indices.utils:> Top 1 nodes:
[Node 2339e84f-5d1e-4b56-9f7e-ad3d8a555f7b] [Similarity score: 0.680813] Tool name: get_location_information
Tool description: get_location_information(address: str, cate...
An exception occurred: There is no current event loop in thread 'Thread-1'.

Any ideas what could have went wrong during update ? Thanks a lot
11 comments
L
c
Hi all. Does anybody know what is the maximum length for a function description to be used by an agent?
1 comment
L