Skip to content

[DISCORD:1416339018345353298] Structured Output with /generate API and tools #7805

@wardpeet

Description

@wardpeet

This issue was created from Discord post: https://discord.com/channels/1309558646228779139/1416339018345353298

I'm trying to use the /generate API with an output property in the POST body where I define Json Schema.

This doesn't seem to call any of my tools.

The docs note the use of experimental_output why when I try and use this instead it errors with Function calling with a response mime type: application/json is unsupported

How can I use /generate to get structured output and tools?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions