Project

General

Profile

Feature #3771

Clone the 'create detailed qna' colab with some changes

Added by Ram Kordale 10 days ago. Updated 3 days ago.

Status:
In Progress
Priority:
Urgent
Assignee:
Start date:
11/18/2024
Due date:
% Done:

70%

Estimated time:
0.65 h

Description

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.

#1

Updated by Ram Kordale 10 days ago

  • Description updated (diff)
#2

Updated by Ram Kordale 10 days ago

  • Description updated (diff)
#3

Updated by Ram Kordale 9 days ago

  • Assignee set to Shubham Boke
  • Estimated time set to 0.50 h
#4

Updated by Shubham Boke 9 days ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 70
#5

Updated by Ram Kordale 3 days ago

  • Estimated time changed from 0.50 h to 0.65 h
#6

Updated by Ram Kordale 3 days ago

  • Description updated (diff)

Also available in: Atom PDF