1 write to ModelId
Microsoft.Extensions.AI.Abstractions (1)
Embeddings\EmbeddingGeneratorMetadata.cs (1)
18ModelId = modelId;
17 references to ModelId
Aspire.Azure.AI.OpenAI.Tests (3)
AspireAzureOpenAIClientBuilderEmbeddingGeneratorExtensionsTests.cs (3)
40Assert.Equal("testdeployment1", generator.Metadata.ModelId); 70Assert.Equal("testdeployment1", generator.Metadata.ModelId); 98Assert.Equal("testdeployment1", generator.Metadata.ModelId);
Aspire.OpenAI.Tests (3)
AspireOpenAIClientBuilderEmbeddingGeneratorExtensionsTests.cs (3)
41Assert.Equal("testdeployment1", generator.Metadata.ModelId); 71Assert.Equal("testdeployment1", generator.Metadata.ModelId); 99Assert.Equal("testdeployment1", generator.Metadata.ModelId);
Microsoft.Extensions.AI (1)
Embeddings\OpenTelemetryEmbeddingGenerator.cs (1)
52_modelId = metadata.ModelId;
Microsoft.Extensions.AI.Abstractions.Tests (2)
Embeddings\EmbeddingGeneratorMetadataTests.cs (2)
17Assert.Null(metadata.ModelId); 28Assert.Equal("theModel", metadata.ModelId);
Microsoft.Extensions.AI.AzureAIInference (1)
AzureAIInferenceEmbeddingGenerator.cs (1)
166Model = options?.ModelId ?? Metadata.ModelId,
Microsoft.Extensions.AI.AzureAIInference.Tests (1)
AzureAIInferenceEmbeddingGeneratorTests.cs (1)
54Assert.Equal(model, embeddingGenerator.Metadata.ModelId);
Microsoft.Extensions.AI.Integration.Tests (2)
EmbeddingGeneratorIntegrationTests.cs (2)
53Assert.Equal(_embeddingGenerator.Metadata.ModelId, embeddings[0].ModelId); 74Assert.Equal(_embeddingGenerator.Metadata.ModelId, embedding.ModelId);
Microsoft.Extensions.AI.Ollama (1)
OllamaEmbeddingGenerator.cs (1)
86string? requestModel = options?.ModelId ?? Metadata.ModelId;
Microsoft.Extensions.AI.Ollama.Tests (1)
OllamaEmbeddingGeneratorTests.cs (1)
55Assert.Equal(model, chatClient.Metadata.ModelId);
Microsoft.Extensions.AI.OpenAI.Tests (2)
OpenAIEmbeddingGeneratorTests.cs (2)
60Assert.Equal(model, embeddingGenerator.Metadata.ModelId); 65Assert.Equal(model, embeddingGenerator.Metadata.ModelId);