Project

General

Profile

Feature #3771

Updated by Ram Kordale 10 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.

Back