次の方法で共有


ChatRequestDeveloperMessage Class

Definition

A request chat message containing developer instructions that influence how the model will generate a chat completions response. Some AI models support a developer message instead of a system message.

public class ChatRequestDeveloperMessage : Azure.AI.Inference.ChatRequestMessage, System.ClientModel.Primitives.IJsonModel<Azure.AI.Inference.ChatRequestDeveloperMessage>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Inference.ChatRequestDeveloperMessage>
type ChatRequestDeveloperMessage = class
    inherit ChatRequestMessage
    interface IJsonModel<ChatRequestDeveloperMessage>
    interface IPersistableModel<ChatRequestDeveloperMessage>
Public Class ChatRequestDeveloperMessage
Inherits ChatRequestMessage
Implements IJsonModel(Of ChatRequestDeveloperMessage), IPersistableModel(Of ChatRequestDeveloperMessage)
Inheritance
ChatRequestDeveloperMessage
Implements

Constructors

ChatRequestDeveloperMessage(String)

Initializes a new instance of ChatRequestDeveloperMessage.

Properties

Content

The contents of the developer message.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ChatRequestDeveloperMessage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ChatRequestDeveloperMessage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IJsonModel<ChatRequestMessage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from ChatRequestMessage)
IJsonModel<ChatRequestMessage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from ChatRequestMessage)
IPersistableModel<ChatRequestDeveloperMessage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ChatRequestDeveloperMessage>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ChatRequestDeveloperMessage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

IPersistableModel<ChatRequestMessage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from ChatRequestMessage)
IPersistableModel<ChatRequestMessage>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from ChatRequestMessage)
IPersistableModel<ChatRequestMessage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from ChatRequestMessage)

Applies to