ChatCompletionsResponseFormatJSON 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 response format for Chat Completions that restricts responses to emitting valid JSON objects. Note that to enable JSON mode, some AI models may also require you to instruct the model to produce JSON via a system or user message.
public class ChatCompletionsResponseFormatJSON : Azure.AI.Inference.ChatCompletionsResponseFormat, System.ClientModel.Primitives.IJsonModel<Azure.AI.Inference.ChatCompletionsResponseFormatJSON>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Inference.ChatCompletionsResponseFormatJSON>
type ChatCompletionsResponseFormatJSON = class
inherit ChatCompletionsResponseFormat
interface IJsonModel<ChatCompletionsResponseFormatJSON>
interface IPersistableModel<ChatCompletionsResponseFormatJSON>
Public Class ChatCompletionsResponseFormatJSON
Inherits ChatCompletionsResponseFormat
Implements IJsonModel(Of ChatCompletionsResponseFormatJSON), IPersistableModel(Of ChatCompletionsResponseFormatJSON)
- Inheritance
- Implements
Constructors
ChatCompletionsResponseFormatJSON() |
Initializes a new instance of ChatCompletionsResponseFormatJSON. |
Explicit Interface Implementations
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET