Condividi tramite


DistributedCachingEmbeddingGeneratorBuilderExtensions Class

Definition

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

Methods

UseDistributedCache<TInput,TEmbedding>(EmbeddingGeneratorBuilder<TInput, TEmbedding>, IDistributedCache, Action<DistributedCachingEmbeddingGenerator<TInput, TEmbedding>>)

Adds a DistributedCachingEmbeddingGenerator<TInput,TEmbedding> as the next stage in the pipeline.

Applies to