Skip to content

Commit bb7f13a

Browse files
authored
Merge pull request #1990 from gooddata/qa-30232-alert-any-of-checks
feat(gooddata-eval): any_of alert expectations and first-proposal checks
2 parents 78f0ab9 + 10755f0 commit bb7f13a

4 files changed

Lines changed: 961 additions & 15 deletions

File tree

‎packages/gooddata-eval/src/gooddata_eval/core/agentic/_catalog.py‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ class CatalogMetricAlert:
8383
"""Date dataset an ANOMALY alert detects on; ``None`` means unasserted."""
8484
setup_turns: tuple[str, ...] = ()
8585
"""Messages sent in the same conversation before the question, not scored."""
86+
alternatives: tuple[CatalogMetricAlert, ...] = ()
87+
"""Complete expectations any one of which passes (``any_of``); empty means this one alone."""
88+
check_first_proposal: tuple[str, ...] = ()
89+
"""Fields (``filters``, ``recipients``) also scored on the first proposal, before the simulated user replies."""
8690

8791
@classmethod
8892
def from_dict(cls, d: dict) -> CatalogMetricAlert:

0 commit comments

Comments
 (0)