3 instantiations of ConfigureOptionsEmbeddingGenerator
Microsoft.Extensions.AI (1)
Embeddings\ConfigureOptionsEmbeddingGeneratorBuilderExtensions.cs (1)
39return builder.Use(innerGenerator => new ConfigureOptionsEmbeddingGenerator<TInput, TEmbedding>(innerGenerator, configure));
Microsoft.Extensions.AI.Tests (2)
Embeddings\ConfigureOptionsEmbeddingGeneratorTests.cs (2)
16Assert.Throws<ArgumentNullException>("innerGenerator", () => new ConfigureOptionsEmbeddingGenerator<string, Embedding<float>>(null!, _ => { })); 17Assert.Throws<ArgumentNullException>("configure", () => new ConfigureOptionsEmbeddingGenerator<string, Embedding<float>>(new TestEmbeddingGenerator(), null!));
2 references to ConfigureOptionsEmbeddingGenerator
Microsoft.Extensions.AI (2)
Embeddings\ConfigureOptionsEmbeddingGenerator.cs (1)
22/// Initializes a new instance of the <see cref="ConfigureOptionsEmbeddingGenerator{TInput, TEmbedding}"/> class with the
Embeddings\ConfigureOptionsEmbeddingGeneratorBuilderExtensions.cs (1)
11/// <summary>Provides extensions for configuring <see cref="ConfigureOptionsEmbeddingGenerator{TInput, TEmbedding}"/> instances.</summary>