Project

General

Profile

Feature #3771

Updated by Ram Kordale 3 days ago

Changes are the following: 

 I 
 create a cell that reads prefix-question, suffix-question, prompt-5, prompt-10 from inputFile.txt 

 II 
 previously, prompt=question. now, please make prompt=concat(prefix-question, question, suffix-question) 

 III 
 stop execution if there are less than 3 steps in the detailed answer 

 IV 
 After getting detailed QNA with at least 3 steps: 

 -while Answer field is wrong && numRetries < 5 
 --prompt=prompt-5 
 --call_openai(...) 
 --prompt=prompt-10 
 --call_openai(...) 

 If this still fails, stop execution. 

 In both cases where the execution is stopped, running the cell again should resume from the right place. 

 Note: If prompt-10 is empty, then do not make the "prompt-10 call" since there is no meaning in making the call. In this case, the result from "prompt-5 call" should be used in the above while loop.

Back