7 instantiations of EmbeddingGeneratorMetadata
Microsoft.Extensions.AI.Abstractions.Tests (3)
Embeddings\EmbeddingGeneratorMetadataTests.cs (2)
14EmbeddingGeneratorMetadata metadata = new(null, null, null, null); 25EmbeddingGeneratorMetadata metadata = new("providerName", uri, "theModel", 42);
TestEmbeddingGenerator.cs (1)
13public EmbeddingGeneratorMetadata Metadata { get; } = new();
Microsoft.Extensions.AI.AzureAIInference (1)
AzureAIInferenceEmbeddingGenerator.cs (1)
66Metadata = new("az.ai.inference", providerUrl, modelId, dimensions);
Microsoft.Extensions.AI.Ollama (1)
OllamaEmbeddingGenerator.cs (1)
53Metadata = new("ollama", endpoint, modelId);
Microsoft.Extensions.AI.OpenAI (1)
OpenAIEmbeddingGenerator.cs (1)
93new(providerName, Uri.TryCreate(providerUrl, UriKind.Absolute, out Uri? providerUri) ? providerUri : null, model, dimensions);
Microsoft.Extensions.AI.Tests (1)
test\Libraries\Microsoft.Extensions.AI.Abstractions.Tests\TestEmbeddingGenerator.cs (1)
13public EmbeddingGeneratorMetadata Metadata { get; } = new();
15 references to EmbeddingGeneratorMetadata
Microsoft.Extensions.AI (1)
Embeddings\OpenTelemetryEmbeddingGenerator.cs (1)
51EmbeddingGeneratorMetadata metadata = innerGenerator!.Metadata;
Microsoft.Extensions.AI.Abstractions (4)
Embeddings\DelegatingEmbeddingGenerator.cs (1)
54public virtual EmbeddingGeneratorMetadata Metadata =>
Embeddings\EmbeddingGeneratorMetadata.cs (1)
11/// <summary>Initializes a new instance of the <see cref="EmbeddingGeneratorMetadata"/> class.</summary>
Embeddings\IEmbeddingGenerator.cs (1)
41EmbeddingGeneratorMetadata Metadata { get; }
Utilities\AIJsonUtilities.Defaults.cs (1)
57[JsonSerializable(typeof(EmbeddingGeneratorMetadata))]
Microsoft.Extensions.AI.Abstractions.Tests (3)
Embeddings\EmbeddingGeneratorMetadataTests.cs (2)
14EmbeddingGeneratorMetadata metadata = new(null, null, null, null); 25EmbeddingGeneratorMetadata metadata = new("providerName", uri, "theModel", 42);
TestEmbeddingGenerator.cs (1)
13public EmbeddingGeneratorMetadata Metadata { get; } = new();
Microsoft.Extensions.AI.AzureAIInference (1)
AzureAIInferenceEmbeddingGenerator.cs (1)
70public EmbeddingGeneratorMetadata Metadata { get; }
Microsoft.Extensions.AI.Integration.Tests (1)
QuantizationEmbeddingGenerator.cs (1)
28public EmbeddingGeneratorMetadata Metadata => _floatService.Metadata;
Microsoft.Extensions.AI.Ollama (1)
OllamaEmbeddingGenerator.cs (1)
57public EmbeddingGeneratorMetadata Metadata { get; }
Microsoft.Extensions.AI.OpenAI (3)
OpenAIEmbeddingGenerator.cs (3)
91/// <summary>Creates the <see cref="EmbeddingGeneratorMetadata"/> for this instance.</summary> 92private static EmbeddingGeneratorMetadata CreateMetadata(string providerName, string providerUrl, string? model, int? dimensions) => 96public EmbeddingGeneratorMetadata Metadata { get; }
Microsoft.Extensions.AI.Tests (1)
test\Libraries\Microsoft.Extensions.AI.Abstractions.Tests\TestEmbeddingGenerator.cs (1)
13public EmbeddingGeneratorMetadata Metadata { get; } = new();