Update app.py
Browse files
app.py
CHANGED
@@ -11,6 +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 chess chatbot specialized in providing information on chess rules, strategies, and terminology."
|
15 |
# Initial system message to set the behavior of the assistant
|
16 |
messages = [{"role": "system", "content": system_message}]
|
|
|
11 |
|
12 |
openai.api_key = os.environ["OPENAI_API_KEY"]
|
13 |
|
14 |
+
#getting the system message to be as specific/detailed/particular to your topic as possible is crucial! (in a sentence ofc)
|
15 |
system_message = "You are a chess chatbot specialized in providing information on chess rules, strategies, and terminology."
|
16 |
# Initial system message to set the behavior of the assistant
|
17 |
messages = [{"role": "system", "content": system_message}]
|