post https://api.intelligence.io.solutions/api/r2r/v3/documents
Creates a new Document object from an input file, text content, or chunks.
The chosen ingestion_mode
determines how the ingestion process is configured:
Ingestion Modes:
hi-res
: Comprehensive parsing and enrichment, including summaries and possibly more thorough parsing.fast
: Speed-focused ingestion that skips certain enrichment steps like summaries.custom
: Provide a fullingestion_config
to customize the entire ingestion process.
Either a file or text content must be provided, but not both. Documents are shared through Collections
which allow for tightly specified cross-user interactions.
The ingestion process runs asynchronously and its progress can be tracked using the returned task_id.