Uploaded image for project: 'Red Hat Enterprise Linux AI'
  1. Red Hat Enterprise Linux AI
  2. RHELAI-4231

Seed Data Creation failed when 3 pairs of of questions and answers are not generated

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • Fit and Finish
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Knowledge Pipeline - Sprint 1, Fit and Finish - Sprint 3

      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.

              rhn-support-amaredia Ali Maredia
              rhn-support-amaredia Ali Maredia
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: