instructlab / instructlab-bot

GitHub bot to assist with the taxonomy contribution workflow
Apache License 2.0
12 stars 15 forks source link

Remove the prompt workaround from the output yaml results #332

Closed nerdalert closed 2 months ago

nerdalert commented 2 months ago

Requested adjustment to the yaml output to exclude the prompt context system prompt workaround from the output:

Adjust this:

input:
  context: |
    To apply for public benefit XYZ, provide the following:
    * Your full name and date of birth
    * Your vehicle license plate number
  question: |-
    Which of the following is true:
    (A) To apply for public benefit XYZ, you must provide both your full name and vehicle license plate number
    (B) To apply for public benefit XYZ, you must provide either your full name or vehicle license plate number
     Answer this based on the following context: To apply for public benefit XYZ, provide the following:
    * Your full name and date of birth
    * Your vehicle license plate number

To this:

input:
  context: |
    To apply for public benefit XYZ, provide the following:
    * Your full name and date of birth
    * Your vehicle license plate number
  question: |-
    Which of the following is true:
    (A) To apply for public benefit XYZ, you must provide both your full name and vehicle license plate number
    (B) To apply for public benefit XYZ, you must provide either your full name or vehicle license plate number