Overview
RAXE integrates with LlamaIndex to automatically scan queries, prompts, and responses in your RAG pipelines and agents.Installation
Quick Start
Configuration
Specialized Callbacks
Query Engine Callback
Optimized for RAG pipelines:Agent Callback
Optimized for LlamaIndex agents:Agent Integration
Instrumentation API (v0.10.20+)
For more granular control, use the instrumentation handler:Error Handling
Best Practices
Start with log-only mode
Start with log-only mode
Monitor threats before enabling blocking:
Use specialized callbacks
Use specialized callbacks
Choose the right callback for your use case:
Handle blocking gracefully
Handle blocking gracefully
Always catch
SecurityException:Supported Versions
| LlamaIndex Version | Callback API | Instrumentation API |
|---|---|---|
| 0.10.0 - 0.10.19 | Supported | Not available |
| 0.10.20+ | Supported | Supported |
| 0.11.x | Supported | Recommended |
