-
Notifications
You must be signed in to change notification settings - Fork 106
Expand file tree
/
Copy path.env.example
More file actions
75 lines (62 loc) · 3.02 KB
/
.env.example
File metadata and controls
75 lines (62 loc) · 3.02 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
# Alex Financial Planner - Environment Variables
# Copy this file to .env and fill in your actual values
# ============================================================
# PART 1: Initial Setup
# ============================================================
# Your AWS Account ID (get with: aws sts get-caller-identity --query Account --output text)
AWS_ACCOUNT_ID=123456789012
# Your default AWS region for most infrastructure (e.g., us-east-1, us-west-2, eu-west-1)
DEFAULT_AWS_REGION=us-east-1
# ============================================================
# PART 2: SageMaker Endpoint
# ============================================================
# After deploying Part 2, add the endpoint name
SAGEMAKER_ENDPOINT=alex-embedding-endpoint
# ============================================================
# PART 3: Ingestion Pipeline
# ============================================================
# After deploying Part 3, add these values
VECTOR_BUCKET=alex-vectors-123456789012
ALEX_API_ENDPOINT=https://xxxxxxxxxx.execute-api.us-east-1.amazonaws.com/prod/ingest
ALEX_API_KEY=your-api-key-here
# ============================================================
# PART 4: Researcher Agent
# ============================================================
# Your OpenAI API key for the researcher agent
OPENAI_API_KEY=sk-...
# ============================================================
# PART 5: Database
# ============================================================
# After deploying Part 5, add these values
AURORA_CLUSTER_ARN=arn:aws:rds:us-east-1:123456789012:cluster:alex-aurora-cluster
AURORA_SECRET_ARN=arn:aws:secretsmanager:us-east-1:123456789012:secret:alex-aurora-credentials-xxxxx
# ============================================================
# PART 6: Agents
# ============================================================
# Bedrock model configuration
BEDROCK_MODEL_ID=us.amazon.nova-pro-v1:0
# Bedrock region (us-west-2 has the most models available)
BEDROCK_REGION=us-west-2
# Polygon.io API for real-time stock prices (sign up free at polygon.io) - change free to paid if you're using paid plan
POLYGON_API_KEY=your_polygon_api_key_here
POLYGON_PLAN=free
# ============================================================
# PART 7: Frontend & API
# ============================================================
# The API uses database configuration from Part 5 above (AURORA_CLUSTER_ARN, AURORA_SECRET_ARN)
# Optional: specify database name (defaults to "alex" if not set)
AURORA_DATABASE=alex
# Clerk configuration for JWT validation
CLERK_JWKS_URL=https://your-instance.clerk.accounts.dev/.well-known/jwks.json
CLERK_ISSUER=https://your-instance.clerk.accounts.dev
# SQS configuration (will be set by Terraform in deployment)
SQS_QUEUE_URL=
# Frontend URL for CORS
FRONTEND_URL=http://localhost:3000
CLOUDFRONT_URL=
# ============================================================
# PART 8: Observability (to be added)
# ============================================================
# LANGFUSE_PUBLIC_KEY=...
# LANGFUSE_SECRET_KEY=...
# LANGFUSE_HOST=https://cloud.langfuse.com