5 writes to RawRepresentationFactory
Microsoft.Extensions.AI.Abstractions (1)
Embeddings\EmbeddingGenerationOptions.cs (1)
29RawRepresentationFactory = other.RawRepresentationFactory;
Microsoft.Extensions.AI.Abstractions.Tests (1)
Embeddings\EmbeddingGenerationOptionsTests.cs (1)
49options.RawRepresentationFactory = rawRepresentationFactory;
Microsoft.Extensions.AI.AzureAIInference.Tests (2)
AzureAIInferenceEmbeddingGeneratorTests.cs (1)
170RawRepresentationFactory = (e) => new EmbeddingsOptions(input: [])
AzureAIInferenceImageEmbeddingGeneratorTests.cs (1)
177RawRepresentationFactory = (e) => new ImageEmbeddingsOptions(input: [])
Microsoft.Extensions.AI.OpenAI.Tests (1)
OpenAIEmbeddingGeneratorTests.cs (1)
196RawRepresentationFactory = (e) => new OpenAI.Embeddings.EmbeddingGenerationOptions
6 references to RawRepresentationFactory
Microsoft.Extensions.AI.Abstractions (1)
Embeddings\EmbeddingGenerationOptions.cs (1)
29RawRepresentationFactory = other.RawRepresentationFactory;
Microsoft.Extensions.AI.Abstractions.Tests (2)
Embeddings\EmbeddingGenerationOptionsTests.cs (2)
54Assert.Same(rawRepresentationFactory, options.RawRepresentationFactory); 60Assert.Same(rawRepresentationFactory, clone.RawRepresentationFactory);
Microsoft.Extensions.AI.AzureAIInference (2)
AzureAIInferenceEmbeddingGenerator.cs (1)
167if (options?.RawRepresentationFactory?.Invoke(this) is not EmbeddingsOptions result)
AzureAIInferenceImageEmbeddingGenerator.cs (1)
121if (options?.RawRepresentationFactory?.Invoke(this) is not ImageEmbeddingsOptions result)
Microsoft.Extensions.AI.OpenAI (1)
OpenAIEmbeddingGenerator.cs (1)
108if (options?.RawRepresentationFactory?.Invoke(this) is not OpenAI.Embeddings.EmbeddingGenerationOptions result)