7 references to new
Microsoft.Extensions.AI.Abstractions.Tests (3)
Embeddings\EmbeddingGeneratorMetadataTests.cs (2)
14
EmbeddingGeneratorMetadata metadata =
new
(null, null, null, null);
25
EmbeddingGeneratorMetadata metadata =
new
("providerName", uri, "theModel", 42);
TestEmbeddingGenerator.cs (1)
13
public EmbeddingGeneratorMetadata Metadata { get; } =
new
();
Microsoft.Extensions.AI.AzureAIInference (1)
AzureAIInferenceEmbeddingGenerator.cs (1)
66
Metadata =
new
("az.ai.inference", providerUrl, modelId, dimensions);
Microsoft.Extensions.AI.Ollama (1)
OllamaEmbeddingGenerator.cs (1)
53
Metadata =
new
("ollama", endpoint, modelId);
Microsoft.Extensions.AI.OpenAI (1)
OpenAIEmbeddingGenerator.cs (1)
93
new
(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)
13
public EmbeddingGeneratorMetadata Metadata { get; } =
new
();