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