Semantic Router
Overview
Installation
pip install gllm-pipeline gllm-inferencepip install semantic-routerQuickstart
Step 1: Set up embeddings
Step 2: Define routes with examples
Step 3: Create the router
Option 1: Native Backend
Option 2: Aurelio Backend with EM Invoker
Option 3: Aurelio Backend with EM Invoker Encoder
Step 4: Route queries
Using Presets
Advanced Configuration
Configuration Options
Similarity Threshold
Route Filtering
Complete Example
Best Practices
Troubleshooting
See Also
Last updated
Was this helpful?