11 references to AsBuilder
Microsoft.Extensions.AI.AzureAIInference.Tests (1)
AzureAIInferenceEmbeddingGeneratorTests.cs (1)
67
.
AsBuilder
()
Microsoft.Extensions.AI.Integration.Tests (2)
EmbeddingGeneratorIntegrationTests.cs (2)
85
.
AsBuilder
()
115
.
AsBuilder
()
Microsoft.Extensions.AI.Ollama.Tests (1)
OllamaEmbeddingGeneratorTests.cs (1)
33
.
AsBuilder
()
Microsoft.Extensions.AI.OpenAI.Tests (2)
OpenAIEmbeddingGeneratorTests.cs (2)
82
.
AsBuilder
()
105
.
AsBuilder
()
Microsoft.Extensions.AI.Tests (5)
Embeddings\ConfigureOptionsEmbeddingGeneratorTests.cs (2)
24
var builder = innerGenerator.
AsBuilder
();
49
.
AsBuilder
()
Embeddings\EmbeddingGeneratorBuilderTests.cs (3)
39
var builder = expectedInnerGenerator.
AsBuilder
();
61
Assert.Throws<ArgumentNullException>("innerGenerator", () => ((IEmbeddingGenerator<string, Embedding<float>>)null!).
AsBuilder
());
75
var builder = innerGenerator.
AsBuilder
();