forked from Salman1205/MailAssist
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathenv-template.txt
More file actions
42 lines (34 loc) · 1.6 KB
/
env-template.txt
File metadata and controls
42 lines (34 loc) · 1.6 KB
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
39
40
# Copy this content to a new file named .env.local
# Fill in your actual values below
# ============================================
# Gmail OAuth2 Credentials
# Get from: https://console.cloud.google.com/
# ============================================
GMAIL_CLIENT_ID=your_gmail_client_id_here
GMAIL_CLIENT_SECRET=your_gmail_client_secret_here
GMAIL_REDIRECT_URI=http://localhost:3000/api/auth/gmail/callback
# ============================================
# Groq API Key (Required)
# Get from: https://console.groq.com/
# ============================================
GROQ_API_KEY=your_groq_api_key_here
# ============================================
# Embedding configuration
# By default we run MiniLM locally (no API key needed)
# Set EMBEDDING_PROVIDER=openai to use OpenAI instead
# Set EMBEDDING_PROVIDER=huggingface to call HF Inference API
# ============================================
EMBEDDING_PROVIDER=local
EMBEDDING_API_KEY=
# ============================================
# Frontend URL
# ============================================
NEXT_PUBLIC_APP_URL=http://localhost:3000
# ============================================
# Supabase (for realtime + knowledge base)
# ============================================
NEXT_PUBLIC_SUPABASE_URL=https://your-project.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_anon_key_here
# Guardrails table (single row) and knowledge_items must exist in Supabase.
# guardrails columns: id int primary key default 1, tone_style text, rules text, banned_words text[], topic_rules jsonb, updated_at timestamptz
# Enable RLS/policies as needed; admin/manager should have write access.