LLM-ChatBot-Document / .env.example
FauzanAriyatmoko's picture
chore: Update default `TOP_K_RETRIEVAL`, `TEMPERATURE`, and `TOP_P` values in `.env.example`.
321c1d6
raw
history blame contribute delete
420 Bytes
# Model Configuration
MODEL_NAME=Qwen/Qwen2-0.5B-Instruct
EMBEDDING_MODEL=sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2
# Device Configuration (auto/cuda/cpu)
DEVICE=auto
# Text Processing
CHUNK_SIZE=500
CHUNK_OVERLAP=50
# Retrieval Configuration
TOP_K_RETRIEVAL=5
# Generation Parameters
MAX_LENGTH=2048
TEMPERATURE=0.4
TOP_P=0.85
# Storage Paths
UPLOAD_DIR=data/uploads
VECTOR_DB_DIR=data/vector_db