Find answers from the community

Home
Members
nntverd
n
nntverd
Offline, last seen 3 months ago
Joined September 25, 2024
hello to everyone

I am using llamaindex ReAct agent to solve my problem. I try to get json schema from my own API. This schema is very important as a context to generate json based on the schema. Schema is quite big.

Agent starts very well. It understands what kind of schema I need. FunctionTool goes to API gets schema. It shows schema to me in verbose mode. And all I want is to return the schema to python code as a text. But after Observation step agent is failed with "Error: Could not parse output. Please follow the thought-action-input format. Try again.". And it restarts flow from the beginning until it reaches attempts limit

How can I get a response of the FunctionTool from the Agent whithout problems?
2 comments
n
L