ChatHistory.Add(ChatMessageContent) Method
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.
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.