SearchModelFactory.ChatCompletionSchemaProperties Method
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.
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.
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.