SearchModelFactory.ChatCompletionSchemaProperties Method

Definition

Properties for JSON schema response format.

public static Azure.Search.Documents.Indexes.Models.ChatCompletionSchemaProperties ChatCompletionSchemaProperties(string name = default, string description = default, bool? isStrict = default, Azure.Search.Documents.Indexes.Models.ChatCompletionSchema schema = default);
static member ChatCompletionSchemaProperties : string * string * Nullable<bool> * Azure.Search.Documents.Indexes.Models.ChatCompletionSchema -> Azure.Search.Documents.Indexes.Models.ChatCompletionSchemaProperties
Public Shared Function ChatCompletionSchemaProperties (Optional name As String = Nothing, Optional description As String = Nothing, Optional isStrict As Nullable(Of Boolean) = Nothing, Optional schema As ChatCompletionSchema = Nothing) As ChatCompletionSchemaProperties

Parameters

name
String

Name of the json schema the model will adhere to.

description
String

Description of the json schema the model will adhere to.

isStrict
Nullable<Boolean>

Whether or not the model's response should use structured outputs. Default is true.

schema
ChatCompletionSchema

The schema definition.

Returns

A new ChatCompletionSchemaProperties instance for mocking.

Applies to