13 instantiations of ChatClientMetadata
Microsoft.Extensions.AI.Abstractions.Tests (3)
ChatCompletion\ChatClientMetadataTests.cs (2)
14ChatClientMetadata metadata = new(null, null, null); 24ChatClientMetadata metadata = new("providerName", uri, "theModel");
TestChatClient.cs (1)
15public ChatClientMetadata Metadata { get; set; } = new();
Microsoft.Extensions.AI.AzureAIInference (1)
AzureAIInferenceChatClient.cs (1)
54Metadata = new("az.ai.inference", providerUrl, modelId);
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)
65Metadata = new("ollama", endpoint, modelId);
Microsoft.Extensions.AI.OpenAI (2)
OpenAIChatClient.cs (2)
61Metadata = new("openai", providerUrl, modelId); 81Metadata = new("openai", providerUrl, model);
Microsoft.Extensions.AI.Tests (2)
ChatCompletion\OpenTelemetryChatClientTests.cs (1)
38Metadata = new("testservice", new Uri("http://localhost:12345/something"), "amazingmodel"),
test\Libraries\Microsoft.Extensions.AI.Abstractions.Tests\TestChatClient.cs (1)
15public ChatClientMetadata Metadata { get; set; } = new();
Microsoft.ML.GenAI.Core (1)
CausalLMPipelineChatClient.cs (1)
30Metadata ??= new ChatClientMetadata(providerName: classNameWithType, modelId: typeof(TCausalLMModel).Name);
Microsoft.ML.GenAI.LLaMA (1)
Llama3CausalLMChatClient.cs (1)
23metadata ?? new ChatClientMetadata(modelId: nameof(Llama3CausalLMChatClient)))
Microsoft.ML.GenAI.Phi (1)
Phi3\Phi3CausalLMChatClient.cs (1)
28metadata ?? new ChatClientMetadata(modelId: nameof(Phi3CausalLMChatClient)))
17 references to ChatClientMetadata
Microsoft.Extensions.AI (1)
ChatCompletion\OpenTelemetryChatClient.cs (1)
58ChatClientMetadata metadata = innerClient!.Metadata;
Microsoft.Extensions.AI.Abstractions (4)
ChatCompletion\ChatClientMetadata.cs (1)
11/// <summary>Initializes a new instance of the <see cref="ChatClientMetadata"/> class.</summary>
ChatCompletion\DelegatingChatClient.cs (1)
51public virtual ChatClientMetadata Metadata => InnerClient.Metadata;
ChatCompletion\IChatClient.cs (1)
57ChatClientMetadata Metadata { get; }
Utilities\AIJsonUtilities.Defaults.cs (1)
56[JsonSerializable(typeof(ChatClientMetadata))]
Microsoft.Extensions.AI.Abstractions.Tests (3)
ChatCompletion\ChatClientMetadataTests.cs (2)
14ChatClientMetadata metadata = new(null, null, null); 24ChatClientMetadata metadata = new("providerName", uri, "theModel");
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 (2)
CausalLMPipelineChatClient.cs (2)
27ChatClientMetadata? metadata = null) 35public ChatClientMetadata Metadata { get; }
Microsoft.ML.GenAI.LLaMA (1)
Llama3CausalLMChatClient.cs (1)
19ChatClientMetadata? metadata = null)
Microsoft.ML.GenAI.Phi (1)
Phi3\Phi3CausalLMChatClient.cs (1)
24ChatClientMetadata? metadata = null)