FnRetrieverOpenAIAgent.from_retriever(obj_index.as_retriever(), verbose=True,
chat_history=self.chat_history,
system_prompt=self.system_prompt
)
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'.
DEBUG:llama_index.indices.utils:> Top 2 nodes:
> [Node 3bd65261-cbc8-4f76-b973-df35165d2bed] [Similarity score: 0.70184] Tool name: get_weather_details
Tool description: get_weather_details(address: str) -> dict
F...
> [Node d04bb907-f2a8-41a3-a871-3567ca7565d7] [Similarity score: 0.68918] 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'.
2023-08-18 12:29:06.831747 : Sorry, there was an error with the system: There is no current event loop in thread 'Thread-1'.
...
Tool description: get_location_information(address: str, cate...
DEBUG:openai:message='Request to OpenAI API' method=post path=https://api.openai.com/v1/chat/completions