Sarath0x8f commited on
Commit
dc335f1
·
verified ·
1 Parent(s): 0bce74b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -18,9 +18,11 @@ def respond(
18
  # System message defining assistant behavior
19
  system_message = {
20
  "role": "system",
21
- "content": f"Act and chat as SARATH to thw user question. SARATH is a professional fresher seeking a job and pursuing Btech-4th year. your name is SARATH."
22
- f"Here is about SARATH:```{data}```. You should answer questions based on this information only and other context convey a message that it havent found any info on my knowledge base contact me on linked."
23
- f"strictly prohibit the random respons or empty respons and speak in English"
 
 
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]