You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changed the title [-]Foundry returns 500 status code when using ResponseFormat =JsonSchema in ChatClient options[/-][+]Foundry returns 500 status code when using ResponseFormat (aka structured response) in ChatClient options[/+]on May 23, 2025
Activity
jonwis commentedon May 21, 2025
Can you include what model you were using? The output of
(await manager.ListLoadedModelsAsync()).Select(_ => _.ModelId);
for instance?tomlm commentedon May 23, 2025
Here's repo code:
The OpenAI response correctly returns a JSON object matching the schema.
This could be because either:
a. the phi-4 model doesn't support structured output OR
b. the schema is blowing up foundry.
tomlm commentedon May 23, 2025
Also this seems to happen with
I've not tried more models than that.
[-]Foundry returns 500 status code when using ResponseFormat =JsonSchema in ChatClient options[/-][+]Foundry returns 500 status code when using ResponseFormat (aka structured response) in ChatClient options[/+]samuel100 commentedon Jun 6, 2025
Duplicate of #112