-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
68 lines (51 loc) · 1.77 KB
/
.env.example
File metadata and controls
68 lines (51 loc) · 1.77 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
# Hugging Face Configuration
HUGGINGFACE_TOKEN=hf_your_token_here
# Redis Cloud Configuration
REDIS_HOST=redis-18248.c232.us-east-1-2.ec2.redns.redis-cloud.com
REDIS_PORT=your_redis_port_here
REDIS_PASSWORD=your_redis_password_here
REDIS_USERNAME=default
DATABASE_NAME=database-MHHVR2P6
# Or use Redis URL format (alternative)
# REDIS_URL=redis://default:yPa7FqTXPna9JWNzXc4WSNRzkEmCOWpQ@redis-18248.c232.us-east-1-2.ec2.redns.redis-cloud.com:18248
# Neo4j Configuration (optional)
NEO4J_URI=neo4j+s://your-instance.databases.neo4j.io
NEO4J_USERNAME=neo4j
NEO4J_PASSWORD=your_password
NEO4J_DATABASE=neo4j
# Neo4j Aura Instance Details (optional)
AURA_INSTANCEID=064bf545
AURA_INSTANCENAME=Free instance
# Model Configuration
MODEL_OUTPUT_DIR=results/models
GRAPH_EXPORT_DIR=results/knowledge_graph
# PDF Processing
PDF_INPUT_DIR=data/raw
PDF_OUTPUT_DIR=data/processed
# Logging Level
LOG_LEVEL=INFO
# Github Token
GITHUB_TOKEN=your_github_token_here
# Wandb Configuration
WANDB_PROJECT=Mzee Chakula
WANDB_ENTITY=devkiran256-makerere
WANDB_API_KEY=your_wandb_api_key_here
# API Configuration
API_HOST=0.0.0.0
API_PORT=8000
# Model Configuration
BASE_MODEL=TinyLlama/TinyLlama-1.1B-Chat-v1.0
# Fine-tuned model path (local .pth file)
# Set USE_FINETUNED_MODEL=true to use your fine-tuned model
MODEL_PATH=results/models/finetuned_nutrition_model.pth
USE_FINETUNED_MODEL=true
# Hugging Face Model IDs
# LLM for text generation (only used if USE_FINETUNED_MODEL=false)
HF_LLM_MODEL_ID=TinyLlama/TinyLlama-1.1B-Chat-v1.0
# Repository for PKL models (scikit-learn models)
HF_PKL_MODELS_REPO=Shakiran/mzee-chakula-models
# Dataset repository
HF_DATASET_ID=Shakiran/UgandanNutritionMealPlanning
# Cache Configuration
CACHE_TTL=3600 # 1 hour in seconds
VITE_API_URL=https://your-backend.onrender.com