chunk.MarkdownChunk
A chunk extracted from a Markdown document.
Usage
chunk.MarkdownChunk(
text,
start_index,
end_index,
char_count,
context=None,
origin=None,
attributes=None
)MarkdownChunk extends Chunk for use with Markdown content. It typically preserves heading context from the source document, allowing retrieval results to show where in the document hierarchy each chunk originated.
Parameter Attributes
text: strstart_index: intend_index: intchar_count: intcontext: Optional[str] = Noneorigin: Optional[str] = Noneattributes: Optional[dict[str, Any]] = None