agenta 0.12.7__py3-none-any.whl → 0.13.0__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.
Potentially problematic release.
This version of agenta might be problematic. Click here for more details.
- agenta/__init__.py +3 -1
- agenta/cli/helper.py +1 -1
- agenta/cli/main.py +1 -1
- agenta/cli/variant_commands.py +7 -5
- agenta/client/api.py +1 -1
- agenta/client/backend/__init__.py +78 -18
- agenta/client/backend/client.py +1031 -5526
- agenta/client/backend/resources/__init__.py +31 -0
- agenta/client/backend/resources/apps/__init__.py +1 -0
- agenta/client/backend/resources/apps/client.py +977 -0
- agenta/client/backend/resources/bases/__init__.py +1 -0
- agenta/client/backend/resources/bases/client.py +127 -0
- agenta/client/backend/resources/configs/__init__.py +1 -0
- agenta/client/backend/resources/configs/client.py +377 -0
- agenta/client/backend/resources/containers/__init__.py +5 -0
- agenta/client/backend/resources/containers/client.py +383 -0
- agenta/client/backend/resources/containers/types/__init__.py +5 -0
- agenta/client/backend/{types → resources/containers/types}/container_templates_response.py +1 -1
- agenta/client/backend/resources/environments/__init__.py +1 -0
- agenta/client/backend/resources/environments/client.py +131 -0
- agenta/client/backend/resources/evaluations/__init__.py +1 -0
- agenta/client/backend/resources/evaluations/client.py +1008 -0
- agenta/client/backend/resources/evaluators/__init__.py +1 -0
- agenta/client/backend/resources/evaluators/client.py +594 -0
- agenta/client/backend/resources/observability/__init__.py +1 -0
- agenta/client/backend/resources/observability/client.py +1184 -0
- agenta/client/backend/resources/testsets/__init__.py +1 -0
- agenta/client/backend/resources/testsets/client.py +689 -0
- agenta/client/backend/resources/variants/__init__.py +5 -0
- agenta/client/backend/resources/variants/client.py +796 -0
- agenta/client/backend/resources/variants/types/__init__.py +7 -0
- agenta/client/backend/resources/variants/types/add_variant_from_base_and_config_response.py +7 -0
- agenta/client/backend/types/__init__.py +54 -22
- agenta/client/backend/types/aggregated_result.py +2 -2
- agenta/client/backend/types/aggregated_result_evaluator_config.py +9 -0
- agenta/client/backend/types/{app_variant_output.py → app_variant_response.py} +4 -2
- agenta/client/backend/types/{trace.py → create_span.py} +20 -10
- agenta/client/backend/types/create_trace_response.py +37 -0
- agenta/client/backend/types/environment_output.py +3 -1
- agenta/client/backend/types/environment_output_extended.py +45 -0
- agenta/client/backend/types/environment_revision.py +41 -0
- agenta/client/backend/types/error.py +37 -0
- agenta/client/backend/types/evaluation.py +6 -3
- agenta/client/backend/types/evaluation_scenario_output.py +4 -2
- agenta/client/backend/types/{delete_evaluation.py → evaluation_scenario_score_update.py} +2 -2
- agenta/client/backend/types/evaluation_status_enum.py +4 -0
- agenta/client/backend/types/evaluator.py +1 -0
- agenta/client/backend/types/{get_config_reponse.py → get_config_response.py} +1 -2
- agenta/client/backend/types/human_evaluation_scenario.py +2 -2
- agenta/client/backend/types/{app_variant_output_extended.py → human_evaluation_scenario_update.py} +11 -16
- agenta/client/backend/types/human_evaluation_update.py +37 -0
- agenta/client/backend/types/image.py +1 -0
- agenta/client/backend/types/invite_request.py +1 -0
- agenta/client/backend/types/{list_api_keys_output.py → list_api_keys_response.py} +1 -1
- agenta/client/backend/types/llm_tokens.py +38 -0
- agenta/client/backend/types/new_human_evaluation.py +42 -0
- agenta/client/backend/types/organization.py +1 -0
- agenta/client/backend/types/permission.py +141 -0
- agenta/client/backend/types/result.py +2 -0
- agenta/client/backend/types/{human_evaluation_scenario_score.py → score.py} +1 -1
- agenta/client/backend/types/span.py +18 -16
- agenta/client/backend/types/span_detail.py +52 -0
- agenta/client/backend/types/span_kind.py +49 -0
- agenta/client/backend/types/span_status_code.py +29 -0
- agenta/client/backend/types/span_variant.py +38 -0
- agenta/client/backend/types/trace_detail.py +52 -0
- agenta/client/backend/types/with_pagination.py +40 -0
- agenta/client/backend/types/workspace_member_response.py +38 -0
- agenta/client/backend/types/workspace_permission.py +40 -0
- agenta/client/backend/types/workspace_response.py +44 -0
- agenta/client/backend/types/workspace_role.py +41 -0
- agenta/client/backend/types/workspace_role_response.py +38 -0
- agenta/docker/docker_utils.py +1 -5
- agenta/sdk/__init__.py +3 -1
- agenta/sdk/agenta_decorator.py +68 -18
- agenta/sdk/agenta_init.py +53 -21
- agenta/sdk/tracing/context_manager.py +13 -0
- agenta/sdk/tracing/decorators.py +41 -0
- agenta/sdk/tracing/llm_tracing.py +220 -0
- agenta/sdk/tracing/logger.py +19 -0
- agenta/sdk/tracing/tasks_manager.py +130 -0
- {agenta-0.12.7.dist-info → agenta-0.13.0.dist-info}/METADATA +47 -96
- agenta-0.13.0.dist-info/RECORD +161 -0
- agenta/client/backend/types/add_variant_from_base_and_config_response.py +0 -7
- agenta/client/backend/types/human_evaluation_scenario_update_score.py +0 -5
- agenta-0.12.7.dist-info/RECORD +0 -114
- {agenta-0.12.7.dist-info → agenta-0.13.0.dist-info}/WHEEL +0 -0
- {agenta-0.12.7.dist-info → agenta-0.13.0.dist-info}/entry_points.txt +0 -0
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from . import (
|
|
4
|
+
apps,
|
|
5
|
+
bases,
|
|
6
|
+
configs,
|
|
7
|
+
containers,
|
|
8
|
+
environments,
|
|
9
|
+
evaluations,
|
|
10
|
+
evaluators,
|
|
11
|
+
observability,
|
|
12
|
+
testsets,
|
|
13
|
+
variants,
|
|
14
|
+
)
|
|
15
|
+
from .containers import ContainerTemplatesResponse
|
|
16
|
+
from .variants import AddVariantFromBaseAndConfigResponse
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
"AddVariantFromBaseAndConfigResponse",
|
|
20
|
+
"ContainerTemplatesResponse",
|
|
21
|
+
"apps",
|
|
22
|
+
"bases",
|
|
23
|
+
"configs",
|
|
24
|
+
"containers",
|
|
25
|
+
"environments",
|
|
26
|
+
"evaluations",
|
|
27
|
+
"evaluators",
|
|
28
|
+
"observability",
|
|
29
|
+
"testsets",
|
|
30
|
+
"variants",
|
|
31
|
+
]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|