-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathenv.example
More file actions
53 lines (41 loc) · 1.82 KB
/
Copy pathenv.example
File metadata and controls
53 lines (41 loc) · 1.82 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
41
42
43
44
45
46
47
48
49
50
51
52
53
# OpenSAM AI - Environment Configuration
# Copy this file to .env.local and fill in your API keys
# SAM.gov API Key (Required for search functionality)
# Get your API key from: https://api.sam.gov/
NEXT_PUBLIC_SAM_API_KEY=your_sam_api_key_here
# OpenAI API Key (Required for AI chat and semantic search)
# Get your API key from: https://platform.openai.com/api-keys
NEXT_PUBLIC_OPENAI_API_KEY=sk-your_openai_api_key_here
# Anthropic API Key (Alternative to OpenAI)
# Get your API key from: https://console.anthropic.com/
NEXT_PUBLIC_ANTHROPIC_API_KEY=sk-ant-your_anthropic_api_key_here
# Hugging Face API Key (Alternative to OpenAI)
# Get your API key from: https://huggingface.co/settings/tokens
NEXT_PUBLIC_HUGGINGFACE_API_KEY=hf_your_huggingface_api_key_here
# Optional: Server-side API keys (for enhanced security)
# These are used on the server side and don't need NEXT_PUBLIC_ prefix
OPENAI_API_KEY=sk-your_openai_api_key_here
ANTHROPIC_API_KEY=sk-ant-your_anthropic_api_key_here
HUGGINGFACE_API_KEY=hf_your_huggingface_api_key_here
# Cache Configuration
# Cache Provider: 'redis' (local) or 'upstash' (production)
CACHE_PROVIDER=redis
# For Local Redis
REDIS_URL=redis://localhost:6379
REDIS_PASSWORD=your_redis_password_here
REDIS_DB=0
# For Upstash Redis (Production)
CACHE_URL=https://your-instance.upstash.io
CACHE_PASSWORD=your_upstash_token_here
# Supabase Configuration
SUPA_BASE_PROJECT_URL=https://yjsjxiptdoextcadozdz.supabase.co
SUPA_BASE_API_KEY=your_supabase_api_key_here
# Vector Store Configuration
# Vector Store Provider: 'chroma' (local) or 'pinecone' (production)
VECTOR_STORE_PROVIDER=chroma
# For Local ChromaDB
VECTOR_STORE_URL=http://localhost:8000
# For Pinecone (Production)
VECTOR_STORE_API_KEY=your_pinecone_api_key_here
VECTOR_STORE_ENVIRONMENT=us-east-1-aws
VECTOR_STORE_PROJECT_ID=your_pinecone_project_id_here