Skip to content

Commit

Permalink
correct prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
micpst committed Aug 26, 2024
1 parent 2765afa commit 80c932c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions extra/prompt_tuning/tuning/signatures/iql.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ class CheckQuestionFiltering(Signature):

class CheckQuestionAggregation(Signature):
"""
Given a question, determine whether the answer requires initial data filtering in order to compute it.
Initial data filtering is a process in which the result set is reduced to only include the rows that
meet certain criteria specified in the question.
Given a question, determine whether the answer requires data aggregation in order to compute it.
Data aggregation is a process in which we calculate a single values for a group of rows in the result set.
"""

question = InputField(
Expand All @@ -33,7 +32,6 @@ class CheckQuestionAggregation(Signature):
decision = OutputField(
prefix="Decision: ",
desc=(
"indicates whether the answer to the question requires initial data filtering. "
"(Respond with True or False)"
"indicates whether the answer to the question requires data aggregation. " "(Respond with True or False)"
),
)

0 comments on commit 80c932c

Please sign in to comment.