retrieve_utils
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
split_text_to_chunks(
text: str,
max_tokens: int = 4000,
chunk_mode: str = 'multi_lines',
must_break_at_empty_line: bool = True,
overlap: int = 0
) ->
| Name | Description |
|---|---|
text | Type: str |
max_tokens | Type: int Default: 4000 |
chunk_mode | Type: str Default: ‘multi_lines’ |
must_break_at_empty_line | Type: bool Default: True |
overlap | Type: int Default: 0 |