8 implementations of Metadata
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\DelegatingChatClient.cs (1)
51public virtual ChatClientMetadata Metadata => InnerClient.Metadata;
Microsoft.Extensions.AI.Abstractions.Tests (1)
TestChatClient.cs (1)
15public ChatClientMetadata Metadata { get; set; } = new();
Microsoft.Extensions.AI.AzureAIInference (1)
AzureAIInferenceChatClient.cs (1)
65public ChatClientMetadata Metadata { get; }
Microsoft.Extensions.AI.Integration.Tests (1)
test\Libraries\Microsoft.Extensions.AI.Abstractions.Tests\TestChatClient.cs (1)
15public ChatClientMetadata Metadata { get; set; } = new();
Microsoft.Extensions.AI.Ollama (1)
OllamaChatClient.cs (1)
69public ChatClientMetadata Metadata { get; }
Microsoft.Extensions.AI.OpenAI (1)
OpenAIChatClient.cs (1)
92public ChatClientMetadata Metadata { get; }
Microsoft.Extensions.AI.Tests (1)
test\Libraries\Microsoft.Extensions.AI.Abstractions.Tests\TestChatClient.cs (1)
15public ChatClientMetadata Metadata { get; set; } = new();
Microsoft.ML.GenAI.Core (1)
CausalLMPipelineChatClient.cs (1)
35public ChatClientMetadata Metadata { get; }
20 references to Metadata
Aspire.Azure.AI.OpenAI.Tests (3)
AspireAzureOpenAIClientBuilderChatClientExtensionsTests.cs (3)
40Assert.Equal("testdeployment1", client.Metadata.ModelId); 70Assert.Equal("testdeployment1", client.Metadata.ModelId); 98Assert.Equal("testdeployment1", client.Metadata.ModelId);
Aspire.OpenAI.Tests (3)
AspireOpenAIClientBuilderChatClientExtensionsTests.cs (3)
41Assert.Equal("testdeployment1", client.Metadata.ModelId); 71Assert.Equal("testdeployment1", client.Metadata.ModelId); 99Assert.Equal("testdeployment1", client.Metadata.ModelId);
Microsoft.Extensions.AI (1)
ChatCompletion\OpenTelemetryChatClient.cs (1)
58ChatClientMetadata metadata = innerClient!.Metadata;
Microsoft.Extensions.AI.Abstractions (1)
ChatCompletion\DelegatingChatClient.cs (1)
51public virtual ChatClientMetadata Metadata => InnerClient.Metadata;
Microsoft.Extensions.AI.AzureAIInference.Tests (3)
AzureAIInferenceChatClientTests.cs (3)
64Assert.Equal("az.ai.inference", chatClient.Metadata.ProviderName); 65Assert.Equal(endpoint, chatClient.Metadata.ProviderUri); 66Assert.Equal(model, chatClient.Metadata.ModelId);
Microsoft.Extensions.AI.Ollama.Tests (3)
OllamaChatClientTests.cs (3)
74Assert.Equal("ollama", chatClient.Metadata.ProviderName); 75Assert.Equal(endpoint, chatClient.Metadata.ProviderUri); 76Assert.Equal(model, chatClient.Metadata.ModelId);
Microsoft.Extensions.AI.OpenAI.Tests (6)
OpenAIChatClientTests.cs (6)
75Assert.Equal("openai", chatClient.Metadata.ProviderName); 76Assert.Equal(endpoint, chatClient.Metadata.ProviderUri); 77Assert.Equal(model, chatClient.Metadata.ModelId); 80Assert.Equal("openai", chatClient.Metadata.ProviderName); 81Assert.Equal(endpoint, chatClient.Metadata.ProviderUri); 82Assert.Equal(model, chatClient.Metadata.ModelId);