- Sync
- Async
Parameters
content(str): Text content to ingestfilename(str, optional): Optional filename for the documentmetadata(Dict[str, Any], optional): Optional metadata dictionaryuse_colpali(bool, optional): Whether to use ColPali-style embedding model to ingest the text (slower, but significantly better retrieval accuracy for text and images). Defaults to True.
Typed Metadata
Pass native Python types for metadata (e.g.,datetime, date, Decimal, bool). The SDK normalizes them, forwards the appropriate metadata_types, and unlocks range queries described in the Metadata Filtering guide. Example:
Returns
Document: Metadata of the ingested document
Examples
- Sync
- Async

