File size: 744 Bytes
661eb14
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b14fc84
 
 
 
 
 
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
import os
from pathlib import Path
from dotenv import load_dotenv

load_dotenv()

DEEPSEEK_API_KEY: str | None = os.getenv("DEEPSEEK_API_KEY")
DEEPSEEK_BASE_URL = "https://api.deepseek.com/v1"
MODEL_NAME = "deepseek-chat"
MODEL_VERSION = f"{MODEL_NAME}@2026-05-07"

CONFIDENCE_HIGH = 0.80
CONFIDENCE_REVIEW = 0.55
OCR_TESSERACT_MIN_CONF = 0.65

BASE_DIR = Path(__file__).resolve().parent.parent
DATA_DIR = BASE_DIR / "data"
CHROMA_DIR = str(BASE_DIR / ".chroma")
AUDIT_DB = str(BASE_DIR / "audit.db")
PRECOMPUTED_DIR = DATA_DIR / "precomputed"
OCR_CACHE_DIR = BASE_DIR / ".ocr_cache"

BIDDER_NAMES = {
    "bidder_a": "Apex Constructions Pvt. Ltd.",
    "bidder_b": "BuildRight Enterprises",
    "bidder_c": "Shree Constructions & Services",
}