Spaces:
Runtime error
Runtime error
Commit ·
e376fbb
1
Parent(s): 661077c
Update queryHelperManagerCoT.py
Browse files- queryHelperManagerCoT.py +1 -1
queryHelperManagerCoT.py
CHANGED
|
@@ -63,7 +63,7 @@ class QueryHelperChainOfThought:
|
|
| 63 |
}
|
| 64 |
'No' ; if no, then Reason- please be more detailed about customer details; if more modification needed"""
|
| 65 |
cotStep1 = self.gptInstance.getResponseForUserInput(userInput, systemPromptForInputClarification)
|
| 66 |
-
if "yes" in
|
| 67 |
print("User input sufficient")
|
| 68 |
tasks = self.extractSingleJson(cotStep1)
|
| 69 |
print(f"tasks are {tasks}")
|
|
|
|
| 63 |
}
|
| 64 |
'No' ; if no, then Reason- please be more detailed about customer details; if more modification needed"""
|
| 65 |
cotStep1 = self.gptInstance.getResponseForUserInput(userInput, systemPromptForInputClarification)
|
| 66 |
+
if "yes" in cotStep1.lower()[:5]:
|
| 67 |
print("User input sufficient")
|
| 68 |
tasks = self.extractSingleJson(cotStep1)
|
| 69 |
print(f"tasks are {tasks}")
|