Spaces:
Runtime error
Runtime error
Commit ·
071923f
1
Parent(s): 08ab844
bug fix
Browse files- queryHelperManagerCoT.py +1 -1
queryHelperManagerCoT.py
CHANGED
|
@@ -38,7 +38,7 @@ class QueryHelperChainOfThought:
|
|
| 38 |
|
| 39 |
def getQueryForUserInputCoT(self, userInput):
|
| 40 |
prompt = self.getPromptForCot()
|
| 41 |
-
self.
|
| 42 |
gptResponse = self.gptInstanceForCoT.getResponseForUserInput(userInput)
|
| 43 |
return gptResponse
|
| 44 |
|
|
|
|
| 38 |
|
| 39 |
def getQueryForUserInputCoT(self, userInput):
|
| 40 |
prompt = self.getPromptForCot()
|
| 41 |
+
self.gptInstanceForCoT.setSystemPrompt(prompt)
|
| 42 |
gptResponse = self.gptInstanceForCoT.getResponseForUserInput(userInput)
|
| 43 |
return gptResponse
|
| 44 |
|