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