Spaces:
Running
Running
MVPilgrim
commited on
Commit
·
22dab0b
1
Parent(s):
e6f7711
typo.
Browse files- semsearch.py +2 -2
semsearch.py
CHANGED
@@ -408,8 +408,8 @@ def setPrompt(pprompt,ragFlag):
|
|
408 |
ragPrompt = getRagData(pprompt)
|
409 |
userPrompt = pprompt + "\n" + ragPrompt
|
410 |
prompt = userPrompt
|
411 |
-
userPrompt = "Using this information: " + ragPrompt
|
412 |
-
+ "process the following statement or question and produce a a response"
|
413 |
+ intialPrompt
|
414 |
else:
|
415 |
userPrompt = pprompt
|
|
|
408 |
ragPrompt = getRagData(pprompt)
|
409 |
userPrompt = pprompt + "\n" + ragPrompt
|
410 |
prompt = userPrompt
|
411 |
+
userPrompt = "Using this information: " + ragPrompt \
|
412 |
+
+ "process the following statement or question and produce a a response" \
|
413 |
+ intialPrompt
|
414 |
else:
|
415 |
userPrompt = pprompt
|