Class EmbeddingText
Marks the string property that contains the text sent to the embedding generator.
Used as default TextSelector by EmbeddingTransformation<TInput>
and EmbeddingBatchTransformation<TInput>.
Inherited Members
Namespace: ETLBox.AI
Assembly: ETLBox.AI.dll
Syntax
[AttributeUsage(AttributeTargets.Property)]
public sealed class EmbeddingText : AttributeExamples
public class TextRow {
[EmbeddingText]
public string Text { get; set; }
[EmbeddingVector]
public float[] Embedding { get; set; }
}Properties
PropertyName
Name of the property that holds the attribute. Set automatically.
Declaration
public string PropertyName { get; set; }Property Value
| Type | Description |
|---|---|
| string |