Implement M3.6.1: DocCorpusSource with heading-boundary chunking (196 tests)
ci / markdown (push) Waiting to run
ci / markdown (push) Waiting to run
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
/// Boundary mode - where chunks can be split.
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
||||
pub enum Boundary {
|
||||
/// Never split inside a Record
|
||||
/// Never split inside a Record (sessions)
|
||||
Record,
|
||||
/// Split on markdown ATX headings (documentation)
|
||||
Heading,
|
||||
}
|
||||
|
||||
/// Trigger for flushing a chunk.
|
||||
|
||||
Reference in New Issue
Block a user