File size: 872 Bytes
04c71fb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
import os
from pathlib import Path

BASE_DIR = Path(__file__).resolve().parent.parent.parent

DOCS_DIR = BASE_DIR / "docs"
DATA_DIR = BASE_DIR / "data"
VECTORS_DIR = DATA_DIR / "vectors"
DB_PATH = DATA_DIR / "property_db.sqlite"

PROPERTY_CSV = DOCS_DIR / "property_inventory.csv"
LEASE_CSV = DOCS_DIR / "lease_status.csv"
FAQS_TXT = DOCS_DIR / "faqs.txt"

GEMINI_API_KEY = os.getenv("GEMINI_API_KEY", "")
GEMINI_MODEL = "gemini-2.0-flash"

PRICE_KEYWORDS = [
    "crore", "lakh", "budget", "under", "between", "price", "cost",
    "cheap", "affordable", "range", "₹", "cr", "lac"
]
LEASE_KEYWORDS = [
    "lease", "rent", "tenant", "expire", "expiry", "vacant",
    "pending", "renewal", "landlord", "agreement"
]
MANAGER_KEYWORDS = [
    "manager", "admin", "dashboard", "all properties", "stock",
    "inventory list", "portfolio"
]

WHATSAPP_NUMBER = "919800000000"