Class EmbeddingBatchTransformation
Batch embedding transformation for ExpandoObject.
Reads TextPropertyName and writes the vector to VectorPropertyName.
Inheritance
EmbeddingBatchTransformation
Implements
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, ILoggableTaskConstructors
EmbeddingBatchTransformation()
Declaration
public EmbeddingBatchTransformation()EmbeddingBatchTransformation(IEmbeddingGenerator<string, Embedding<float>>)
Declaration
public EmbeddingBatchTransformation(IEmbeddingGenerator<string, Embedding<float>> embeddingGenerator)Parameters
| Type | Name | Description |
|---|---|---|
| IEmbeddingGenerator<string, Embedding<float>> | embeddingGenerator |
EmbeddingBatchTransformation(IEmbeddingGenerator<string, Embedding<float>>, int)
Declaration
public EmbeddingBatchTransformation(IEmbeddingGenerator<string, Embedding<float>> embeddingGenerator, int batchSize)Parameters
| Type | Name | Description |
|---|---|---|
| IEmbeddingGenerator<string, Embedding<float>> | embeddingGenerator | |
| int | batchSize |