ResponsesStructuredOutputDefinition Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A structured output that can be produced by the agent.
public class ResponsesStructuredOutputDefinition : System.ClientModel.Primitives.IJsonModel<Azure.AI.Extensions.OpenAI.ResponsesStructuredOutputDefinition>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Extensions.OpenAI.ResponsesStructuredOutputDefinition>
type ResponsesStructuredOutputDefinition = class
interface IJsonModel<ResponsesStructuredOutputDefinition>
interface IPersistableModel<ResponsesStructuredOutputDefinition>
Public Class ResponsesStructuredOutputDefinition
Implements IJsonModel(Of ResponsesStructuredOutputDefinition), IPersistableModel(Of ResponsesStructuredOutputDefinition)
- Inheritance
-
ResponsesStructuredOutputDefinition
- Implements
Constructors
| Name | Description |
|---|---|
| ResponsesStructuredOutputDefinition(String, String, IDictionary<String,BinaryData>, Nullable<Boolean>) |
Initializes a new instance of ResponsesStructuredOutputDefinition. |
Properties
| Name | Description |
|---|---|
| Description |
A description of the output to emit. Used by the model to determine when to emit the output. |
| Name |
The name of the structured output. |
| Schema |
The JSON schema for the structured output. To assign an object to the value of this property use FromObjectAsJson<T>(T, JsonSerializerOptions). To assign an already formatted json string to this property use FromString(String). Examples:
|
| Strict |
Whether to enforce strict validation. Default |