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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET