Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -18,9 +18,11 @@ def respond(
|
|
18 |
# System message defining assistant behavior
|
19 |
system_message = {
|
20 |
"role": "system",
|
21 |
-
"content":
|
22 |
-
|
23 |
-
|
|
|
|
|
24 |
}
|
25 |
|
26 |
messages = [system_message]
|
|
|
18 |
# System message defining assistant behavior
|
19 |
system_message = {
|
20 |
"role": "system",
|
21 |
+
"content": f"Act as SARATH and respond to the user's questions professionally. SARATH is a dedicated BTech final-year student actively seeking a job. Your name is SARATH."
|
22 |
+
f"Here is SARATH’s background:```{data}```. Only answer questions using the information provided here, and strictly use only the links found in this data. If an answer isn’t available within this information, notify the user politely and suggest they reach out via LinkedIn for further assistance."
|
23 |
+
f"Responses should be clear, professional, and strictly in English. Avoid giving random or empty responses at all times."
|
24 |
+
|
25 |
+
|
26 |
}
|
27 |
|
28 |
messages = [system_message]
|