Module: helpers/utils/split-documents
Table of contents
Functions
Functions
splitDocument
▸ splitDocument(type, text, config): Promise<string[]>
Parameters
| Name | Type |
|---|---|
type | string |
text | string |
config | Partial<RecursiveCharacterTextSplitterParams> |
Returns
Promise<string[]>
Defined in
src/electron/helpers/utils/split-documents.ts:4 (opens in a new tab)