Spaces:
Running
Running
MVPilgrim
commited on
Commit
·
05e3515
1
Parent(s):
d9d7c5e
debug
Browse files
app.py
CHANGED
@@ -492,9 +492,13 @@ try:
|
|
492 |
st.session_state.ragpTA = ragPrompt
|
493 |
userPrompt = pprompt + "\n" + ragPrompt
|
494 |
prompt = userPrompt
|
495 |
-
userPrompt = "
|
496 |
-
|
497 |
-
|
|
|
|
|
|
|
|
|
498 |
else:
|
499 |
#userPrompt = st.session_state.sysTA + " " + pprompt
|
500 |
userPrompt = pprompt
|
|
|
492 |
st.session_state.ragpTA = ragPrompt
|
493 |
userPrompt = pprompt + "\n" + ragPrompt
|
494 |
prompt = userPrompt
|
495 |
+
userPrompt = "This prompt is divided into two main sections. " \
|
496 |
+
"The first section starts with 'MAINPROMPT:' which is the actual question or instruction of the prompt. " \
|
497 |
+
+ "The second section of the prompt starts with 'ADDITIONALCONTEXT:'. It contains additional information to evaluate along with " \
|
498 |
+
+ "information within from the large language model itself. " \
|
499 |
+
+ "Use it to clarify and supplement the prompt, but otherwise make sure to process the prompt in the standard manner. " \
|
500 |
+
+ "MAINPROMPT: " + pprompt + " " \
|
501 |
+
+ "ADDITIONALCONTEXT: " + ragPrompt
|
502 |
else:
|
503 |
#userPrompt = st.session_state.sysTA + " " + pprompt
|
504 |
userPrompt = pprompt
|