-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Idea: Structured Output for Tools #49
Labels
Comments
could potentially be an easy pick after #47 with an extension like |
Nailing it down to:
|
Still valid or obsolete @OskarStark? |
Could be a nice addition, but not needed for now |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
I’d like to suggest a feature that enables structured output for tools when interacting with the model. Currently, the model decides how to format and display the results, which may not always fit specific needs. This feature would allow users to specify the desired output format for their tools.
Example:
In my case, I have a tool that fetches products from my API and presents them to the user. However, I don’t want the model to decide the structure of the output. Instead, I’ve specified a JSON schema that dictates the format of the response.
For instance, the result would look something like this:
With this response, my frontend knows which renderer to use.
Expected Behavior:
This would improve consistency and allow for more flexible tool integrations.
The text was updated successfully, but these errors were encountered: