ChatRequestFunctionMessage Class

Definition

A request chat message representing requested output from a configured function.

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

Constructors

ChatRequestFunctionMessage(String, String)

Initializes a new instance of ChatRequestFunctionMessage.

Properties

Content

The output of the function as requested by the function call.

Name

The name of the function that was called to produce output.

Role

The chat role associated with this message.

(Inherited from ChatRequestMessage)

Explicit Interface Implementations

IJsonModel<ChatRequestFunctionMessage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ChatRequestFunctionMessage>.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<ChatRequestFunctionMessage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ChatRequestFunctionMessage>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ChatRequestFunctionMessage>.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