Skip to content

Commit 9256fe3

Browse files
author
Ajeet Tewari
committed
Initial commit
0 parents  commit 9256fe3

File tree

164 files changed

+51314
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

164 files changed

+51314
-0
lines changed

.env.example

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# AWS Configuration
2+
AWS_DEFAULT_REGION=us-west-2
3+
4+
# AWS Bedrock Configuration
5+
BEDROCK_MODEL_ID=anthropic.claude-3-sonnet-20240229-v1:0
6+
BEDROCK_TEMPERATURE=0.7
7+
BEDROCK_MAX_TOKENS=1000
8+
9+
# Service URLs (for supervisor agent)
10+
ORDER_AGENT_URL=http://order-management-agent:8000
11+
PRODUCT_AGENT_URL=http://product-recommendation-agent:8000
12+
TROUBLESHOOTING_AGENT_URL=http://troubleshooting-agent:8000
13+
PERSONALIZATION_AGENT_URL=http://personalization-agent:8000
14+
15+
# Database Configuration
16+
# Order Management Database
17+
ORDER_DB_HOST=localhost
18+
ORDER_DB_PORT=5432
19+
ORDER_DB_NAME=order_management
20+
ORDER_DB_USER=postgres
21+
ORDER_DB_PASSWORD=password
22+
23+
# Product Recommendation Database
24+
PRODUCT_DB_HOST=localhost
25+
PRODUCT_DB_PORT=5432
26+
PRODUCT_DB_NAME=prod_rec
27+
PRODUCT_DB_USER=postgres
28+
PRODUCT_DB_PASSWORD=password
29+
30+
# Personalization Database
31+
PERSONALIZATION_DB_HOST=localhost
32+
PERSONALIZATION_DB_PORT=5432
33+
PERSONALIZATION_DB_NAME=personalization
34+
PERSONALIZATION_DB_USER=postgres
35+
PERSONALIZATION_DB_PASSWORD=password
36+
37+
# Knowledge Base Configuration
38+
KNOWLEDGE_BASE_ENDPOINT=your_knowledge_base_url
39+
KNOWLEDGE_BASE_API_KEY=your_knowledge_base_api_key
40+
41+
# Application Configuration
42+
LOG_LEVEL=INFO
43+
DEBUG=false
44+
API_HOST=0.0.0.0
45+
API_PORT=8000
46+
47+
# Service-specific Configuration
48+
SUPERVISOR_PORT=8000
49+
ORDER_AGENT_PORT=8001
50+
PRODUCT_AGENT_PORT=8002
51+
TROUBLESHOOTING_AGENT_PORT=8003
52+
PERSONALIZATION_AGENT_PORT=8004
53+
54+
# Timeout Configuration (in seconds)
55+
HTTP_TIMEOUT=30
56+
DATABASE_TIMEOUT=10
57+
BEDROCK_TIMEOUT=15
58+
59+
# Retry Configuration
60+
MAX_RETRIES=3
61+
RETRY_BACKOFF_FACTOR=2
62+
63+
# Health Check Configuration
64+
HEALTH_CHECK_INTERVAL=30
65+
HEALTH_CHECK_TIMEOUT=5
66+
67+
# Session Configuration
68+
SESSION_TIMEOUT=3600
69+
MAX_CONVERSATION_HISTORY=50
70+
71+
# Performance Configuration
72+
MAX_CONCURRENT_REQUESTS=100
73+
WORKER_PROCESSES=1

.gitignore

Lines changed: 173 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
# CDK Context (contains account-specific data)
2+
cdk.context.json
3+
4+
# Logs
5+
logs
6+
*.log
7+
npm-debug.log*
8+
yarn-debug.log*
9+
yarn-error.log*
10+
lerna-debug.log*
11+
12+
# Runtime data
13+
pids
14+
*.pid
15+
*.seed
16+
*.pid.lock
17+
18+
# Dependency directories
19+
node_modules/
20+
jspm_packages/
21+
22+
# TypeScript cache
23+
*.tsbuildinfo
24+
25+
# Optional npm cache directory
26+
.npm
27+
28+
# Optional eslint cache
29+
.eslintcache
30+
31+
# dotenv environment variable files
32+
.env
33+
.env.*
34+
!.env.example
35+
36+
# Build outputs
37+
.next
38+
out
39+
.nuxt
40+
dist
41+
build/
42+
43+
# Cache directories
44+
.cache
45+
.parcel-cache
46+
.vite/
47+
48+
# Serverless directories
49+
.serverless/
50+
51+
# Python
52+
__pycache__/
53+
*.py[cod]
54+
*$py.class
55+
*.so
56+
.Python
57+
build/
58+
develop-eggs/
59+
downloads/
60+
eggs/
61+
.eggs/
62+
# Python lib directories (not CDK lib)
63+
**/lib/
64+
!infra/lib/
65+
lib64/
66+
parts/
67+
sdist/
68+
var/
69+
wheels/
70+
*.egg-info/
71+
.installed.cfg
72+
*.egg
73+
MANIFEST
74+
75+
# Virtual environments
76+
.env
77+
.venv
78+
env/
79+
venv/
80+
ENV/
81+
env.bak/
82+
venv.bak/
83+
84+
# Testing
85+
.coverage
86+
.pytest_cache/
87+
.tox/
88+
.nox/
89+
htmlcov/
90+
.hypothesis/
91+
coverage.xml
92+
*.cover
93+
94+
# IDEs
95+
.vscode/
96+
.idea/
97+
*.swp
98+
*.swo
99+
100+
# OS
101+
.DS_Store
102+
.DS_Store?
103+
._*
104+
.Spotlight-V100
105+
.Trashes
106+
ehthumbs.db
107+
Thumbs.db
108+
109+
# Project specific
110+
# CDK build artifacts
111+
infra/cdk.out/
112+
infra/.cdk.staging/
113+
114+
# Frontend build artifacts
115+
frontend/dist/
116+
frontend/.vite/
117+
118+
# Lambda function compiled files
119+
infra/lib/streaming-api/resolver-function/*.js
120+
infra/lib/streaming-api/resolver-function/*.js.map
121+
infra/lib/streaming-api/resolver-function/*.d.ts
122+
123+
# CDK outputs
124+
cdk-outputs.json
125+
126+
# Local development tools
127+
release.sh
128+
129+
# Development files (not for public repo)
130+
.kiro/
131+
test_*
132+
test-*
133+
*.db
134+
.amazonq
135+
.mcp.json
136+
test-*
137+
# Lambda function compiled files
138+
infra/lib/streaming-api/resolver-function/*.js
139+
infra/lib/streaming-api/resolver-function/*.js.map
140+
infra/lib/streaming-api/resolver-function/*.d.ts
141+
infra/lib/streaming-api/stream-processor-function/*.js
142+
infra/lib/streaming-api/stream-processor-function/*.js.map
143+
infra/lib/streaming-api/stream-processor-function/*.d.ts
144+
145+
# CDK build artifacts
146+
infra/cdk.out/
147+
infra/.cdk.staging/
148+
149+
# Frontend build artifacts
150+
frontend/dist/
151+
frontend/.vite/
152+
153+
# CDK outputs
154+
cdk-outputs.json
155+
infra/outputs.json
156+
# Lambda function compiled files
157+
infra/lib/streaming-api/resolver-function/*.js
158+
infra/lib/streaming-api/resolver-function/*.js.map
159+
infra/lib/streaming-api/resolver-function/*.d.ts
160+
infra/lib/streaming-api/stream-processor-function/*.js
161+
infra/lib/streaming-api/stream-processor-function/*.js.map
162+
infra/lib/streaming-api/stream-processor-function/*.d.ts
163+
164+
# CDK build artifacts
165+
infra/cdk.out/
166+
infra/.cdk.staging/
167+
168+
# Frontend build artifacts
169+
frontend/dist/
170+
frontend/.vite/
171+
172+
# CDK outputs
173+
cdk-outputs.json

0 commit comments

Comments
 (0)