4 references to OllamaEmbeddingGenerator
Microsoft.Extensions.AI.Ollama (1)
OllamaEmbeddingGenerator.cs (1)
32: this(new Uri(Throw.IfNull(endpoint)), modelId, httpClient)
Microsoft.Extensions.AI.Ollama.Tests (3)
OllamaEmbeddingGeneratorIntegrationTests.cs (1)
12new OllamaEmbeddingGenerator(endpoint, "all-minilm") :
OllamaEmbeddingGeneratorTests.cs (2)
21Assert.Throws<ArgumentException>("modelId", () => new OllamaEmbeddingGenerator(new Uri("http://localhost"), " ")); 52using IEmbeddingGenerator<string, Embedding<float>> chatClient = new OllamaEmbeddingGenerator(endpoint, model);