Guides
Advanced Usage
Advanced features of the DataBridge SDK
Advanced Usage
This guide covers advanced features of the DataBridge Python SDK, including rules for document processing and local caching.
Rules
DataBridge supports rules that can be applied during document ingestion to transform content or extract metadata.
Metadata Extraction Rules
Use MetadataExtractionRule
to automatically extract structured metadata from document content:
Natural Language Rules
Use NaturalLanguageRule
to transform content using natural language instructions:
Caching
DataBridge supports local caching to improve performance for repeated queries.
Creating a Cache
Using a Cache
Using Filters
Filters allow you to narrow down your document search:
Handling Images
DataBridge can process and retrieve images:
Asynchronous Usage
For applications that benefit from asynchronous operations:
Error Handling
Proper error handling for robust applications: