-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
23 lines (18 loc) · 897 Bytes
/
Copy path.env.example
File metadata and controls
23 lines (18 loc) · 897 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copy to .env and fill in real values. .env is git-ignored — never commit it.
# cp .env.example .env
# Google AI Studio → https://aistudio.google.com/apikey
# Used for embeddings (gemini-embedding-001, 3072 dimensions).
GEMINI_API_KEY=your-gemini-api-key-here
# Groq Console → https://console.groq.com/keys
# Used for answer generation (llama-3.1-8b-instant).
GROQ_API_KEY=gsk_your-groq-api-key-here
# Postgres. These three are consumed by docker-compose.yml when you run
# the database locally; keep them in sync with DATABASE_URL below.
POSTGRES_USER=raguser
POSTGRES_PASSWORD=change-me-in-production
POSTGRES_DB=rag_db
# Connection string used by the application (src/db.js).
# Host is `localhost` when running the app on the host against Docker Postgres.
DATABASE_URL=postgresql://raguser:change-me-in-production@localhost:5432/rag_db
# HTTP port for the Express server.
PORT=3000