gooddata-eval 1.80.1.dev7__py3-none-any.whl → 1.80.1.dev8__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.
- gooddata_eval/cli/agentic_runner.py +13 -0
- gooddata_eval/core/agentic/__init__.py +12 -0
- gooddata_eval/core/agentic/agent_switcher.py +863 -0
- gooddata_eval/core/chat/sse_client.py +51 -0
- gooddata_eval/core/dataset/langfuse_source.py +30 -3
- gooddata_eval/core/interaction.py +1 -0
- gooddata_eval/core/models.py +51 -0
- gooddata_eval/core/reporting/html_report.py +25 -1
- {gooddata_eval-1.80.1.dev7.dist-info → gooddata_eval-1.80.1.dev8.dist-info}/METADATA +76 -4
- {gooddata_eval-1.80.1.dev7.dist-info → gooddata_eval-1.80.1.dev8.dist-info}/RECORD +13 -12
- {gooddata_eval-1.80.1.dev7.dist-info → gooddata_eval-1.80.1.dev8.dist-info}/WHEEL +0 -0
- {gooddata_eval-1.80.1.dev7.dist-info → gooddata_eval-1.80.1.dev8.dist-info}/entry_points.txt +0 -0
- {gooddata_eval-1.80.1.dev7.dist-info → gooddata_eval-1.80.1.dev8.dist-info}/licenses/LICENSE.txt +0 -0
|
@@ -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
|
|
@@ -63,6 +64,7 @@ AGENTIC_TEST_KINDS = frozenset(
|
|
|
63
64
|
"agentic_dashboard_summary",
|
|
64
65
|
"agentic_anomaly_detection",
|
|
65
66
|
"agentic_what_if",
|
|
67
|
+
"agentic_agent_switcher",
|
|
66
68
|
}
|
|
67
69
|
)
|
|
68
70
|
|
|
@@ -385,6 +387,17 @@ def _dispatch_agentic(
|
|
|
385
387
|
user_context=item.user_context,
|
|
386
388
|
**lf_kw,
|
|
387
389
|
)
|
|
390
|
+
elif kind == "agentic_agent_switcher":
|
|
391
|
+
# The item names its own agents and carries its own user_context.
|
|
392
|
+
return evaluate_agentic_agent_switcher(
|
|
393
|
+
host=host,
|
|
394
|
+
token=token,
|
|
395
|
+
workspace_id=workspace_id,
|
|
396
|
+
dataset_item=item,
|
|
397
|
+
k=k,
|
|
398
|
+
gate=gate,
|
|
399
|
+
**lf_kw,
|
|
400
|
+
)
|
|
388
401
|
elif kind == "agentic_conversation":
|
|
389
402
|
fixture_data = eo.get("fixture") or eo if isinstance(eo, dict) else {}
|
|
390
403
|
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",
|