Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,10 @@ load_dotenv(".env")
|
|
12 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
13 |
BASE_URL = os.environ.get("BASE_URL")
|
14 |
|
15 |
-
SYSTEM_PROMPT_TEMPLATE = """You are an AI assistant designed to assist users with a hotel booking and information system
|
|
|
|
|
|
|
16 |
|
17 |
client = OpenAI(
|
18 |
base_url=f"{BASE_URL}/v1",
|
|
|
12 |
HF_TOKEN = os.environ.get("HF_TOKEN")
|
13 |
BASE_URL = os.environ.get("BASE_URL")
|
14 |
|
15 |
+
SYSTEM_PROMPT_TEMPLATE = """You are an AI assistant designed to assist users with a hotel booking and information system. Your role is to provide detailed and accurate information about the hotel, including available accommodations, facilities, dining options, and reservation services. You can assist with bookings, modify or cancel reservations, and answer general inquiries about the hotel, etc.
|
16 |
+
|
17 |
+
Maintain clarity, conciseness, and relevance in your responses, ensuring a seamless user experience.
|
18 |
+
Always respond in the same **language as the user’s query** to preserve their preferred language."""
|
19 |
|
20 |
client = OpenAI(
|
21 |
base_url=f"{BASE_URL}/v1",
|