-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
31 lines (26 loc) · 1001 Bytes
/
.env.example
File metadata and controls
31 lines (26 loc) · 1001 Bytes
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
# ============================================
# Configuration Chatbot RAG (Production)
# ============================================
# --- Info Application ---
PROJECT_NAME="Chatbot RAG Production"
API_V1_STR="/api/v1"
# --- Sécurité ---
# IMPORTANT : Changez cette clé en production !
# Générez-en une avec : openssl rand -hex 32
SECRET_KEY="votre_cle_secrete_super_longue_et_aleatoire"
ALGORITHM="HS256"
ACCESS_TOKEN_EXPIRE_MINUTES=30
# --- Base de Données ---
# Note : Dans Docker, utilisez le chemin absolu interne /app/data/
# DATABASE_URL="sqlite:////app/data/chatbot_production.db"
DATABASE_URL="sqlite:///./data/chatbot_production.db"
CHROMA_DB_HOST=localhost
CHROMA_DB_PORT=8001
# --- Clés API LLM ---
# Au moins une clé est requise. Groq est prioritaire.
GROQ_API_KEY="gsk_votre_cle_api_groq_ici"
OPENAI_API_KEY=""
# --- Configuration RAG ---
EMBEDDING_MODEL="sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2"
FAQ_JSON_PATH="data/faq.json"
CONFIDENCE_THRESHOLD=0.45