|
|
|
|
|
|
|
|
- `"presentation"`: Presentation |
|
|
- `"presentation"`: Presentation |
|
|
- `"picture"`: Picture |
|
|
- `"picture"`: Picture |
|
|
- `"one"`: One |
|
|
- `"one"`: One |
|
|
Ensure your LLM is properly configured on the **Settings** page before selecting this. Please also note that Knowledge Graph consumes a large number of Tokens! |
|
|
|
|
|
- `"email"`: Email |
|
|
- `"email"`: Email |
|
|
|
|
|
|
|
|
- `"parser_config"`: (*Body parameter*), `object` |
|
|
- `"parser_config"`: (*Body parameter*), `object` |
|
|
|
|
|
|
|
|
- `"html4excel"`: Indicates whether to convert Excel documents into HTML format. Defaults to `false`. |
|
|
- `"html4excel"`: Indicates whether to convert Excel documents into HTML format. Defaults to `false`. |
|
|
- `"delimiter"`: Defaults to `"\n"`. |
|
|
- `"delimiter"`: Defaults to `"\n"`. |
|
|
- `"task_page_size"`: Defaults to `12`. For PDF only. |
|
|
- `"task_page_size"`: Defaults to `12`. For PDF only. |
|
|
- `"raptor"`: Raptor-specific settings. Defaults to: `{"use_raptor": false}`. |
|
|
|
|
|
|
|
|
- `"raptor"`: RAPTOR-specific settings. Defaults to: `{"use_raptor": false}`. |
|
|
- If `"chunk_method"` is `"qa"`, `"manuel"`, `"paper"`, `"book"`, `"laws"`, or `"presentation"`, the `"parser_config"` object contains the following attribute: |
|
|
- If `"chunk_method"` is `"qa"`, `"manuel"`, `"paper"`, `"book"`, `"laws"`, or `"presentation"`, the `"parser_config"` object contains the following attribute: |
|
|
- `"raptor"`: Raptor-specific settings. Defaults to: `{"use_raptor": false}`. |
|
|
|
|
|
|
|
|
- `"raptor"`: RAPTOR-specific settings. Defaults to: `{"use_raptor": false}`. |
|
|
- If `"chunk_method"` is `"table"`, `"picture"`, `"one"`, or `"email"`, `"parser_config"` is an empty JSON object. |
|
|
- If `"chunk_method"` is `"table"`, `"picture"`, `"one"`, or `"email"`, `"parser_config"` is an empty JSON object. |
|
|
|
|
|
|
|
|
#### Response |
|
|
#### Response |
|
|
|
|
|
|
|
|
- `"html4excel"`: Indicates whether to convert Excel documents into HTML format. Defaults to `false`. |
|
|
- `"html4excel"`: Indicates whether to convert Excel documents into HTML format. Defaults to `false`. |
|
|
- `"delimiter"`: Defaults to `"\n"`. |
|
|
- `"delimiter"`: Defaults to `"\n"`. |
|
|
- `"task_page_size"`: Defaults to `12`. For PDF only. |
|
|
- `"task_page_size"`: Defaults to `12`. For PDF only. |
|
|
- `"raptor"`: Raptor-specific settings. Defaults to: `{"use_raptor": false}`. |
|
|
|
|
|
|
|
|
- `"raptor"`: RAPTOR-specific settings. Defaults to: `{"use_raptor": false}`. |
|
|
- If `"chunk_method"` is `"qa"`, `"manuel"`, `"paper"`, `"book"`, `"laws"`, or `"presentation"`, the `"parser_config"` object contains the following attribute: |
|
|
- If `"chunk_method"` is `"qa"`, `"manuel"`, `"paper"`, `"book"`, `"laws"`, or `"presentation"`, the `"parser_config"` object contains the following attribute: |
|
|
- `"raptor"`: Raptor-specific settings. Defaults to: `{"use_raptor": false}`. |
|
|
|
|
|
|
|
|
- `"raptor"`: RAPTOR-specific settings. Defaults to: `{"use_raptor": false}`. |
|
|
- If `"chunk_method"` is `"table"`, `"picture"`, `"one"`, or `"email"`, `"parser_config"` is an empty JSON object. |
|
|
- If `"chunk_method"` is `"table"`, `"picture"`, `"one"`, or `"email"`, `"parser_config"` is an empty JSON object. |
|
|
|
|
|
|
|
|
#### Response |
|
|
#### Response |