update the codebase poc ver1
This commit is contained in:
73
secrets_template/.env.example
Normal file
73
secrets_template/.env.example
Normal file
@@ -0,0 +1,73 @@
|
||||
# Environment Variables Template
|
||||
# Copy this file to `.env` and fill in real values.
|
||||
# Do NOT commit `.env` — it is ignored by .gitignore.
|
||||
|
||||
# ============================================================
|
||||
# Cloud LLM Gateway (Backend)
|
||||
# ============================================================
|
||||
|
||||
# Vertex AI / Gemini
|
||||
VERTEX_AI_PROJECT=vkist-project
|
||||
VERTEX_AI_LOCATION=asia-southeast1
|
||||
VERTEX_AI_GEMINI_ENDPOINT=https://asia-southeast1-aiplatform.googleapis.com/v1/projects/vkist-project/locations/asia-southeast1/publishers/google/models/gemini-2.5-pro:generateContent
|
||||
VERTEX_AI_MODEL=medgemma
|
||||
# GCP access token loaded from secrets/gcp_access_token.txt or via GCP_ACCESS_TOKEN_FILE
|
||||
|
||||
# MedGemma Modal endpoint (Ollama web server)
|
||||
# Full /api/chat URL also accepted — base is normalized automatically.
|
||||
MODAL_MEDGEMMA_ENDPOINT=https://dtj-tran--ollama-medgemma-ollamaserver-web.modal.run
|
||||
MEDGEMMA_MODEL=medgemma:4b
|
||||
PORT=8080
|
||||
# MEDGEMMA_API_KEY loaded from secrets/modal_api_key.txt or via MEDGEMMA_API_KEY_FILE
|
||||
# MODAL_API_KEY is required by the Modal SDK itself
|
||||
|
||||
# ============================================================
|
||||
# CORS
|
||||
# ============================================================
|
||||
# Comma-separated list of allowed frontend origins
|
||||
CORS_ORIGINS=http://localhost:3000,http://localhost:5173,http://localhost:4173
|
||||
|
||||
# ============================================================
|
||||
# Storage / Triton
|
||||
# ============================================================
|
||||
TRITON_ENDPOINT=http://localhost:8080
|
||||
TEMP_DIR=/tmp/analysis_jobs
|
||||
|
||||
# ============================================================
|
||||
# Redis
|
||||
# ============================================================
|
||||
REDIS_HOST=localhost
|
||||
REDIS_PORT=6379
|
||||
REDIS_DB=0
|
||||
|
||||
# ============================================================
|
||||
# Image Processing
|
||||
# ============================================================
|
||||
CLAHE_CLIP_LIMIT=2.0
|
||||
CLAHE_TILE_SIZE=8,8
|
||||
|
||||
# ============================================================
|
||||
# Exa Web Search (Agent Tools BFF)
|
||||
# ============================================================
|
||||
EXA_API_KEY=
|
||||
# Canonical API guide: https://docs.exa.ai/reference/search-api-guide-for-coding-agents
|
||||
|
||||
# ============================================================
|
||||
# Supabase — Knowledge Semantic Vector DB
|
||||
# ============================================================
|
||||
SUPABASE_URL=https://<project-ref>.supabase.co
|
||||
SUPABASE_SERVICE_ROLE_KEY=
|
||||
# Optional: authenticated read + RPC from backend with user JWT
|
||||
SUPABASE_ANON_KEY=
|
||||
# PoC only: return zero vector for supabase_query embedding (not for production RAG quality)
|
||||
# EMBED_QUERY_MOCK=1
|
||||
|
||||
# ============================================================
|
||||
# AWS S3 (if used)
|
||||
# ============================================================
|
||||
AWS_ACCESS_KEY_ID=
|
||||
AWS_SECRET_ACCESS_KEY=
|
||||
AWS_SESSION_TOKEN=
|
||||
AWS_REGION=
|
||||
AWS_DEFAULT_REGION=
|
||||
AWS_ENDPOINT_URL=
|
||||
Reference in New Issue
Block a user