3 instantiations of FunctionInvocationResult
Microsoft.Extensions.AI (3)
ChatCompletion\FunctionInvokingChatClient.cs (3)
533
return
new
(ContinueMode.Continue, FunctionStatus.NotFound, functionCallContent, result: null, exception: null);
546
return
new
(
555
return
new
(
7 references to FunctionInvocationResult
Microsoft.Extensions.AI (7)
ChatCompletion\FunctionInvokingChatClient.cs (7)
477
FunctionInvocationResult
result = await ProcessFunctionCallAsync(chatMessages, options, functionCallContents[0], iteration, 0, 1, cancellationToken).ConfigureAwait(false);
483
FunctionInvocationResult
[] results;
495
results = new
FunctionInvocationResult
[functionCount];
504
foreach (
FunctionInvocationResult
fir in results)
525
private async Task<
FunctionInvocationResult
> ProcessFunctionCallAsync(
582
protected virtual IList<ChatMessage> AddResponseMessages(IList<ChatMessage> chat, ReadOnlySpan<
FunctionInvocationResult
> results)
596
FunctionResultContent CreateFunctionResultContent(
FunctionInvocationResult
result)