1 write to RequiredFunctionName
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\RequiredChatToolMode.cs (1)
40
RequiredFunctionName
= requiredFunctionName;
8 references to RequiredFunctionName
Microsoft.Extensions.AI.Abstractions (4)
ChatCompletion\RequiredChatToolMode.cs (4)
51
private string DebuggerDisplay => $"Required: {
RequiredFunctionName
?? "Any"}";
56
RequiredFunctionName
== other.
RequiredFunctionName
;
60
RequiredFunctionName
?.GetHashCode(StringComparison.Ordinal) ??
Microsoft.Extensions.AI.AzureAIInference (2)
AzureAIInferenceChatClient.cs (2)
354
result.ToolChoice = required.
RequiredFunctionName
is null ?
356
new ChatCompletionsToolChoice(new FunctionDefinition(required.
RequiredFunctionName
));
Microsoft.Extensions.AI.OpenAI (2)
OpenAIChatClient.cs (2)
468
result.ToolChoice = required.
RequiredFunctionName
is null ?
470
ChatToolChoice.CreateFunctionChoice(required.
RequiredFunctionName
);