wenjin272 opened a new issue, #280:
URL: https://github.com/apache/flink-agents/issues/280

   ### Search before asking
   
   - [x] I searched in the 
[issues](https://github.com/apache/flink-agents/issues) and found nothing 
similar.
   
   ### Description
   
   Currently, when configured `output_schema`, the react agent directly prompt 
the model to use a specific format, and use an output parser to extract the 
structured response from the raw model output. This is the only way for models 
which don't support tool calling or json mode.
   
   For models support tool calling or json mode, we can makes use of these 
capabilities to generate structured output.
   
   See https://python.langchain.com/docs/how_to/structured_output/ for details.
   
   ### Are you willing to submit a PR?
   
   - [ ] I'm willing to submit a PR!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to