10 references to CreateFromParsedArguments
Microsoft.Extensions.AI.Abstractions.Tests (6)
Contents\FunctionCallContentTests..cs (6)
275var content = FunctionCallContent.CreateFromParsedArguments( 320var content = FunctionCallContent.CreateFromParsedArguments(exc, "callId", "functionName", ThrowingParser); 334Assert.Throws<ArgumentNullException>("encodedArguments", () => FunctionCallContent.CreateFromParsedArguments((string)null!, "callId", "functionName", _ => null)); 335Assert.Throws<ArgumentNullException>("callId", () => FunctionCallContent.CreateFromParsedArguments("{}", null!, "functionName", _ => null)); 336Assert.Throws<ArgumentNullException>("name", () => FunctionCallContent.CreateFromParsedArguments("{}", "callId", null!, _ => null)); 337Assert.Throws<ArgumentNullException>("argumentParser", () => FunctionCallContent.CreateFromParsedArguments("{}", "callId", "functionName", null!));
Microsoft.Extensions.AI.AzureAIInference (1)
AzureAIInferenceChatClient.cs (1)
500FunctionCallContent.CreateFromParsedArguments(json, callId, name,
Microsoft.Extensions.AI.OpenAI (3)
OpenAIChatClient.cs (2)
676FunctionCallContent.CreateFromParsedArguments(json, callId, name, 681FunctionCallContent.CreateFromParsedArguments(ut8Json, callId, name,
OpenAIRealtimeExtensions.cs (1)
119var functionCallContent = FunctionCallContent.CreateFromParsedArguments(