Skip to content

Commit

Permalink
Patch qna.yaml template (#1387)
Browse files Browse the repository at this point in the history
Fixes #1386

Signed-off-by: Laura Santamaria <nimbinatus@users.noreply.github.com>
  • Loading branch information
nimbinatus authored Jan 7, 2025
1 parent bc1ccfc commit dfa3afa
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docs/template_qna.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ domain: <The knowledge domain which is used in prompts to the teacher model duri
created_by: <The GitHub username of the contributor.>
seed_examples:
- context: |
<Context from the document associated with this set of sample q&a pairs.>
<Context from the document associated with this set of sample q&a pairs.>
questions_and_answers:
- question: |
<A question used for synthetic data generation. Based upon the previous context.>
<A question used for synthetic data generation. Based upon the previous context.>
answer: |
<The desired response for the question. Based upon the previous context.>
<The desired response for the question. Based upon the previous context.>
- question: |
answer: |
- question: |
Expand All @@ -30,6 +30,7 @@ seed_examples:
- question: |
answer: |
- context: |
questions_and_answers:
- question: |
answer: |
- question: |
Expand All @@ -49,4 +50,8 @@ document:
commit: <full commit SHA>
patterns:
- <FILENAME>.md
- <FILENAME>.pdf
- "*.md"
- "*.pdf"
- "<directory>/*.md"

0 comments on commit dfa3afa

Please sign in to comment.