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
- 🔄 Universal FilterExpr support across all vector databases
455
-
456
442
### Agentic Filtering Compatibility
457
443
458
444
Advanced filter expressions (`FilterExpr`) are **not compatible with agentic filtering**, where agents dynamically construct filters based on conversation context.
459
445
460
446
**For agentic filtering, use dictionary format:**
461
447
462
448
```python
463
-
#✅ Works with agentic filtering (agent decides filters dynamically)
449
+
# Works with agentic filtering (agent decides filters dynamically)
|**Dictionary format**| Agent dynamically chooses filters based on conversation | User mentions "HR policies" → agent adds `{"department": "hr"}`|
475
461
|**Filter expressions**| You need complex, predetermined logic with full control | Always exclude drafts AND filter by multiple regions with OR logic |
476
462
477
-
**Hybrid Approach:**
478
-
479
-
If you need both agentic decision-making and complex filtering:
0 commit comments