mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-22 01:22:00 -05:00
[GH-ISSUE #8515] Missing the "schema" option for Structured Output generation #69755
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @HunorModli on GitHub (Jan 13, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/8515
Hi,
I am trying to use the ollama structured output generation (ollama added it on 6.th of december), that was announced in the [0.5.0] - 2024-12-25 version:
I did not find the exact way to get a structured response in the documentation, but after updateing OpenWebUi, there is only one setting I found that looks like what I'm searching for: it is under Settings > General > Advanced Parameters > Request Mode (all the way at the bottom). If I switch it to "JSON", I think if somewhere this hsould be the option, but after selecting this the generation fails with a 400 error like this:
Am I missing something, or is this option missing from the user interface? If I'm wrong can someone point me to the right direction?
Thanks!
@tjbck commented on GitHub (Mar 28, 2025):
Addressed in dev
c137d3ad17, testing wanted here.