How It Works
- Create a retriever that defines your search criteria (e.g., semantic similarity, attribute filters)
- Create an alert referencing that retriever, with notification channels configured
- Attach the alert to a collection via
alert_applicationswith input mappings - Ingest documents — alerts execute automatically during post-processing (Phase 3)
- Receive notifications when matches are found
Architecture
Alerts execute during the post-processing pipeline after document ingestion completes:Parallel Execution
Within a single alert, document-level retriever calls execute in parallel as independent Ray tasks. If a batch ingests 100 documents, all 100 retriever calls fan out simultaneously rather than running sequentially. Results are aggregated after all calls complete, and a single notification is sent if any document produced matches. Multiple alerts on the same collection execute sequentially to avoid race conditions in notification delivery.Configuration
Create an Alert
Attach to a Collection
Attach alerts to collections viaalert_applications when creating or updating a collection:

