Skip to content

Commit

Permalink
add output examples in genai metric prompts
Browse files Browse the repository at this point in the history
Signed-off-by: Kartik Choudhary <[email protected]>
  • Loading branch information
kartikc727 committed Jan 31, 2024
1 parent 23491d7 commit e33af3d
Show file tree
Hide file tree
Showing 4 changed files with 39 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,15 @@
This rating value should always be an integer between 1 and 5. So the rating \
produced should be 1 or 2 or 3 or 4 or 5.
Some examples of valid responses are:
1
2
5
Some examples of invalid responses are:
1/5
1.5
3.0
5 stars
QUESTION:
{question}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,15 @@
This rating value should always be an integer between 1 and 5. So the rating \
produced should be 1 or 2 or 3 or 4 or 5.
Some examples of valid responses are:
1
2
5
Some examples of invalid responses are:
1/5
1.5
3.0
5 stars
QUESTION:
{question}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,18 @@
Note the ANSWER is generated by a computer system, it can contain certain \
symbols, which should not be a negative factor in the evaluation.
This rating value should always be an integer between 1 and 5. So the rating \
produced should be 1 or 2 or 3 or 4 or 5.
Some examples of valid responses are:
1
2
5
Some examples of invalid responses are:
1/5
1.5
3.0
5 stars
CONTEXT:
{context}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,15 @@
This rating value should always be an integer between 1 and 5. So the rating \
produced should be 1 or 2 or 3 or 4 or 5.
Some examples of valid responses are:
1
2
5
Some examples of invalid responses are:
1/5
1.5
3.0
5 stars
QUESTION AND CONTEXT:
{question}
Expand Down

0 comments on commit e33af3d

Please sign in to comment.