StructuredOutputDefinition 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 StructuredOutputDefinition : System.ClientModel.Primitives.IJsonModel<Azure.AI.Projects.OpenAI.StructuredOutputDefinition>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Projects.OpenAI.StructuredOutputDefinition>
type StructuredOutputDefinition = class
interface IJsonModel<StructuredOutputDefinition>
interface IPersistableModel<StructuredOutputDefinition>
Public Class StructuredOutputDefinition
Implements IJsonModel(Of StructuredOutputDefinition), IPersistableModel(Of StructuredOutputDefinition)
- Inheritance
-
StructuredOutputDefinition
- Implements
Constructors
| Name | Description |
|---|---|
| StructuredOutputDefinition(String, String, BinaryData, Nullable<Boolean>) |
Initializes a new instance of StructuredOutputDefinition. |
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 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 |