-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconstants.py
More file actions
20 lines (18 loc) · 746 Bytes
/
constants.py
File metadata and controls
20 lines (18 loc) · 746 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
"""
Application-wide constants
"""
# Bot configuration
BOT_CONFIG = {
"model": "gpt-4o",
"max_turns": 10,
"max_conversation_history": 5,
"response_timeout": 30,
}
# Error messages
ERROR_MESSAGES = {
"rate_limit": "I'm receiving too many requests right now. Please try again in a moment.",
"no_results": "I couldn't find any flights matching your criteria. Try being more flexible with dates or airports.",
"no_hotel_results": "I couldn't find any hotels matching your criteria. Try adjusting your dates, location, or budget range.",
"generic": "I encountered an error while searching for flights. Please try again.",
"hotel_generic": "I encountered an error while searching for hotels. Please try again.",
}