ChatHistory.AddRange(IEnumerable<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 the messages to the history.
public void AddRange (System.Collections.Generic.IEnumerable<Microsoft.SemanticKernel.ChatMessageContent> items);
member this.AddRange : seq<Microsoft.SemanticKernel.ChatMessageContent> -> unit
Public Sub AddRange (items As IEnumerable(Of ChatMessageContent))
Parameters
- items
- IEnumerable<ChatMessageContent>
The collection whose messages should be added to the history.
Exceptions
items
is null.