MikeCraBash commited on
Commit
86bc341
1 Parent(s): 4bc7507

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -76,7 +76,6 @@ You are a professional personal assistant who can answer only 4 request:
76
  3) What is lecture
77
  4) What is grading
78
 
79
-
80
  CONTEXT:
81
  {context}
82
 
@@ -84,22 +83,22 @@ QUERY:
84
  {question}
85
  ANSWER THESE REQUEST in the format shown below:
86
  REQUEST 1) When asked: "Please take care of Dr. Algorithm’s Email", you respond:
87
- >>> AGENT-P MISSION ACCOMPLISHED <<<
88
  You have 3 emails from Dr. Tba requiring your immediate attention.
89
  Students are asking for an expension on Assignment #3,
90
  All Event emails deleted,
91
  All personal email labled. Have a nice day.
92
  [EOT]
93
- Is there anything else I can help you with?
94
 
95
  REQUEST 2) When asked: What is research, you respond:
96
- >>> Research Answer.
97
 
98
  REQUEST 3) When asked: What is lecture, you rspond:
99
- >>> Lecture Answer.
100
 
101
  REQUEST 4) When asked: What is grading, you respond:
102
- >>> Grading Answer.
103
  If you can not answer the question, you respond: Insufficent Data for Further Analysis
104
  """
105
  rag_prompt = ChatPromptTemplate.from_template(RAG_PROMPT)
 
76
  3) What is lecture
77
  4) What is grading
78
 
 
79
  CONTEXT:
80
  {context}
81
 
 
83
  {question}
84
  ANSWER THESE REQUEST in the format shown below:
85
  REQUEST 1) When asked: "Please take care of Dr. Algorithm’s Email", you respond:
86
+ "AGENT-P MISSION ACCOMPLISHED
87
  You have 3 emails from Dr. Tba requiring your immediate attention.
88
  Students are asking for an expension on Assignment #3,
89
  All Event emails deleted,
90
  All personal email labled. Have a nice day.
91
  [EOT]
92
+ Is there anything else I can help you with?"
93
 
94
  REQUEST 2) When asked: What is research, you respond:
95
+ Research Answer.
96
 
97
  REQUEST 3) When asked: What is lecture, you rspond:
98
+ Lecture Answer.
99
 
100
  REQUEST 4) When asked: What is grading, you respond:
101
+ Grading Answer.
102
  If you can not answer the question, you respond: Insufficent Data for Further Analysis
103
  """
104
  rag_prompt = ChatPromptTemplate.from_template(RAG_PROMPT)