13 references to 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)))