Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ os.environ["TOKENIZERS_PARALLELISM"] = "false"
|
|
7 |
filename = "output_topic_details.txt" # Path to the file storing chess-specific details
|
8 |
retrieval_model_name = 'output/sentence-transformer-finetuned/'
|
9 |
openai.api_key = os.environ["OPENAI_API_KEY"]
|
10 |
-
system_message = "You are a restaurant recommending chatbot that suggests one restaurant based on the criteria the user provides."
|
11 |
# Initial system message to set the behavior of the assistant
|
12 |
messages = [{"role": "system", "content": system_message}]
|
13 |
# Attempt to load the necessary models and provide feedback on success or failure
|
|
|
7 |
filename = "output_topic_details.txt" # Path to the file storing chess-specific details
|
8 |
retrieval_model_name = 'output/sentence-transformer-finetuned/'
|
9 |
openai.api_key = os.environ["OPENAI_API_KEY"]
|
10 |
+
system_message = "You are a restaurant recommending chatbot that suggests one restaurant in Seattle from the restaurant database based on the criteria the user provides."
|
11 |
# Initial system message to set the behavior of the assistant
|
12 |
messages = [{"role": "system", "content": system_message}]
|
13 |
# Attempt to load the necessary models and provide feedback on success or failure
|