1 write to ProviderUri
Microsoft.Extensions.AI.Abstractions (1)
Embeddings\EmbeddingGeneratorMetadata.cs (1)
20ProviderUri = providerUri;
9 references to ProviderUri
Microsoft.Extensions.AI (2)
Embeddings\OpenTelemetryEmbeddingGenerator.cs (2)
54_endpointAddress = metadata.ProviderUri?.GetLeftPart(UriPartial.Path); 55_endpointPort = metadata.ProviderUri?.Port ?? 0;
Microsoft.Extensions.AI.Abstractions.Tests (2)
Embeddings\EmbeddingGeneratorMetadataTests.cs (2)
16Assert.Null(metadata.ProviderUri); 27Assert.Same(uri, metadata.ProviderUri);
Microsoft.Extensions.AI.AzureAIInference.Tests (1)
AzureAIInferenceEmbeddingGeneratorTests.cs (1)
53Assert.Equal(endpoint, embeddingGenerator.Metadata.ProviderUri);
Microsoft.Extensions.AI.Integration.Tests (1)
EmbeddingGeneratorIntegrationTests.cs (1)
125Assert.Equal(embeddingGenerator.Metadata.ProviderUri?.Port, (int)activity.GetTagItem("server.port")!);
Microsoft.Extensions.AI.Ollama.Tests (1)
OllamaEmbeddingGeneratorTests.cs (1)
54Assert.Equal(endpoint, chatClient.Metadata.ProviderUri);
Microsoft.Extensions.AI.OpenAI.Tests (2)
OpenAIEmbeddingGeneratorTests.cs (2)
59Assert.Equal(endpoint, embeddingGenerator.Metadata.ProviderUri); 64Assert.Equal(endpoint, embeddingGenerator.Metadata.ProviderUri);