Skip to main content

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

Set up 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

  1. Go to Qdrant Cloud
  2. Sign up with your email or GitHub account
  3. Verify email

2. Create cluster

  1. Click Create Cluster
  2. Choose plan:
    • Free Tier: 1GB storage, 512 vectors limit
    • Paid Tiers: For production use
  3. Select region close to your location
  4. Click Create

3. Get connection details

After cluster creation:
  1. Click cluster name
  2. In Connection section, copy:
    • URL: https://xxxx-yyyy.qdrant.io:6333
    • API Key: Long string for authentication

4. Configure Simili Bot

Add to simili.yaml:
Add GitHub Secret:
  1. Go to repository SettingsSecrets and variablesActions
  2. Create secret QDRANT_API_KEY with your key
  3. Create secret QDRANT_URL with your URL

5. Test connection

Self-hosted

Docker container

Run Qdrant in Docker:
Access at: http://localhost:6333 For remote access, use reverse proxy or expose with caution:

Configuration

Data persistence

Store data outside container:
Data persists even if container is deleted.

Local development

Docker Compose

Create docker-compose.yml:
Start with:
Access at: http://localhost:6333

Configuration

Configuration reference

Connection settings

Collection management

Simili Bot automatically creates collections if needed. Default settings:
  • Vector size: 3072 (matches gemini-embedding-001)
  • Distance metric: Cosine similarity
  • Payload: Issue metadata
Manual creation (if needed):

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_key field
  • Try regenerating key in Qdrant dashboard

Timeout errors

Error: i/o timeout or context deadline exceeded Solutions:
  • Increase timeout value 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_show value
  • Implement issue retention policy

Performance tuning

Optimize search speed

Increase timeout 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:
  1. Go to Qdrant Cloud
  2. View storage usage and metrics
Local via API:
Expected response:

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
Estimate: 10,000 issues ≈ 10-20MB storage Ways to reduce costs:
  • Clean up old closed issues periodically
  • Use smaller vector dimensions (lower accuracy trade-off)
  • Consolidate multiple projects into one collection
  • Implement archival strategy

Next steps

Gemini setup

Configure AI engine

Configuration overview

View all configuration options