3 writes to 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)
207RawRepresentationFactory = (e) => new OpenAI.Embeddings.EmbeddingGenerationOptions
3 references to RawRepresentationFactory
Microsoft.Extensions.AI.AzureAIInference (2)
AzureAIInferenceEmbeddingGenerator.cs (1)
169if (options?.RawRepresentationFactory?.Invoke(this) is not EmbeddingsOptions result)
AzureAIInferenceImageEmbeddingGenerator.cs (1)
123if (options?.RawRepresentationFactory?.Invoke(this) is not ImageEmbeddingsOptions result)
Microsoft.Extensions.AI.OpenAI (1)
OpenAIEmbeddingGenerator.cs (1)
112if (options?.RawRepresentationFactory?.Invoke(this) is not OpenAI.Embeddings.EmbeddingGenerationOptions result)