File size: 1,110 Bytes
1e8bb26
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Render Blueprint — deploys the Dockerfile as a web service.
# In Render: New + -> Blueprint -> connect this repo. Secrets (sync:false)
# are entered in the dashboard, never committed.
services:
  - type: web
    name: doc-intelligence-rag
    runtime: docker
    plan: free            # 512MB RAM. Bump to "starter" if you hit out-of-memory.
    healthCheckPath: /health
    autoDeploy: true
    envVars:
      - key: QDRANT_URL
        sync: false
      - key: QDRANT_API_KEY
        sync: false
      - key: QDRANT_COLLECTION
        value: documents
      - key: MONGODB_URI
        sync: false
      - key: MONGODB_DB
        value: doc_intelligence_rag
      - key: OPENROUTER_API_KEY
        sync: false
      - key: OPENROUTER_BASE_URL
        value: https://openrouter.ai/api/v1
      - key: OPENROUTER_MODEL
        value: anthropic/claude-sonnet-4.6
      - key: EMBEDDING_MODEL
        value: BAAI/bge-small-en-v1.5
      - key: EMBEDDING_DIM
        value: "384"
      - key: CHUNK_SIZE
        value: "900"
      - key: CHUNK_OVERLAP
        value: "150"
      - key: TOP_K
        value: "5"