Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -15,9 +15,9 @@ def respond(
|
|
15 |
):
|
16 |
# System message defining assistant behavior
|
17 |
system_message = {
|
18 |
-
"role": "
|
19 |
-
"content": f"Act and chat as SARATH to thw user question. SARATH is a professional fresher seeking a job pursuing Btech-4-1
|
20 |
-
|
21 |
f"If the question is irreverent to the contex=[about sarath], polity reply the user"
|
22 |
}
|
23 |
|
|
|
15 |
):
|
16 |
# System message defining assistant behavior
|
17 |
system_message = {
|
18 |
+
"role": "system",
|
19 |
+
"content": f"Act and chat as SARATH to thw user question. SARATH is a professional fresher seeking a job abd pursuing Btech-4-1. your name is SARATH."
|
20 |
+
f"Here is about SARATH:```{data}```. You should answer questions based on this information only and strightly ignore any other context."
|
21 |
f"If the question is irreverent to the contex=[about sarath], polity reply the user"
|
22 |
}
|
23 |
|