Structured Output Mode for Function-calling: How to indicate which are output fields?

In the example for structured output mode, you just need to set strict=true.
However, it seems in the example, the output fields are specified as “parameters”. So how do you distinguish required input parameters from output fields?

1 Like

While strict=true enforces structured output, clearly defining input and output fields is essential. Consider using distinct naming conventions or separate sections for parameters and expected outputs. Alternatively, provide clear instructions within the prompt to guide the model.