3 overrides of Metadata
Microsoft.Extensions.AI (1)
Microsoft.Extensions.AI.Abstractions.Tests (2)
58 references to Metadata
Microsoft.Extensions.AI (14)
Microsoft.Extensions.AI.Abstractions (5)
Microsoft.Extensions.AI.Abstractions.Tests (2)
Microsoft.Extensions.AI.AzureAIInference (3)
Microsoft.Extensions.AI.Integration.Tests (4)
Microsoft.Extensions.AI.Ollama (4)
Microsoft.Extensions.AI.OpenAI (9)
Microsoft.Extensions.AI.Tests (17)
Functions\AIFunctionFactoryTest.cs (15)
136Assert.Contains("Metadata_DerivedFromLambda", func.Metadata.Name);
137Assert.Empty(func.Metadata.Description);
138Assert.Empty(func.Metadata.Parameters);
139Assert.Equal(typeof(string), func.Metadata.ReturnParameter.ParameterType);
142Assert.Contains("Metadata_DerivedFromLambda", func.Metadata.Name);
143Assert.Empty(func.Metadata.Description);
144Assert.Single(func.Metadata.Parameters);
148Assert.Contains("Metadata_DerivedFromLambda", func.Metadata.Name);
149Assert.Equal("This is a test function", func.Metadata.Description);
150Assert.Collection(func.Metadata.Parameters,
179Assert.Equal("test name", func.Metadata.Name);
180Assert.Equal("test description", func.Metadata.Description);
181Assert.Equal(parameterMetadata, func.Metadata.Parameters);
182Assert.Equal(returnParameterMetadata, func.Metadata.ReturnParameter);
183Assert.Equal(metadata, func.Metadata.AdditionalProperties);