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
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.