Structurizing the output of the agent

Hi everyone!

I’m developing a multi-agent system and the first task involves parsing a user query to extract specific parameters.
The agent must create a structured json from original query and then pass it to another agent that will call the tool using these arguments.
{
“query”: “the original query”,
“metrics”: [“array”, “of”, “metrics”],
“start_date”: “YYYY-MM-DD”,
“end_date”: “YYYY-MM-DD”,
“analysis_type”: “simple_stats|trends|correlation”
}

So far all my effort fail. Would appreciate your help/advice on this matter.
Thanks!

have you tried combining Force Tool Ouput and Function Calling

Oh, that’s useful, thank you!

1 Like

We covered how to do this in our latest video:

2 Likes

That helped me a lot! Thank you

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.