agenta 0.30.0__py3-none-any.whl → 0.30.0a2__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/client/backend/__init__.py +3 -32
- agenta/client/backend/apps/client.py +10 -70
- agenta/client/backend/client.py +45 -61
- agenta/client/backend/configs/client.py +0 -6
- agenta/client/backend/containers/client.py +0 -6
- agenta/client/backend/core/file.py +8 -13
- agenta/client/backend/environments/client.py +0 -6
- agenta/client/backend/evaluations/client.py +1 -14
- agenta/client/backend/evaluators/client.py +0 -24
- agenta/client/backend/observability/client.py +16 -22
- agenta/client/backend/observability_v_1/__init__.py +2 -2
- agenta/client/backend/observability_v_1/client.py +0 -203
- agenta/client/backend/observability_v_1/types/__init__.py +1 -2
- agenta/client/backend/observability_v_1/types/format.py +1 -1
- agenta/client/backend/testsets/client.py +121 -305
- agenta/client/backend/types/__init__.py +2 -24
- agenta/client/backend/types/app.py +1 -2
- agenta/client/backend/types/body_import_testset.py +1 -0
- agenta/client/backend/types/lm_providers_enum.py +21 -0
- agenta/client/backend/types/permission.py +0 -1
- agenta/client/backend/variants/client.py +0 -66
- agenta/sdk/decorators/routing.py +0 -102
- {agenta-0.30.0.dist-info → agenta-0.30.0a2.dist-info}/METADATA +3 -4
- {agenta-0.30.0.dist-info → agenta-0.30.0a2.dist-info}/RECORD +26 -44
- {agenta-0.30.0.dist-info → agenta-0.30.0a2.dist-info}/WHEEL +1 -1
- agenta/client/backend/access_control/__init__.py +0 -1
- agenta/client/backend/access_control/client.py +0 -167
- agenta/client/backend/observability_v_1/types/query_analytics_response.py +0 -7
- agenta/client/backend/scopes/__init__.py +0 -1
- agenta/client/backend/scopes/client.py +0 -114
- agenta/client/backend/types/analytics_response.py +0 -24
- agenta/client/backend/types/bucket_dto.py +0 -26
- agenta/client/backend/types/header_dto.py +0 -22
- agenta/client/backend/types/legacy_analytics_response.py +0 -29
- agenta/client/backend/types/legacy_data_point.py +0 -27
- agenta/client/backend/types/metrics_dto.py +0 -24
- agenta/client/backend/types/projects_response.py +0 -28
- agenta/client/backend/types/provider_key_dto.py +0 -23
- agenta/client/backend/types/provider_kind.py +0 -21
- agenta/client/backend/types/secret_dto.py +0 -24
- agenta/client/backend/types/secret_kind.py +0 -5
- agenta/client/backend/types/secret_response_dto.py +0 -27
- agenta/client/backend/vault/__init__.py +0 -1
- agenta/client/backend/vault/client.py +0 -685
- {agenta-0.30.0.dist-info → agenta-0.30.0a2.dist-info}/entry_points.txt +0 -0
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
3
|
-
from ..core.pydantic_utilities import UniversalBaseModel
|
|
4
|
-
from .provider_kind import ProviderKind
|
|
5
|
-
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
6
|
-
import typing
|
|
7
|
-
import pydantic
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
class ProviderKeyDto(UniversalBaseModel):
|
|
11
|
-
provider: ProviderKind
|
|
12
|
-
key: str
|
|
13
|
-
|
|
14
|
-
if IS_PYDANTIC_V2:
|
|
15
|
-
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(
|
|
16
|
-
extra="allow", frozen=True
|
|
17
|
-
) # type: ignore # Pydantic v2
|
|
18
|
-
else:
|
|
19
|
-
|
|
20
|
-
class Config:
|
|
21
|
-
frozen = True
|
|
22
|
-
smart_union = True
|
|
23
|
-
extra = pydantic.Extra.allow
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
3
|
-
import typing
|
|
4
|
-
|
|
5
|
-
ProviderKind = typing.Union[
|
|
6
|
-
typing.Literal[
|
|
7
|
-
"openai",
|
|
8
|
-
"cohere",
|
|
9
|
-
"anyscale",
|
|
10
|
-
"deepinfra",
|
|
11
|
-
"alephalpha",
|
|
12
|
-
"groq",
|
|
13
|
-
"mistralai",
|
|
14
|
-
"anthropic",
|
|
15
|
-
"perplexityai",
|
|
16
|
-
"togetherai",
|
|
17
|
-
"openrouter",
|
|
18
|
-
"gemini",
|
|
19
|
-
],
|
|
20
|
-
typing.Any,
|
|
21
|
-
]
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
3
|
-
from ..core.pydantic_utilities import UniversalBaseModel
|
|
4
|
-
from .secret_kind import SecretKind
|
|
5
|
-
from .provider_key_dto import ProviderKeyDto
|
|
6
|
-
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
7
|
-
import typing
|
|
8
|
-
import pydantic
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
class SecretDto(UniversalBaseModel):
|
|
12
|
-
kind: SecretKind = "provider_key"
|
|
13
|
-
data: ProviderKeyDto
|
|
14
|
-
|
|
15
|
-
if IS_PYDANTIC_V2:
|
|
16
|
-
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(
|
|
17
|
-
extra="allow", frozen=True
|
|
18
|
-
) # type: ignore # Pydantic v2
|
|
19
|
-
else:
|
|
20
|
-
|
|
21
|
-
class Config:
|
|
22
|
-
frozen = True
|
|
23
|
-
smart_union = True
|
|
24
|
-
extra = pydantic.Extra.allow
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
3
|
-
from ..core.pydantic_utilities import UniversalBaseModel
|
|
4
|
-
import typing
|
|
5
|
-
from .header_dto import HeaderDto
|
|
6
|
-
from .secret_dto import SecretDto
|
|
7
|
-
from .lifecycle_dto import LifecycleDto
|
|
8
|
-
from ..core.pydantic_utilities import IS_PYDANTIC_V2
|
|
9
|
-
import pydantic
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
class SecretResponseDto(UniversalBaseModel):
|
|
13
|
-
header: typing.Optional[HeaderDto] = None
|
|
14
|
-
secret: SecretDto
|
|
15
|
-
id: str
|
|
16
|
-
lifecycle: typing.Optional[LifecycleDto] = None
|
|
17
|
-
|
|
18
|
-
if IS_PYDANTIC_V2:
|
|
19
|
-
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(
|
|
20
|
-
extra="allow", frozen=True
|
|
21
|
-
) # type: ignore # Pydantic v2
|
|
22
|
-
else:
|
|
23
|
-
|
|
24
|
-
class Config:
|
|
25
|
-
frozen = True
|
|
26
|
-
smart_union = True
|
|
27
|
-
extra = pydantic.Extra.allow
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|