-
Notifications
You must be signed in to change notification settings - Fork 4
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
review: aggregations in structured views #85
Conversation
Trivy scanning results. |
Code Coverage Summary
Diff against main
Results for commit: b5949b1 Minimum allowed coverage is ♻️ This comment has been updated with latest results |
) -> None: | ||
""" | ||
Constructs a new IQLGenerationPromptFormat instance. | ||
|
||
Args: | ||
question: Question to be asked. | ||
filters: List of filters exposed by the view. | ||
methods: List of filters exposed by the view. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
methods: List of filters exposed by the view. | |
methods: List of methods exposed by the view. |
{ | ||
"role": "system", | ||
"content": ( | ||
"Given a question, determine whether the answer requires computing the aggregation in order to compute it.\n" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Given a question, determine whether the answer requires computing the aggregation in order to compute it.\n" | |
"Given a question, determine whether the answer requires computing the aggregation in order to answer it.\n" |
"role": "system", | ||
"content": ( | ||
"Given a question, determine whether the answer requires computing the aggregation in order to compute it.\n" | ||
"Aggregation is a process in which the result set is reduced to a single value.\n\n" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not True for GROUP BY
statements where you have values group-wise.
No description provided.