4 references to FunctionResultContent
Microsoft.Extensions.AI (1)
ChatCompletion\FunctionInvokingChatClient.cs (1)
555
return new
FunctionResultContent
(result.CallContent.CallId, result.CallContent.Name, functionResult, result.Exception);
Microsoft.Extensions.AI.Abstractions (1)
Contents\FunctionResultContent.cs (1)
66
:
this
(Throw.IfNull(functionCall).CallId, functionCall.Name, result, exception)
Microsoft.Extensions.AI.Abstractions.Tests (2)
Contents\FunctionResultContentTests.cs (2)
30
FunctionResultContent c =
new
("id", "name", "result", e);
109
var sut = new
FunctionResultContent
("callId1", "functionName", null, new InvalidOperationException("hello"));