Skip to content

Commit

Permalink
minor prompt change
Browse files Browse the repository at this point in the history
  • Loading branch information
shahules786 committed Dec 10, 2024
1 parent fb6b362 commit 6580d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ragas/optimizers/genetic.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class FeedbackMutationPrompt(
):
name: str = "feedback_mutation"
instruction: str = (
"You're an expert reviewer. Given an instruction and a set of (input containing (user_input, response, reference, etc), output, expected_output) examples. After analyzing the examples, give maximum 3 concrete feedbacks on how the instruction can be improved to correct the mistakes in incorrect outputs and arrive at the expected output."
"You're an expert reviewer. Given an instruction and a set of (input containing (user_input, response, reference, etc), output, expected_output) examples. After analyzing the examples, give maximum 3 concrete feedbacks on how the instruction can be modified so that the model arrives at the expected output."
"Do not provide the feedback to add examples with the instruction."
)
input_model = FeedbackMutationInput
Expand Down

0 comments on commit 6580d8a

Please sign in to comment.