gooddata-eval 1.80.1.dev7__py3-none-any.whl → 1.80.1.dev9__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -13,6 +13,7 @@ from gooddata_eval.core.agentic._gate import DEFAULT_GATE, EvalGate, normalize_g
13
13
  from gooddata_eval.core.agentic._langfuse import make_langfuse_client
14
14
  from gooddata_eval.core.agentic._search_expectation import SEARCH_ARGUMENT_KEYS
15
15
  from gooddata_eval.core.agentic._trace_linker import BackgroundTraceLinker, SubmitTraceLink, run_trace_link_inline
16
+ from gooddata_eval.core.agentic.agent_switcher import evaluate_agentic_agent_switcher
16
17
  from gooddata_eval.core.agentic.alert_skill import evaluate_agentic_alert_skill
17
18
  from gooddata_eval.core.agentic.anomaly_detection import evaluate_agentic_anomaly_detection
18
19
  from gooddata_eval.core.agentic.conversation import ConversationFixture, evaluate_agentic_conversation
@@ -23,6 +24,7 @@ from gooddata_eval.core.agentic.forecasting import evaluate_agentic_forecasting
23
24
  from gooddata_eval.core.agentic.general_question import evaluate_agentic_general_question
24
25
  from gooddata_eval.core.agentic.guardrail import evaluate_agentic_guardrail
25
26
  from gooddata_eval.core.agentic.kda_skill import evaluate_agentic_kda_skill
27
+ from gooddata_eval.core.agentic.knowledge import evaluate_agentic_knowledge
26
28
  from gooddata_eval.core.agentic.metric_skill import evaluate_agentic_metric_skill
27
29
  from gooddata_eval.core.agentic.search_tool import evaluate_agentic_search_tool
28
30
  from gooddata_eval.core.agentic.visualization import evaluate_agentic_visualization
@@ -63,6 +65,8 @@ AGENTIC_TEST_KINDS = frozenset(
63
65
  "agentic_dashboard_summary",
64
66
  "agentic_anomaly_detection",
65
67
  "agentic_what_if",
68
+ "agentic_agent_switcher",
69
+ "agentic_knowledge",
66
70
  }
67
71
  )
68
72
 
@@ -385,6 +389,30 @@ def _dispatch_agentic(
385
389
  user_context=item.user_context,
386
390
  **lf_kw,
387
391
  )
392
+ elif kind == "agentic_agent_switcher":
393
+ # The item names its own agents and carries its own user_context.
394
+ return evaluate_agentic_agent_switcher(
395
+ host=host,
396
+ token=token,
397
+ workspace_id=workspace_id,
398
+ dataset_item=item,
399
+ k=k,
400
+ gate=gate,
401
+ **lf_kw,
402
+ )
403
+ elif kind == "agentic_knowledge":
404
+ return evaluate_agentic_knowledge(
405
+ host=host,
406
+ token=token,
407
+ workspace_id=workspace_id,
408
+ question=item.question,
409
+ expected_output=eo,
410
+ k=k,
411
+ gate=gate,
412
+ agent_id=agent_id,
413
+ user_context=item.user_context,
414
+ **lf_kw,
415
+ )
388
416
  elif kind == "agentic_conversation":
389
417
  fixture_data = eo.get("fixture") or eo if isinstance(eo, dict) else {}
390
418
  return evaluate_agentic_conversation(
@@ -1,4 +1,11 @@
1
1
  # (C) 2026 GoodData Corporation. All rights reserved.
2
+ from gooddata_eval.core.agentic.agent_switcher import (
3
+ AgenticAgentSwitcherSummary,
4
+ AgentSwitcherAssertionError,
5
+ AgentSwitcherRunResult,
6
+ evaluate_agentic_agent_switcher,
7
+ run_agentic_agent_switcher,
8
+ )
2
9
  from gooddata_eval.core.agentic.alert_skill import (
3
10
  AgenticAlertSummary,
4
11
  AlertEvaluation,
@@ -85,6 +92,9 @@ evaluate_agentic_report_skill = evaluate_agentic_document_skill
85
92
  run_agentic_report_skill = run_agentic_document_skill
86
93
 
87
94
  __all__ = [
95
+ "AgentSwitcherAssertionError",
96
+ "AgentSwitcherRunResult",
97
+ "AgenticAgentSwitcherSummary",
88
98
  "AgenticAlertSummary",
89
99
  "AgenticDashboardSummary",
90
100
  "AgenticGeneralQuestionSummary",
@@ -125,6 +135,7 @@ __all__ = [
125
135
  "TurnDefinition",
126
136
  "TurnResult",
127
137
  "VisualizationAssertionError",
138
+ "evaluate_agentic_agent_switcher",
128
139
  "evaluate_agentic_alert_skill",
129
140
  "evaluate_agentic_conversation",
130
141
  "evaluate_agentic_dashboard_skill",
@@ -136,6 +147,7 @@ __all__ = [
136
147
  "evaluate_agentic_report_skill",
137
148
  "evaluate_agentic_search_tool",
138
149
  "evaluate_agentic_visualization",
150
+ "run_agentic_agent_switcher",
139
151
  "run_agentic_alert_skill",
140
152
  "run_agentic_conversation",
141
153
  "run_agentic_dashboard_skill",