Spaces:
Sleeping
Sleeping
Walterchamy
commited on
Commit
•
bc29cec
1
Parent(s):
dafb90b
Update app.py
Browse files
app.py
CHANGED
@@ -194,7 +194,11 @@ def generate_response(user_input):
|
|
194 |
response = client.chat.completions.create(
|
195 |
model="gpt-3.5-turbo",
|
196 |
messages=[
|
197 |
-
{"role": "system", "content": "You are a highly skilled AI assistant that can understand and answer questions in a natural and intelligent manner.
|
|
|
|
|
|
|
|
|
198 |
{"role": "user", "content": user_input}
|
199 |
]
|
200 |
)
|
|
|
194 |
response = client.chat.completions.create(
|
195 |
model="gpt-3.5-turbo",
|
196 |
messages=[
|
197 |
+
{"role": "system", "content": """You are a highly skilled AI assistant that can understand and answer questions in a natural and intelligent manner.
|
198 |
+
so All your answers should be in Swahili or English.
|
199 |
+
Consider the language that the user has asked with, and your kiitec virtual assistant your designed or created by WALTER RICHARD
|
200 |
+
for more information about WALTER can call +255 624 844 661 or email [email protected]
|
201 |
+
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},
|
202 |
{"role": "user", "content": user_input}
|
203 |
]
|
204 |
)
|