agenta 0.36.2__py3-none-any.whl → 0.36.4__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 +5 -5
- agenta/client/Readme.md +3 -3
- agenta/client/__init__.py +294 -0
- agenta/client/client.py +3192 -466
- agenta/sdk/__init__.py +5 -5
- agenta/sdk/agenta_init.py +28 -54
- agenta/sdk/client.py +1 -1
- agenta/sdk/managers/shared.py +3 -3
- agenta/sdk/middleware/auth.py +18 -9
- agenta/sdk/middleware/config.py +0 -2
- agenta/sdk/middleware/vault.py +3 -3
- agenta/sdk/types.py +2 -2
- {agenta-0.36.2.dist-info → agenta-0.36.4.dist-info}/METADATA +1 -2
- agenta-0.36.4.dist-info/RECORD +236 -0
- agenta/cli/helper.py +0 -202
- agenta/cli/main.py +0 -229
- agenta/cli/telemetry.py +0 -50
- agenta/cli/variant_commands.py +0 -526
- agenta/cli/variant_configs.py +0 -49
- agenta/client/api.py +0 -74
- agenta/client/api_models.py +0 -34
- agenta/client/backend/__init__.py +0 -294
- agenta/client/backend/client.py +0 -3289
- agenta/client/exceptions.py +0 -2
- agenta/docker/docker-assets/Dockerfile.cloud.template +0 -9
- agenta/docker/docker-assets/Dockerfile.oss.template +0 -13
- agenta/docker/docker-assets/Dockerfile.template +0 -13
- agenta/docker/docker-assets/README.md +0 -1
- agenta/docker/docker-assets/entrypoint.sh +0 -7
- agenta/docker/docker-assets/lambda_function.py +0 -6
- agenta/docker/docker-assets/main.py +0 -13
- agenta/docker/docker_utils.py +0 -100
- agenta-0.36.2.dist-info/RECORD +0 -255
- agenta-0.36.2.dist-info/entry_points.txt +0 -3
- /agenta/client/{backend/access_control → access_control}/__init__.py +0 -0
- /agenta/client/{backend/access_control → access_control}/client.py +0 -0
- /agenta/client/{backend/admin → admin}/__init__.py +0 -0
- /agenta/client/{backend/admin → admin}/client.py +0 -0
- /agenta/client/{backend/apps → apps}/__init__.py +0 -0
- /agenta/client/{backend/apps → apps}/client.py +0 -0
- /agenta/client/{backend/bases → bases}/__init__.py +0 -0
- /agenta/client/{backend/bases → bases}/client.py +0 -0
- /agenta/client/{backend/configs → configs}/__init__.py +0 -0
- /agenta/client/{backend/configs → configs}/client.py +0 -0
- /agenta/client/{backend/containers → containers}/__init__.py +0 -0
- /agenta/client/{backend/containers → containers}/client.py +0 -0
- /agenta/client/{backend/containers → containers}/types/__init__.py +0 -0
- /agenta/client/{backend/containers → containers}/types/container_templates_response.py +0 -0
- /agenta/client/{backend/core → core}/__init__.py +0 -0
- /agenta/client/{backend/core → core}/api_error.py +0 -0
- /agenta/client/{backend/core → core}/client_wrapper.py +0 -0
- /agenta/client/{backend/core → core}/datetime_utils.py +0 -0
- /agenta/client/{backend/core → core}/file.py +0 -0
- /agenta/client/{backend/core → core}/http_client.py +0 -0
- /agenta/client/{backend/core → core}/jsonable_encoder.py +0 -0
- /agenta/client/{backend/core → core}/pydantic_utilities.py +0 -0
- /agenta/client/{backend/core → core}/query_encoder.py +0 -0
- /agenta/client/{backend/core → core}/remove_none_from_dict.py +0 -0
- /agenta/client/{backend/core → core}/request_options.py +0 -0
- /agenta/client/{backend/core → core}/serialization.py +0 -0
- /agenta/client/{backend/environments → environments}/__init__.py +0 -0
- /agenta/client/{backend/environments → environments}/client.py +0 -0
- /agenta/client/{backend/errors → errors}/__init__.py +0 -0
- /agenta/client/{backend/errors → errors}/unprocessable_entity_error.py +0 -0
- /agenta/client/{backend/evaluations → evaluations}/__init__.py +0 -0
- /agenta/client/{backend/evaluations → evaluations}/client.py +0 -0
- /agenta/client/{backend/evaluators → evaluators}/__init__.py +0 -0
- /agenta/client/{backend/evaluators → evaluators}/client.py +0 -0
- /agenta/client/{backend/human_evaluations → human_evaluations}/__init__.py +0 -0
- /agenta/client/{backend/human_evaluations → human_evaluations}/client.py +0 -0
- /agenta/client/{backend/observability → observability}/__init__.py +0 -0
- /agenta/client/{backend/observability → observability}/client.py +0 -0
- /agenta/client/{backend/observability → observability}/types/__init__.py +0 -0
- /agenta/client/{backend/observability → observability}/types/format.py +0 -0
- /agenta/client/{backend/observability → observability}/types/query_analytics_response.py +0 -0
- /agenta/client/{backend/observability → observability}/types/query_traces_response.py +0 -0
- /agenta/client/{backend/scopes → scopes}/__init__.py +0 -0
- /agenta/client/{backend/scopes → scopes}/client.py +0 -0
- /agenta/client/{backend/testsets → testsets}/__init__.py +0 -0
- /agenta/client/{backend/testsets → testsets}/client.py +0 -0
- /agenta/client/{backend/types → types}/__init__.py +0 -0
- /agenta/client/{backend/types → types}/account_response.py +0 -0
- /agenta/client/{backend/types → types}/agenta_node_dto.py +0 -0
- /agenta/client/{backend/types → types}/agenta_node_dto_nodes_value.py +0 -0
- /agenta/client/{backend/types → types}/agenta_nodes_response.py +0 -0
- /agenta/client/{backend/types → types}/agenta_root_dto.py +0 -0
- /agenta/client/{backend/types → types}/agenta_roots_response.py +0 -0
- /agenta/client/{backend/types → types}/agenta_tree_dto.py +0 -0
- /agenta/client/{backend/types → types}/agenta_trees_response.py +0 -0
- /agenta/client/{backend/types → types}/aggregated_result.py +0 -0
- /agenta/client/{backend/types → types}/aggregated_result_evaluator_config.py +0 -0
- /agenta/client/{backend/types → types}/analytics_response.py +0 -0
- /agenta/client/{backend/types → types}/app.py +0 -0
- /agenta/client/{backend/types → types}/app_variant_response.py +0 -0
- /agenta/client/{backend/types → types}/app_variant_revision.py +0 -0
- /agenta/client/{backend/types → types}/base_output.py +0 -0
- /agenta/client/{backend/types → types}/body_import_testset.py +0 -0
- /agenta/client/{backend/types → types}/bucket_dto.py +0 -0
- /agenta/client/{backend/types → types}/collect_status_response.py +0 -0
- /agenta/client/{backend/types → types}/config_db.py +0 -0
- /agenta/client/{backend/types → types}/config_dto.py +0 -0
- /agenta/client/{backend/types → types}/config_response_model.py +0 -0
- /agenta/client/{backend/types → types}/correct_answer.py +0 -0
- /agenta/client/{backend/types → types}/create_app_output.py +0 -0
- /agenta/client/{backend/types → types}/delete_evaluation.py +0 -0
- /agenta/client/{backend/types → types}/docker_env_vars.py +0 -0
- /agenta/client/{backend/types → types}/environment_output.py +0 -0
- /agenta/client/{backend/types → types}/environment_output_extended.py +0 -0
- /agenta/client/{backend/types → types}/environment_revision.py +0 -0
- /agenta/client/{backend/types → types}/error.py +0 -0
- /agenta/client/{backend/types → types}/evaluation.py +0 -0
- /agenta/client/{backend/types → types}/evaluation_scenario.py +0 -0
- /agenta/client/{backend/types → types}/evaluation_scenario_input.py +0 -0
- /agenta/client/{backend/types → types}/evaluation_scenario_output.py +0 -0
- /agenta/client/{backend/types → types}/evaluation_scenario_result.py +0 -0
- /agenta/client/{backend/types → types}/evaluation_status_enum.py +0 -0
- /agenta/client/{backend/types → types}/evaluation_type.py +0 -0
- /agenta/client/{backend/types → types}/evaluator.py +0 -0
- /agenta/client/{backend/types → types}/evaluator_config.py +0 -0
- /agenta/client/{backend/types → types}/evaluator_mapping_output_interface.py +0 -0
- /agenta/client/{backend/types → types}/evaluator_output_interface.py +0 -0
- /agenta/client/{backend/types → types}/exception_dto.py +0 -0
- /agenta/client/{backend/types → types}/get_config_response.py +0 -0
- /agenta/client/{backend/types → types}/header_dto.py +0 -0
- /agenta/client/{backend/types → types}/http_validation_error.py +0 -0
- /agenta/client/{backend/types → types}/human_evaluation.py +0 -0
- /agenta/client/{backend/types → types}/human_evaluation_scenario.py +0 -0
- /agenta/client/{backend/types → types}/human_evaluation_scenario_input.py +0 -0
- /agenta/client/{backend/types → types}/human_evaluation_scenario_output.py +0 -0
- /agenta/client/{backend/types → types}/image.py +0 -0
- /agenta/client/{backend/types → types}/invite_request.py +0 -0
- /agenta/client/{backend/types → types}/legacy_analytics_response.py +0 -0
- /agenta/client/{backend/types → types}/legacy_data_point.py +0 -0
- /agenta/client/{backend/types → types}/legacy_scope_request.py +0 -0
- /agenta/client/{backend/types → types}/legacy_scopes_response.py +0 -0
- /agenta/client/{backend/types → types}/legacy_user_request.py +0 -0
- /agenta/client/{backend/types → types}/legacy_user_response.py +0 -0
- /agenta/client/{backend/types → types}/lifecycle_dto.py +0 -0
- /agenta/client/{backend/types → types}/link_dto.py +0 -0
- /agenta/client/{backend/types → types}/list_api_keys_response.py +0 -0
- /agenta/client/{backend/types → types}/llm_run_rate_limit.py +0 -0
- /agenta/client/{backend/types → types}/metrics_dto.py +0 -0
- /agenta/client/{backend/types → types}/new_testset.py +0 -0
- /agenta/client/{backend/types → types}/node_dto.py +0 -0
- /agenta/client/{backend/types → types}/node_type.py +0 -0
- /agenta/client/{backend/types → types}/o_tel_context_dto.py +0 -0
- /agenta/client/{backend/types → types}/o_tel_event_dto.py +0 -0
- /agenta/client/{backend/types → types}/o_tel_extra_dto.py +0 -0
- /agenta/client/{backend/types → types}/o_tel_link_dto.py +0 -0
- /agenta/client/{backend/types → types}/o_tel_span_dto.py +0 -0
- /agenta/client/{backend/types → types}/o_tel_span_kind.py +0 -0
- /agenta/client/{backend/types → types}/o_tel_spans_response.py +0 -0
- /agenta/client/{backend/types → types}/o_tel_status_code.py +0 -0
- /agenta/client/{backend/types → types}/organization.py +0 -0
- /agenta/client/{backend/types → types}/organization_membership_request.py +0 -0
- /agenta/client/{backend/types → types}/organization_output.py +0 -0
- /agenta/client/{backend/types → types}/organization_request.py +0 -0
- /agenta/client/{backend/types → types}/parent_dto.py +0 -0
- /agenta/client/{backend/types → types}/permission.py +0 -0
- /agenta/client/{backend/types → types}/project_membership_request.py +0 -0
- /agenta/client/{backend/types → types}/project_request.py +0 -0
- /agenta/client/{backend/types → types}/project_scope.py +0 -0
- /agenta/client/{backend/types → types}/projects_response.py +0 -0
- /agenta/client/{backend/types → types}/provider_key_dto.py +0 -0
- /agenta/client/{backend/types → types}/provider_kind.py +0 -0
- /agenta/client/{backend/types → types}/reference.py +0 -0
- /agenta/client/{backend/types → types}/reference_dto.py +0 -0
- /agenta/client/{backend/types → types}/reference_request_model.py +0 -0
- /agenta/client/{backend/types → types}/result.py +0 -0
- /agenta/client/{backend/types → types}/role.py +0 -0
- /agenta/client/{backend/types → types}/root_dto.py +0 -0
- /agenta/client/{backend/types → types}/scopes_response_model.py +0 -0
- /agenta/client/{backend/types → types}/score.py +0 -0
- /agenta/client/{backend/types → types}/secret_dto.py +0 -0
- /agenta/client/{backend/types → types}/secret_kind.py +0 -0
- /agenta/client/{backend/types → types}/secret_response_dto.py +0 -0
- /agenta/client/{backend/types → types}/simple_evaluation_output.py +0 -0
- /agenta/client/{backend/types → types}/span_dto.py +0 -0
- /agenta/client/{backend/types → types}/span_dto_nodes_value.py +0 -0
- /agenta/client/{backend/types → types}/status_code.py +0 -0
- /agenta/client/{backend/types → types}/status_dto.py +0 -0
- /agenta/client/{backend/types → types}/template.py +0 -0
- /agenta/client/{backend/types → types}/template_image_info.py +0 -0
- /agenta/client/{backend/types → types}/test_set_output_response.py +0 -0
- /agenta/client/{backend/types → types}/test_set_simple_response.py +0 -0
- /agenta/client/{backend/types → types}/time_dto.py +0 -0
- /agenta/client/{backend/types → types}/tree_dto.py +0 -0
- /agenta/client/{backend/types → types}/tree_type.py +0 -0
- /agenta/client/{backend/types → types}/update_app_output.py +0 -0
- /agenta/client/{backend/types → types}/uri.py +0 -0
- /agenta/client/{backend/types → types}/user_request.py +0 -0
- /agenta/client/{backend/types → types}/validation_error.py +0 -0
- /agenta/client/{backend/types → types}/validation_error_loc_item.py +0 -0
- /agenta/client/{backend/types → types}/variant_action.py +0 -0
- /agenta/client/{backend/types → types}/variant_action_enum.py +0 -0
- /agenta/client/{backend/types → types}/workspace_member_response.py +0 -0
- /agenta/client/{backend/types → types}/workspace_membership_request.py +0 -0
- /agenta/client/{backend/types → types}/workspace_permission.py +0 -0
- /agenta/client/{backend/types → types}/workspace_request.py +0 -0
- /agenta/client/{backend/types → types}/workspace_response.py +0 -0
- /agenta/client/{backend/types → types}/workspace_role.py +0 -0
- /agenta/client/{backend/types → types}/workspace_role_response.py +0 -0
- /agenta/client/{backend/variants → variants}/__init__.py +0 -0
- /agenta/client/{backend/variants → variants}/client.py +0 -0
- /agenta/client/{backend/variants → variants}/types/__init__.py +0 -0
- /agenta/client/{backend/variants → variants}/types/add_variant_from_base_and_config_response.py +0 -0
- /agenta/client/{backend/vault → vault}/__init__.py +0 -0
- /agenta/client/{backend/vault → vault}/client.py +0 -0
- {agenta-0.36.2.dist-info → agenta-0.36.4.dist-info}/WHEEL +0 -0
agenta/__init__.py
CHANGED
|
@@ -2,7 +2,7 @@ from typing import Any, Callable, Optional
|
|
|
2
2
|
|
|
3
3
|
from .sdk.utils.preinit import PreInitObject
|
|
4
4
|
|
|
5
|
-
import agenta.client.
|
|
5
|
+
import agenta.client.types as client_types # pylint: disable=wrong-import-order
|
|
6
6
|
|
|
7
7
|
from .sdk.types import (
|
|
8
8
|
MCField,
|
|
@@ -37,7 +37,6 @@ from .sdk.managers.variant import VariantManager
|
|
|
37
37
|
from .sdk.managers.deployment import DeploymentManager
|
|
38
38
|
from .sdk import assets as assets
|
|
39
39
|
from .sdk import tracer
|
|
40
|
-
from .client.exceptions import APIRequestError
|
|
41
40
|
|
|
42
41
|
config = PreInitObject("agenta.config", Config)
|
|
43
42
|
DEFAULT_AGENTA_SINGLETON_INSTANCE = AgentaSingleton()
|
|
@@ -57,8 +56,8 @@ def init(
|
|
|
57
56
|
config_fname: Optional[str] = None,
|
|
58
57
|
redact: Optional[Callable[..., Any]] = None,
|
|
59
58
|
redact_on_error: Optional[bool] = True,
|
|
60
|
-
|
|
61
|
-
|
|
59
|
+
scope_type: Optional[str] = None,
|
|
60
|
+
scope_id: Optional[str] = None,
|
|
62
61
|
):
|
|
63
62
|
global api, async_api, tracing, tracer # pylint: disable=global-statement
|
|
64
63
|
|
|
@@ -68,7 +67,8 @@ def init(
|
|
|
68
67
|
config_fname=config_fname,
|
|
69
68
|
redact=redact,
|
|
70
69
|
redact_on_error=redact_on_error,
|
|
71
|
-
|
|
70
|
+
scope_type=scope_type,
|
|
71
|
+
scope_id=scope_id,
|
|
72
72
|
)
|
|
73
73
|
|
|
74
74
|
api = DEFAULT_AGENTA_SINGLETON_INSTANCE.api # type: ignore
|
agenta/client/Readme.md
CHANGED
|
@@ -8,7 +8,7 @@ To generate the client code using Fern, follow the steps below.
|
|
|
8
8
|
|
|
9
9
|
1. Open a Terminal and navigate to the folder where this Readme.md file is. For example;
|
|
10
10
|
```bash
|
|
11
|
-
cd agenta/
|
|
11
|
+
cd agenta/sdk/agenta/client
|
|
12
12
|
```
|
|
13
13
|
|
|
14
14
|
2. Next ensure you have installed Fern by executing the command;
|
|
@@ -68,7 +68,7 @@ groups:
|
|
|
68
68
|
version: 3.10.6
|
|
69
69
|
output:
|
|
70
70
|
location: local-file-system
|
|
71
|
-
path:
|
|
71
|
+
path: ./
|
|
72
72
|
```
|
|
73
73
|
<img width="1001" alt="image" src="https://github.com/Agenta-AI/agenta/assets/56418363/f537691d-8dbb-4363-b7c0-ecef9f464053">
|
|
74
74
|
|
|
@@ -82,7 +82,7 @@ groups:
|
|
|
82
82
|
fern generate
|
|
83
83
|
```
|
|
84
84
|
|
|
85
|
-
10. Go to `./
|
|
85
|
+
10. Go to `./containers/client.py`, search for the `build_image` function in the AgentaApi class and update `timeout_in_seconds` to `600` in `request_options'. It should now look like this;
|
|
86
86
|
```python
|
|
87
87
|
_response = self._client_wrapper.httpx_client.request(
|
|
88
88
|
"containers/build_image",
|
agenta/client/__init__.py
CHANGED
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
+
|
|
3
|
+
from .types import (
|
|
4
|
+
AccountResponse,
|
|
5
|
+
AgentaNodeDto,
|
|
6
|
+
AgentaNodeDtoNodesValue,
|
|
7
|
+
AgentaNodesResponse,
|
|
8
|
+
AgentaRootDto,
|
|
9
|
+
AgentaRootsResponse,
|
|
10
|
+
AgentaTreeDto,
|
|
11
|
+
AgentaTreesResponse,
|
|
12
|
+
AggregatedResult,
|
|
13
|
+
AggregatedResultEvaluatorConfig,
|
|
14
|
+
AnalyticsResponse,
|
|
15
|
+
App,
|
|
16
|
+
AppVariantResponse,
|
|
17
|
+
AppVariantRevision,
|
|
18
|
+
BaseOutput,
|
|
19
|
+
BodyImportTestset,
|
|
20
|
+
BucketDto,
|
|
21
|
+
CollectStatusResponse,
|
|
22
|
+
ConfigDb,
|
|
23
|
+
ConfigDto,
|
|
24
|
+
ConfigResponseModel,
|
|
25
|
+
CorrectAnswer,
|
|
26
|
+
CreateAppOutput,
|
|
27
|
+
DeleteEvaluation,
|
|
28
|
+
DockerEnvVars,
|
|
29
|
+
EnvironmentOutput,
|
|
30
|
+
EnvironmentOutputExtended,
|
|
31
|
+
EnvironmentRevision,
|
|
32
|
+
Error,
|
|
33
|
+
Evaluation,
|
|
34
|
+
EvaluationScenario,
|
|
35
|
+
EvaluationScenarioInput,
|
|
36
|
+
EvaluationScenarioOutput,
|
|
37
|
+
EvaluationScenarioResult,
|
|
38
|
+
EvaluationStatusEnum,
|
|
39
|
+
EvaluationType,
|
|
40
|
+
Evaluator,
|
|
41
|
+
EvaluatorConfig,
|
|
42
|
+
EvaluatorMappingOutputInterface,
|
|
43
|
+
EvaluatorOutputInterface,
|
|
44
|
+
ExceptionDto,
|
|
45
|
+
GetConfigResponse,
|
|
46
|
+
HeaderDto,
|
|
47
|
+
HttpValidationError,
|
|
48
|
+
HumanEvaluation,
|
|
49
|
+
HumanEvaluationScenario,
|
|
50
|
+
HumanEvaluationScenarioInput,
|
|
51
|
+
HumanEvaluationScenarioOutput,
|
|
52
|
+
Image,
|
|
53
|
+
InviteRequest,
|
|
54
|
+
LegacyAnalyticsResponse,
|
|
55
|
+
LegacyDataPoint,
|
|
56
|
+
LegacyScopeRequest,
|
|
57
|
+
LegacyScopesResponse,
|
|
58
|
+
LegacyUserRequest,
|
|
59
|
+
LegacyUserResponse,
|
|
60
|
+
LifecycleDto,
|
|
61
|
+
LinkDto,
|
|
62
|
+
ListApiKeysResponse,
|
|
63
|
+
LlmRunRateLimit,
|
|
64
|
+
MetricsDto,
|
|
65
|
+
NewTestset,
|
|
66
|
+
NodeDto,
|
|
67
|
+
NodeType,
|
|
68
|
+
OTelContextDto,
|
|
69
|
+
OTelEventDto,
|
|
70
|
+
OTelExtraDto,
|
|
71
|
+
OTelLinkDto,
|
|
72
|
+
OTelSpanDto,
|
|
73
|
+
OTelSpanKind,
|
|
74
|
+
OTelSpansResponse,
|
|
75
|
+
OTelStatusCode,
|
|
76
|
+
Organization,
|
|
77
|
+
OrganizationMembershipRequest,
|
|
78
|
+
OrganizationOutput,
|
|
79
|
+
OrganizationRequest,
|
|
80
|
+
ParentDto,
|
|
81
|
+
Permission,
|
|
82
|
+
ProjectMembershipRequest,
|
|
83
|
+
ProjectRequest,
|
|
84
|
+
ProjectScope,
|
|
85
|
+
ProjectsResponse,
|
|
86
|
+
ProviderKeyDto,
|
|
87
|
+
ProviderKind,
|
|
88
|
+
Reference,
|
|
89
|
+
ReferenceDto,
|
|
90
|
+
ReferenceRequestModel,
|
|
91
|
+
Result,
|
|
92
|
+
Role,
|
|
93
|
+
RootDto,
|
|
94
|
+
ScopesResponseModel,
|
|
95
|
+
Score,
|
|
96
|
+
SecretDto,
|
|
97
|
+
SecretKind,
|
|
98
|
+
SecretResponseDto,
|
|
99
|
+
SimpleEvaluationOutput,
|
|
100
|
+
SpanDto,
|
|
101
|
+
SpanDtoNodesValue,
|
|
102
|
+
StatusCode,
|
|
103
|
+
StatusDto,
|
|
104
|
+
Template,
|
|
105
|
+
TemplateImageInfo,
|
|
106
|
+
TestSetOutputResponse,
|
|
107
|
+
TestSetSimpleResponse,
|
|
108
|
+
TimeDto,
|
|
109
|
+
TreeDto,
|
|
110
|
+
TreeType,
|
|
111
|
+
UpdateAppOutput,
|
|
112
|
+
Uri,
|
|
113
|
+
UserRequest,
|
|
114
|
+
ValidationError,
|
|
115
|
+
ValidationErrorLocItem,
|
|
116
|
+
VariantAction,
|
|
117
|
+
VariantActionEnum,
|
|
118
|
+
WorkspaceMemberResponse,
|
|
119
|
+
WorkspaceMembershipRequest,
|
|
120
|
+
WorkspacePermission,
|
|
121
|
+
WorkspaceRequest,
|
|
122
|
+
WorkspaceResponse,
|
|
123
|
+
WorkspaceRole,
|
|
124
|
+
WorkspaceRoleResponse,
|
|
125
|
+
)
|
|
126
|
+
from .errors import UnprocessableEntityError
|
|
127
|
+
from . import (
|
|
128
|
+
access_control,
|
|
129
|
+
admin,
|
|
130
|
+
apps,
|
|
131
|
+
bases,
|
|
132
|
+
configs,
|
|
133
|
+
containers,
|
|
134
|
+
environments,
|
|
135
|
+
evaluations,
|
|
136
|
+
evaluators,
|
|
137
|
+
human_evaluations,
|
|
138
|
+
observability,
|
|
139
|
+
scopes,
|
|
140
|
+
testsets,
|
|
141
|
+
variants,
|
|
142
|
+
vault,
|
|
143
|
+
)
|
|
144
|
+
from .client import AgentaApi, AsyncAgentaApi
|
|
145
|
+
from .containers import ContainerTemplatesResponse
|
|
146
|
+
from .observability import Format, QueryAnalyticsResponse, QueryTracesResponse
|
|
147
|
+
from .variants import AddVariantFromBaseAndConfigResponse
|
|
148
|
+
|
|
149
|
+
__all__ = [
|
|
150
|
+
"AccountResponse",
|
|
151
|
+
"AddVariantFromBaseAndConfigResponse",
|
|
152
|
+
"AgentaApi",
|
|
153
|
+
"AgentaNodeDto",
|
|
154
|
+
"AgentaNodeDtoNodesValue",
|
|
155
|
+
"AgentaNodesResponse",
|
|
156
|
+
"AgentaRootDto",
|
|
157
|
+
"AgentaRootsResponse",
|
|
158
|
+
"AgentaTreeDto",
|
|
159
|
+
"AgentaTreesResponse",
|
|
160
|
+
"AggregatedResult",
|
|
161
|
+
"AggregatedResultEvaluatorConfig",
|
|
162
|
+
"AnalyticsResponse",
|
|
163
|
+
"App",
|
|
164
|
+
"AppVariantResponse",
|
|
165
|
+
"AppVariantRevision",
|
|
166
|
+
"AsyncAgentaApi",
|
|
167
|
+
"BaseOutput",
|
|
168
|
+
"BodyImportTestset",
|
|
169
|
+
"BucketDto",
|
|
170
|
+
"CollectStatusResponse",
|
|
171
|
+
"ConfigDb",
|
|
172
|
+
"ConfigDto",
|
|
173
|
+
"ConfigResponseModel",
|
|
174
|
+
"ContainerTemplatesResponse",
|
|
175
|
+
"CorrectAnswer",
|
|
176
|
+
"CreateAppOutput",
|
|
177
|
+
"DeleteEvaluation",
|
|
178
|
+
"DockerEnvVars",
|
|
179
|
+
"EnvironmentOutput",
|
|
180
|
+
"EnvironmentOutputExtended",
|
|
181
|
+
"EnvironmentRevision",
|
|
182
|
+
"Error",
|
|
183
|
+
"Evaluation",
|
|
184
|
+
"EvaluationScenario",
|
|
185
|
+
"EvaluationScenarioInput",
|
|
186
|
+
"EvaluationScenarioOutput",
|
|
187
|
+
"EvaluationScenarioResult",
|
|
188
|
+
"EvaluationStatusEnum",
|
|
189
|
+
"EvaluationType",
|
|
190
|
+
"Evaluator",
|
|
191
|
+
"EvaluatorConfig",
|
|
192
|
+
"EvaluatorMappingOutputInterface",
|
|
193
|
+
"EvaluatorOutputInterface",
|
|
194
|
+
"ExceptionDto",
|
|
195
|
+
"Format",
|
|
196
|
+
"GetConfigResponse",
|
|
197
|
+
"HeaderDto",
|
|
198
|
+
"HttpValidationError",
|
|
199
|
+
"HumanEvaluation",
|
|
200
|
+
"HumanEvaluationScenario",
|
|
201
|
+
"HumanEvaluationScenarioInput",
|
|
202
|
+
"HumanEvaluationScenarioOutput",
|
|
203
|
+
"Image",
|
|
204
|
+
"InviteRequest",
|
|
205
|
+
"LegacyAnalyticsResponse",
|
|
206
|
+
"LegacyDataPoint",
|
|
207
|
+
"LegacyScopeRequest",
|
|
208
|
+
"LegacyScopesResponse",
|
|
209
|
+
"LegacyUserRequest",
|
|
210
|
+
"LegacyUserResponse",
|
|
211
|
+
"LifecycleDto",
|
|
212
|
+
"LinkDto",
|
|
213
|
+
"ListApiKeysResponse",
|
|
214
|
+
"LlmRunRateLimit",
|
|
215
|
+
"MetricsDto",
|
|
216
|
+
"NewTestset",
|
|
217
|
+
"NodeDto",
|
|
218
|
+
"NodeType",
|
|
219
|
+
"OTelContextDto",
|
|
220
|
+
"OTelEventDto",
|
|
221
|
+
"OTelExtraDto",
|
|
222
|
+
"OTelLinkDto",
|
|
223
|
+
"OTelSpanDto",
|
|
224
|
+
"OTelSpanKind",
|
|
225
|
+
"OTelSpansResponse",
|
|
226
|
+
"OTelStatusCode",
|
|
227
|
+
"Organization",
|
|
228
|
+
"OrganizationMembershipRequest",
|
|
229
|
+
"OrganizationOutput",
|
|
230
|
+
"OrganizationRequest",
|
|
231
|
+
"ParentDto",
|
|
232
|
+
"Permission",
|
|
233
|
+
"ProjectMembershipRequest",
|
|
234
|
+
"ProjectRequest",
|
|
235
|
+
"ProjectScope",
|
|
236
|
+
"ProjectsResponse",
|
|
237
|
+
"ProviderKeyDto",
|
|
238
|
+
"ProviderKind",
|
|
239
|
+
"QueryAnalyticsResponse",
|
|
240
|
+
"QueryTracesResponse",
|
|
241
|
+
"Reference",
|
|
242
|
+
"ReferenceDto",
|
|
243
|
+
"ReferenceRequestModel",
|
|
244
|
+
"Result",
|
|
245
|
+
"Role",
|
|
246
|
+
"RootDto",
|
|
247
|
+
"ScopesResponseModel",
|
|
248
|
+
"Score",
|
|
249
|
+
"SecretDto",
|
|
250
|
+
"SecretKind",
|
|
251
|
+
"SecretResponseDto",
|
|
252
|
+
"SimpleEvaluationOutput",
|
|
253
|
+
"SpanDto",
|
|
254
|
+
"SpanDtoNodesValue",
|
|
255
|
+
"StatusCode",
|
|
256
|
+
"StatusDto",
|
|
257
|
+
"Template",
|
|
258
|
+
"TemplateImageInfo",
|
|
259
|
+
"TestSetOutputResponse",
|
|
260
|
+
"TestSetSimpleResponse",
|
|
261
|
+
"TimeDto",
|
|
262
|
+
"TreeDto",
|
|
263
|
+
"TreeType",
|
|
264
|
+
"UnprocessableEntityError",
|
|
265
|
+
"UpdateAppOutput",
|
|
266
|
+
"Uri",
|
|
267
|
+
"UserRequest",
|
|
268
|
+
"ValidationError",
|
|
269
|
+
"ValidationErrorLocItem",
|
|
270
|
+
"VariantAction",
|
|
271
|
+
"VariantActionEnum",
|
|
272
|
+
"WorkspaceMemberResponse",
|
|
273
|
+
"WorkspaceMembershipRequest",
|
|
274
|
+
"WorkspacePermission",
|
|
275
|
+
"WorkspaceRequest",
|
|
276
|
+
"WorkspaceResponse",
|
|
277
|
+
"WorkspaceRole",
|
|
278
|
+
"WorkspaceRoleResponse",
|
|
279
|
+
"access_control",
|
|
280
|
+
"admin",
|
|
281
|
+
"apps",
|
|
282
|
+
"bases",
|
|
283
|
+
"configs",
|
|
284
|
+
"containers",
|
|
285
|
+
"environments",
|
|
286
|
+
"evaluations",
|
|
287
|
+
"evaluators",
|
|
288
|
+
"human_evaluations",
|
|
289
|
+
"observability",
|
|
290
|
+
"scopes",
|
|
291
|
+
"testsets",
|
|
292
|
+
"variants",
|
|
293
|
+
"vault",
|
|
294
|
+
]
|