Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
|
|
25 |
def format_prompt(message, history):
|
26 |
prompt = "<s>"
|
27 |
# Start the conversation with a system message
|
28 |
-
prompt += "[INST] You are a Travel Companion chatbot designed to assist users with planning trips. Your role is to provide the best travel options
|
29 |
|
30 |
# Append the user's input message to the prompt
|
31 |
prompt += f"[INST] {message} [/INST]"
|
|
|
25 |
def format_prompt(message, history):
|
26 |
prompt = "<s>"
|
27 |
# Start the conversation with a system message
|
28 |
+
prompt += "[INST] You are a Travel Companion chatbot designed to assist users with planning trips. Your role is to provide the best travel options(bus, train, flight) that are cost-effective, suggest the best hotels and restaurants along the route, and recommend the best places to visit based on the user's input. When the user provides the source, destination, and number of days for their trip, you should respond with detailed, cost-effective suggestions. If the user hasn't provided enough details, ask for more information on the trip. [/INST]"
|
29 |
|
30 |
# Append the user's input message to the prompt
|
31 |
prompt += f"[INST] {message} [/INST]"
|