You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
added Unstructured fallback to auto provider. Wire remote::unstructured-api into the auto file processor as an optional fallback. When an unstructured api key is provided by the user in config, the auto provider will route supported file formats to Unstructured before checking for/returning a 422 error. This provides 65+ additional format support (including EML, DOC, MSG) when users opt-in with an API key, while maintaining priority routing to pypdf for pdfs and markitdown for office/image/audio. Tested with .eml file, successfully routes to Unstructured. pypdf and markitdown routing unchanged.
Copy file name to clipboardExpand all lines: docs/docs/providers/file_processors/inline_auto.mdx
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,9 +18,10 @@ Composite file processor that automatically dispatches to the appropriate backen
18
18
|`default_chunk_overlap_tokens`|`int`| No | 400 | Default chunk overlap in tokens when chunking_strategy type is 'auto' |
19
19
|`extract_metadata`|`bool`| No | True | Whether to extract PDF metadata (title, author, etc.) |
20
20
|`clean_text`|`bool`| No | True | Whether to clean extracted text (remove extra whitespace, normalize line breaks) |
21
+
|`unstructured_api_key`|`SecretStr \| None`| No || Optional Unstructured.io API key. If provided, uses Unstructured as fallback for unsupported file types. |
0 commit comments