Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ retrieval_model_name = 'output/sentence-transformer-finetuned/'
|
|
| 11 |
|
| 12 |
openai.api_key = os.environ["OPENAI_API_KEY"]
|
| 13 |
|
| 14 |
-
system_message = "You are a chatbot specialized in providing phone recommendations
|
| 15 |
# Initial system message to set the behavior of the assistant
|
| 16 |
messages = [{"role": "system", "content": system_message}]
|
| 17 |
|
|
@@ -110,7 +110,7 @@ def query_model(question):
|
|
| 110 |
welcome_message = """
|
| 111 |
# ♟️ Welcome to ChessBot!
|
| 112 |
|
| 113 |
-
## Your AI-driven assistant for phone recommendations. Created by Heidi Santiago, Kashia Yang, and Phoebe Ng of the 2024 Kode With Klossy
|
| 114 |
"""
|
| 115 |
|
| 116 |
topics = """
|
|
|
|
| 11 |
|
| 12 |
openai.api_key = os.environ["OPENAI_API_KEY"]
|
| 13 |
|
| 14 |
+
system_message = "You are a chatbot specialized in providing phone recommendations based on phone features they utilize the most."
|
| 15 |
# Initial system message to set the behavior of the assistant
|
| 16 |
messages = [{"role": "system", "content": system_message}]
|
| 17 |
|
|
|
|
| 110 |
welcome_message = """
|
| 111 |
# ♟️ Welcome to ChessBot!
|
| 112 |
|
| 113 |
+
## Your AI-driven assistant for phone recommendations. Created by Heidi Santiago, Kashia Yang, and Phoebe Ng of the 2024 Kode With Klossy LA Camp.
|
| 114 |
"""
|
| 115 |
|
| 116 |
topics = """
|