你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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. |