-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
36 lines (31 loc) · 1.83 KB
/
.env.example
File metadata and controls
36 lines (31 loc) · 1.83 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
# DoctorFill Configuration
# Copy this file to .env and adjust values as needed.
# API keys (IFK_PRODUCT_ID, IFK_API_TOKEN, LMSTUDIO_BASE_URL) are
# managed via the in-app setup screen and stored in data/user_config.json.
# LLM Provider: "local" or "infomaniak"
LLM_PROVIDER=infomaniak
# ──────────────────────────────────────────────────────────────
# Model names
# ──────────────────────────────────────────────────────────────
IFK_LLM_MODEL=qwen3
IFK_EMBEDDING_MODEL=Qwen/Qwen3-Embedding-8B
IFK_RERANKER_MODEL=BAAI/bge-reranker-v2-m3
LMSTUDIO_MODEL=qwen2.5-14b-instruct
LMSTUDIO_EMBEDDING_MODEL=nomic-embed-text
# ──────────────────────────────────────────────────────────────
# RAG Configuration
# ──────────────────────────────────────────────────────────────
RAG_CHUNK_SIZE=2000
RAG_CHUNK_OVERLAP=300
RAG_RETRIEVAL_TOP_K=4
RAG_USE_RERANKING=true
RAG_MAX_CONTEXT_WINDOW=8192
RAG_SAFETY_MARGIN=1500
RAG_BATCH_SIZE=5
# ──────────────────────────────────────────────────────────────
# API Configuration
# ──────────────────────────────────────────────────────────────
API_HOST=0.0.0.0
API_PORT=8000
MAX_UPLOAD_MB=20
DEBUG=false