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