-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.env.example
68 lines (57 loc) · 2.09 KB
/
.env.example
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# =========================================================
# TECHNICIAN BOOKING SYSTEM - .env.example
# =========================================================
# Example configuration file for the Technician Booking System
# Copy this file to .env and replace the placeholder values
# =========================================================
# ---------------------------
# General Application Settings
# ---------------------------
ENV=development
HOST=0.0.0.0
PORT=8000
DEBUG=True
CORS_ORIGINS=*
# ---------------------------
# Hugging Face Configuration
# ---------------------------
HUGGINGFACE_API_KEY=your_huggingface_api_key_here
HF_CACHE_DIR="~/.cache/huggingface/hub/"
# ---------------------------
# NLP Model Settings
# ---------------------------
# FEEL FREE TO EXPERIMENT WITH OTHER MODELS
# BUT MAKE SURE THEY ARE COMPATIBLE WITH THE APPLICATION
# OTHERWISE, YOU'LL HAVE TO MAKE CHANGES TO THE CODE
ZERO_SHOT_MODEL_NAME=facebook/bart-large-mnli
NER_MODEL_NAME=dslim/bert-base-NER
# ---------------------------
# Hardware Utilization
# ---------------------------
USE_GPU=True
# ---------------------------
# Logging Configuration
# ---------------------------
LOG_LEVEL=DEBUG
# ---------------------------
# Intent Classification Settings
# ---------------------------
# UNCOMMENT THIS ONLY IF REALLY KNOW WHAT YOU ARE DOING
# CANDIDATE_INTENTS='{"Create a booking": "create_booking", "Cancel a booking": "cancel_booking", "Retrieve a booking": "retrieve_booking_details", "List all bookings": "list_all_bookings"}'
INTENT_CONFIDENCE_THRESHOLD=0.3
# ---------------------------
# Booking Defaults
# ---------------------------
DEFAULT_BOOKING_HOUR=9
LAST_BOOKING_HOUR=18
# ---------------------------
# Default Values for Missing Data
# ---------------------------
DEFAULT_CUSTOMER_NAME=Anonymous Customer
DEFAULT_PROFESSION=Plumber
# =========================================================
# Instructions:
# 1. Copy this file to .env
# 2. Replace placeholder values with your actual configuration
# 3. Do not commit .env to version control
# =========================================================