3 instantiations of FunctionInvocationResult
Microsoft.Extensions.AI (3)
ChatCompletion\FunctionInvokingChatClient.cs (3)
557
return
new
(ContinueMode.Continue, FunctionStatus.NotFound, functionCallContent, result: null, exception: null);
570
return
new
(
579
return
new
(
7 references to FunctionInvocationResult
Microsoft.Extensions.AI (7)
ChatCompletion\FunctionInvokingChatClient.cs (7)
501
FunctionInvocationResult
result = await ProcessFunctionCallAsync(chatMessages, options, functionCallContents[0], iteration, 0, 1, cancellationToken).ConfigureAwait(false);
507
FunctionInvocationResult
[] results;
519
results = new
FunctionInvocationResult
[functionCount];
528
foreach (
FunctionInvocationResult
fir in results)
549
private async Task<
FunctionInvocationResult
> ProcessFunctionCallAsync(
606
protected virtual IList<ChatMessage> AddResponseMessages(IList<ChatMessage> chat, ReadOnlySpan<
FunctionInvocationResult
> results)
620
FunctionResultContent CreateFunctionResultContent(
FunctionInvocationResult
result)