Share via


FunctionInvokingChatClient.AddResponseMessages Method

Definition

protected:
 virtual System::Collections::Generic::IList<Microsoft::Extensions::AI::ChatMessage ^> ^ AddResponseMessages(System::Collections::Generic::IList<Microsoft::Extensions::AI::ChatMessage ^> ^ chat, ReadOnlySpan<Microsoft::Extensions::AI::FunctionInvokingChatClient::FunctionInvocationResult ^> results);
protected virtual System.Collections.Generic.IList<Microsoft.Extensions.AI.ChatMessage> AddResponseMessages (System.Collections.Generic.IList<Microsoft.Extensions.AI.ChatMessage> chat, ReadOnlySpan<Microsoft.Extensions.AI.FunctionInvokingChatClient.FunctionInvocationResult> results);
abstract member AddResponseMessages : System.Collections.Generic.IList<Microsoft.Extensions.AI.ChatMessage> * ReadOnlySpan<Microsoft.Extensions.AI.FunctionInvokingChatClient.FunctionInvocationResult> -> System.Collections.Generic.IList<Microsoft.Extensions.AI.ChatMessage>
override this.AddResponseMessages : System.Collections.Generic.IList<Microsoft.Extensions.AI.ChatMessage> * ReadOnlySpan<Microsoft.Extensions.AI.FunctionInvokingChatClient.FunctionInvocationResult> -> System.Collections.Generic.IList<Microsoft.Extensions.AI.ChatMessage>
Protected Overridable Function AddResponseMessages (chat As IList(Of ChatMessage), results As ReadOnlySpan(Of FunctionInvokingChatClient.FunctionInvocationResult)) As IList(Of ChatMessage)

Parameters

Returns

Applies to