SearchModelFactory.ChatCompletionResponseFormat 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.
Determines how the language model's response should be serialized. Defaults to 'text'.
public static Azure.Search.Documents.Indexes.Models.ChatCompletionResponseFormat ChatCompletionResponseFormat(Azure.Search.Documents.Indexes.Models.ChatCompletionResponseFormatType? type = default, Azure.Search.Documents.Indexes.Models.ChatCompletionSchemaProperties jsonSchemaProperties = default);
static member ChatCompletionResponseFormat : Nullable<Azure.Search.Documents.Indexes.Models.ChatCompletionResponseFormatType> * Azure.Search.Documents.Indexes.Models.ChatCompletionSchemaProperties -> Azure.Search.Documents.Indexes.Models.ChatCompletionResponseFormat
Public Shared Function ChatCompletionResponseFormat (Optional type As Nullable(Of ChatCompletionResponseFormatType) = Nothing, Optional jsonSchemaProperties As ChatCompletionSchemaProperties = Nothing) As ChatCompletionResponseFormat
Parameters
Specifies how the LLM should format the response.
- jsonSchemaProperties
- ChatCompletionSchemaProperties
An open dictionary for extended properties. Required if 'type' == 'json_schema'.
Returns
A new ChatCompletionResponseFormat instance for mocking.