Type Alias Chunking

type Chunking = {
    keepSeparator: boolean;
    overlap: number;
    separators: string[];
    size: number;
    type: string;
}
Index

Properties

keepSeparator: boolean

Allows to keep or remove separators used

overlap: number

Chunk overlap, should be less than size

separators: string[]

List of separators to chunk by

size: number

Size of chunks

type: string

Chunking strategy