Class EmbeddingBatchTransformation

Batch embedding transformation for ExpandoObject. Reads TextPropertyName and writes the vector to VectorPropertyName.

Inherited Members
Namespace: ETLBox.AI
Assembly: ETLBox.AI.dll
Syntax
    public class EmbeddingBatchTransformation : EmbeddingBatchTransformation<ExpandoObject>, IDataFlowTransformation<ExpandoObject, ExpandoObject>, IDataFlowSource<ExpandoObject>, IDataFlowSource, IDataFlowDestination<ExpandoObject>, IDataFlowDestination, IDataFlowComponent, ILoggableTask

Constructors

EmbeddingBatchTransformation()

Declaration
    public EmbeddingBatchTransformation()

EmbeddingBatchTransformation(IEmbeddingGenerator<string, Embedding<float>>)

Declaration
    public EmbeddingBatchTransformation(IEmbeddingGenerator<string, Embedding<float>> embeddingGenerator)
Parameters
TypeNameDescription
IEmbeddingGenerator<string, Embedding<float>>embeddingGenerator

EmbeddingBatchTransformation(IEmbeddingGenerator<string, Embedding<float>>, int)

Declaration
    public EmbeddingBatchTransformation(IEmbeddingGenerator<string, Embedding<float>> embeddingGenerator, int batchSize)
Parameters
TypeNameDescription
IEmbeddingGenerator<string, Embedding<float>>embeddingGenerator
intbatchSize

Implements