Class ChunkDocumentAttribute

Marks the Microsoft.Extensions.DataIngestion.IngestionDocument property that ChunkTransformation<TInput> reads when no DocumentSelector is set.

Inheritance
ChunkDocumentAttribute
Inherited Members
Namespace: ETLBox.AI
Assembly: ETLBox.AI.dll
Syntax
    [AttributeUsage(AttributeTargets.Property)]
public sealed class ChunkDocumentAttribute : Attribute
Examples
public class Article {
    public string Source { get; set; }
    [ChunkDocument]
    public IngestionDocument Document { get; set; }
}

Properties

PropertyName

Name of the property that holds the attribute. Set automatically.

Declaration
    public string PropertyName { get; set; }
Property Value
TypeDescription
string