16 references to Name
Microsoft.Extensions.AI.Abstractions (4)
Functions\AIFunctionMetadata.cs (1)
88Dictionary<string, AIFunctionParameterMetadata>? parametersByName = _parametersByName ??= _parameters.ToDictionary(p => p.Name);
Functions\AIFunctionParameterMetadata.cs (2)
31_ = Throw.IfNullOrWhitespace(metadata.Name); 33_name = metadata.Name;
Utilities\AIJsonUtilities.Schema.cs (1)
78parameterMetadata.Name,
Microsoft.Extensions.AI.Abstractions.Tests (3)
Functions\AIFunctionParameterMetadataTests.cs (3)
24Assert.Equal("name", p.Name); 47Assert.Equal(p1.Name, p2.Name);
Microsoft.Extensions.AI.AzureAIInference (2)
AzureAIInferenceChatClient.cs (2)
387parameter.Name, 392tool.Required.Add(parameter.Name);
Microsoft.Extensions.AI.Integration.Tests (1)
PromptBasedFunctionCallingChatClient.cs (1)
185p => p.Name,
Microsoft.Extensions.AI.Ollama (2)
OllamaChatClient.cs (2)
444p => p.Name, 446Required = function.Metadata.Parameters.Where(p => p.IsRequired).Select(p => p.Name).ToList(),
Microsoft.Extensions.AI.OpenAI (4)
OpenAIChatClient.cs (2)
507tool.Properties.Add(parameter.Name, parameter.Schema is JsonElement e ? e : _defaultParameterSchema); 511tool.Required.Add(parameter.Name);
OpenAIRealtimeExtensions.cs (2)
36.ToDictionary(p => p.Name, GetParameterSchema), 39.Select(p => p.Name),