Class Chunk<T>
One chunk produced from a source row. The source row itself is not modified.
Inherited Members
Namespace: ETLBox.AI
Assembly: ETLBox.AI.dll
Syntax
public class Chunk<T>Type Parameters
| Name | Description |
|---|---|
| T | Type of the source row. |
Properties
Context
Header breadcrumb or other context preserved by the chunker. Null when the chunker does not set context.
Declaration
public string Context { get; set; }Property Value
| Type | Description |
|---|---|
| string |
Index
Zero-based index of this chunk within the chunks of its source row.
Declaration
public int Index { get; set; }Property Value
| Type | Description |
|---|---|
| int |
Source
The unchanged source row this chunk was created from.
Declaration
public T Source { get; set; }Property Value
| Type | Description |
|---|---|
| T |
Text
The text of this chunk.
Declaration
public string Text { get; set; }Property Value
| Type | Description |
|---|---|
| string |