Parse TXT File
lyzr_parse_txtSplit plain-text files into text chunks to enable efficient processing, retrieval, and analysis.
Instructions
Parse a plain-text file into text chunks.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| s3_key | No | S3 object key, if sourced from S3 | |
| filename | Yes | Original filename, including extension | |
| mime_type | No | MIME type of the file, e.g. 'application/pdf' | |
| s3_bucket | No | S3 bucket name, if sourced from S3 | |
| chunk_size | No | Max characters per chunk (default 1000) | |
| extra_info | No | JSON string of extra metadata (default '{}') | |
| data_parser | No | Parser strategy to use, e.g. 'simple' | |
| chunk_overlap | No | Character overlap between chunks (default 100) | |
| parser_config | No | JSON string of extra parser configuration | |
| file_content_base64 | Yes | Base64-encoded file content to parse |