3 references to OllamaEmbeddingGenerator
Microsoft.Extensions.AI.Ollama.Tests (3)
OllamaEmbeddingGeneratorTests.cs (3)
20Assert.Throws<ArgumentNullException>("endpoint", () => new OllamaEmbeddingGenerator((string)null!)); 27using OllamaEmbeddingGenerator generator = new("http://localhost"); 80using IEmbeddingGenerator<string, Embedding<float>> generator = new OllamaEmbeddingGenerator("http://localhost:11434", "all-minilm", httpClient);