Share via


FunctionChoiceBehaviorOptions.AllowStrictSchemaAdherence Property

Definition

Gets or sets whether the AI model should strictly adhere to the function schema.

[System.Text.Json.Serialization.JsonPropertyName("allow_strict_schema_adherence")]
public bool AllowStrictSchemaAdherence { get; set; }
[<System.Text.Json.Serialization.JsonPropertyName("allow_strict_schema_adherence")>]
member this.AllowStrictSchemaAdherence : bool with get, set
Public Property AllowStrictSchemaAdherence As Boolean

Property Value

Attributes

Remarks

The default value is set to false. If set to true, the AI model will strictly adhere to the function schema.

Applies to