Qdrant Configuration
Configure Simili Bot to connect to your Qdrant vector database instance.What is Qdrant?
Qdrant is a vector database optimized for similarity search. Simili Bot uses it to:- Store issue embeddings (semantic vectors)
- Search for similar issues
- Retrieve related discussions quickly
- Scale to thousands of issues
Setup Options
Qdrant Cloud
Managed service - easiest to get started
Self-Hosted
Docker container - full control
Local Development
Docker Compose - local testing
Qdrant Cloud
1. Create Account
- Go to Qdrant Cloud
- Sign up with your email or GitHub account
- Verify email
2. Create Cluster
- Click Create Cluster
- Choose plan:
- Free Tier: 1GB storage, 512 vectors limit
- Paid Tiers: For production use
- Select region close to your location
- Click Create
3. Get Connection Details
After cluster creation:- Click cluster name
- In Connection section, copy:
- URL:
https://xxxx-yyyy.qdrant.io:6333 - API Key: Long string for authentication
- URL:
4. Configure Simili Bot
Add tosimili.yaml:
- Go to repository Settings → Secrets and variables → Actions
- Create secret
QDRANT_API_KEYwith your key - Create secret
QDRANT_URLwith your URL
5. Test Connection
Self-Hosted
Docker Container
Run Qdrant in Docker:http://localhost:6333
For remote access, use reverse proxy or expose with caution:
Configuration
Data Persistence
Store data outside container:Local Development
Docker Compose
Createdocker-compose.yml:
http://localhost:6333
Configuration
Configuration Reference
Connection Settings
| Property | Type | Description | Default | Required |
|---|---|---|---|---|
url | string | Qdrant instance URL with port | - | Yes |
api_key | string | Authentication key | - | Yes |
collection | string | Collection name for vectors | - | Yes |
tls | boolean | Use HTTPS/TLS connection | true | No |
timeout | number | Request timeout (seconds) | 30 | No |
max_retries | number | Retry attempts on failure | 3 | No |
Collection Management
Simili Bot automatically creates collections if needed. Default settings:- Vector size: 768 (matches text-embedding-004)
- Distance metric: Cosine similarity
- Payload: Issue metadata
Common Configurations
Qdrant Cloud Production
Local Development
Staging Cluster
Troubleshooting
Connection Refused
Error:connection refused
Solutions:
- Verify Qdrant is running
- Check URL format (include port 6333)
- For cloud: verify IP whitelist allows your connection
- Check firewall settings
Authentication Failed
Error:api key not found or unauthorized
Solutions:
- Verify API key is correct
- Check key hasn’t been rotated
- Ensure key is passed in
api_keyfield - Try regenerating key in Qdrant dashboard
Timeout Errors
Error:i/o timeout or context deadline exceeded
Solutions:
- Increase
timeoutvalue in configuration - Check network latency to Qdrant
- For cloud clusters, use regional endpoint
- Reduce query complexity
Collection Not Found
Error:collection not found
Solutions:
- Simili Bot creates collection automatically - restart process
- Verify collection name in config matches
- Check you have API permissions to create collections
Out of Storage
Error:collection is read only
Solutions:
- Qdrant Cloud: Upgrade plan to more storage
- Self-hosted: Expand volume or add more storage
- Reduce
max_similar_to_showvalue - Implement issue retention policy
Performance Tuning
Optimize Search Speed
Increasetimeout for large collections:
Reduce Memory Usage
Limit vector dimensions (trade accuracy for memory):Parallel Processing
For bulk indexing, use more workers:Monitoring
Check Health
Cloud Dashboard:- Go to Qdrant Cloud
- View storage usage and metrics
View Collections
Check Point Count
Cost Optimization
Qdrant Cloud Pricing:- Free: 1GB storage
- Paid: Per GB and per month
- Storage: ~1-2KB per issue vector
- Clean up old closed issues periodically
- Use smaller vector dimensions (lower accuracy trade-off)
- Consolidate multiple projects into one collection
- Implement archival strategy