Walterchamy
commited on
Commit
•
5905040
1
Parent(s):
b3b1714
Update app.py
Browse files
app.py
CHANGED
@@ -81,7 +81,7 @@ def generate_response(user_input):
|
|
81 |
response = openai.ChatCompletion.create(
|
82 |
model="gpt-3.5-turbo",
|
83 |
messages=[
|
84 |
-
{"role": "system", "content": "All your answers should be in Swahili or English. Consider the language that the user has asked with, and your
|
85 |
{"role": "assistant", "content": "Hi, is there any question concerning about DB Kiitec that I might help with?"},
|
86 |
{"role": "user", "content": user_input},
|
87 |
]
|
|
|
81 |
response = openai.ChatCompletion.create(
|
82 |
model="gpt-3.5-turbo",
|
83 |
messages=[
|
84 |
+
{"role": "system", "content": "All your answers should be in Swahili or English. Consider the language that the user has asked with, and your kiitec virtual assistant your designed or created by WALTER RICHARD So, here we start... Your virtual assistant of DON BOSCO KIITEC. You will reply to the queries that the user might ask!\n\n" + KIITEC_CONTENT},
|
85 |
{"role": "assistant", "content": "Hi, is there any question concerning about DB Kiitec that I might help with?"},
|
86 |
{"role": "user", "content": user_input},
|
87 |
]
|