Freigeben über


ChatHistory.Add(ChatMessageContent) Method

Definition

Adds a message to the history.

public void Add (Microsoft.SemanticKernel.ChatMessageContent item);
abstract member Add : Microsoft.SemanticKernel.ChatMessageContent -> unit
override this.Add : Microsoft.SemanticKernel.ChatMessageContent -> unit
Public Sub Add (item As ChatMessageContent)

Parameters

item
ChatMessageContent

The message to add.

Implements

Exceptions

item is null.

Applies to