2 writes to EmbeddingGenerationDispatcher
Microsoft.Extensions.VectorData.Abstractions (2)
ProviderServices\CollectionModelBuilder.cs (2)
446
vectorProperty.
EmbeddingGenerationDispatcher
= ResolveSearchOnlyEmbeddingHandler(vectorProperty, embeddingGenerator);
457
vectorProperty.
EmbeddingGenerationDispatcher
= handler;
7 references to EmbeddingGenerationDispatcher
Microsoft.Extensions.VectorData.Abstractions (7)
ProviderServices\VectorPropertyModel.cs (7)
81
/// Gets or sets the <see cref="
EmbeddingGenerationDispatcher
"/> that was resolved for this property during model building.
130
/// Generates embeddings for the given <paramref name="values"/>, using the configured <see cref="
EmbeddingGenerationDispatcher
"/>.
133
/// <exception cref="InvalidOperationException">Thrown if no <see cref="
EmbeddingGenerationDispatcher
"/> is configured on this property.</exception>
135
=>
EmbeddingGenerationDispatcher
is not { } dispatcher
140
/// Generates a single embedding for the given <paramref name="value"/>, using the configured <see cref="
EmbeddingGenerationDispatcher
"/>.
143
/// <exception cref="InvalidOperationException">Thrown if no <see cref="
EmbeddingGenerationDispatcher
"/> is configured on this property.</exception>
145
=>
EmbeddingGenerationDispatcher
is not { } dispatcher