Condividi tramite


ConfigureOptionsEmbeddingGeneratorBuilderExtensions Class

Definition

Provides extensions for configuring ConfigureOptionsEmbeddingGenerator<TInput,TEmbedding> instances.

public ref class ConfigureOptionsEmbeddingGeneratorBuilderExtensions abstract sealed
public static class ConfigureOptionsEmbeddingGeneratorBuilderExtensions
type ConfigureOptionsEmbeddingGeneratorBuilderExtensions = class
Public Module ConfigureOptionsEmbeddingGeneratorBuilderExtensions
Inheritance
ConfigureOptionsEmbeddingGeneratorBuilderExtensions

Methods

UseEmbeddingGenerationOptions<TInput,TEmbedding>(EmbeddingGeneratorBuilder<TInput, TEmbedding>, Func<EmbeddingGenerationOptions,EmbeddingGenerationOptions>)

Adds a callback that updates or replaces EmbeddingGenerationOptions. This can be used to set default options.

Applies to