Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[16/N][RAG Demo fixes] run queries 1 and 2 with each prompt version #1207

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 5 additions & 12 deletions cookbooks/RAG-with-Model-Graded-Eval-v2/rag.aiconfig.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ prompts:
\ If necessary, revise your answer.\n\nReview your best answer so far again. Does\
\ it actually answer the question? If necessary, revise your answer again.\n\n\
Review your best answer so far one last time. Is it easy to unerstand? If necessary,\
\ reviews your answer a final time.\n\n\nOutput ONLY YOUR BEST ANSWER.\n\nBEST\
\ ANSWER:"
\ reviews your answer a final time.\n\nBe EXTREMELY SUCCINCT.\n\nOutput ONLY YOUR\
\ BEST ANSWER.\n\nBEST ANSWER:"
metadata:
model: gpt-4
parameters: {}
Expand Down Expand Up @@ -163,16 +163,9 @@ prompts:
remember_chat_context: false
name: evaluate_coherence
outputs: []
- input: 'Given the following answer, is the answer self-consistent and easy to understand?
Answer: {{generate.output}}


Give a succinctness verdict (YES or NO) with an explanation.


Verdict:

Explanation:'
- input: "Given the following answer, is the answer succinct, or does it contain extraneous\
\ information?? \n\nAnswer: {{generate.output}}\n\nGive a succinctness verdict\
\ (YES or NO) with an explanation.\n\nVerdict:\nExplanation:"
metadata:
model: gpt-4
parameters: {}
Expand Down
Loading