-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
Description:
When the qna.yaml is auto-generated in the authoring section in the instructlab-examples notebook, there are cases when some seed examples in the qna.yaml do not contain 3 pairs of questions and answers.
This is not known by the user if they don't look at the qna.yaml (as is the case within CI or development) and the seed example creation fails with a ListIndex out of range error when the code expects 3 pairs of questions in a seed example and answers but does not get them.
Acceptance Criteria:
A list of verification conditions, successful functional tests, or expected outcomes in order to declare this story/task successfully completed.
- A check in the authoring section that alerts the user that there are not enough seed examples generated OR automatic regeneration OR dropping a context anytime 3 question and answers are not generated for it.