Dela via


ChatRequestSystemMessage Class

Definition

A request chat message containing system instructions that influence how the model will generate a chat completions response.

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

Constructors

ChatRequestSystemMessage(String)

Initializes a new instance of ChatRequestSystemMessage.

Properties

Content

The contents of the system message.

Explicit Interface Implementations

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)
IJsonModel<ChatRequestSystemMessage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ChatRequestSystemMessage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

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)
IPersistableModel<ChatRequestSystemMessage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ChatRequestSystemMessage>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ChatRequestSystemMessage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to