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