17 references to AIFunctionParameterMetadata
Microsoft.Extensions.AI (1)
Functions\AIFunctionFactory.cs (1)
415return new AIFunctionParameterMetadata(parameter.Name)
Microsoft.Extensions.AI.Abstractions.Tests (15)
Contents\FunctionCallContentTests..cs (6)
259new AIFunctionParameterMetadata("a"), 260new AIFunctionParameterMetadata("b"), 261new AIFunctionParameterMetadata("c"), 262new AIFunctionParameterMetadata("d"), 263new AIFunctionParameterMetadata("e"), 264new AIFunctionParameterMetadata("f"),
Functions\AIFunctionMetadataTests.cs (4)
44Parameters = [new AIFunctionParameterMetadata("param")], 86new AIFunctionParameterMetadata("param0"), 87new AIFunctionParameterMetadata("param1"), 88new AIFunctionParameterMetadata("param2"),
Functions\AIFunctionParameterMetadataTests.cs (5)
15Assert.Throws<ArgumentNullException>("name", () => new AIFunctionParameterMetadata((string)null!)); 16Assert.Throws<ArgumentException>("name", () => new AIFunctionParameterMetadata(" ")); 23AIFunctionParameterMetadata p = new("name"); 35AIFunctionParameterMetadata p1 = new("name") 58AIFunctionParameterMetadata p1 = new("name")
Microsoft.Extensions.AI.Tests (1)
Functions\AIFunctionFactoryTest.cs (1)
158IReadOnlyList<AIFunctionParameterMetadata> parameterMetadata = [new AIFunctionParameterMetadata("a")];