amigo_sdk 0.59.0__py3-none-any.whl → 0.60.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.
- amigo_sdk/__init__.py +1 -1
- amigo_sdk/generated/model.py +188 -192
- {amigo_sdk-0.59.0.dist-info → amigo_sdk-0.60.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.59.0.dist-info → amigo_sdk-0.60.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.59.0.dist-info → amigo_sdk-0.60.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.59.0.dist-info → amigo_sdk-0.60.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.59.0.dist-info → amigo_sdk-0.60.0.dist-info}/licenses/LICENSE +0 -0
amigo_sdk/__init__.py
CHANGED
amigo_sdk/generated/model.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# generated by datamodel-codegen:
|
|
2
2
|
# filename: <stdin>
|
|
3
|
-
# timestamp: 2025-11-
|
|
3
|
+
# timestamp: 2025-11-13T01:47:51+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -1601,6 +1601,11 @@ class AmigoLibMongoCollectionsDynamicBehaviorSetVersionAction(BaseModel):
|
|
|
1601
1601
|
)
|
|
1602
1602
|
|
|
1603
1603
|
|
|
1604
|
+
class AmigoLibMongoCollectionsMetricMetricTag(BaseModel):
|
|
1605
|
+
key: str = Field(..., title='Key')
|
|
1606
|
+
value: Optional[str] = Field(..., title='Value')
|
|
1607
|
+
|
|
1608
|
+
|
|
1604
1609
|
AmigoLibMongoCollectionsMetricMetricUserInfo = (
|
|
1605
1610
|
AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1606
1611
|
)
|
|
@@ -1688,11 +1693,6 @@ AmigoLibMongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUserInfo
|
|
|
1688
1693
|
)
|
|
1689
1694
|
|
|
1690
1695
|
|
|
1691
|
-
class AmigoLibMongoCollectionsToolToolTag(BaseModel):
|
|
1692
|
-
key: str = Field(..., title='Key')
|
|
1693
|
-
value: Optional[str] = Field(..., title='Value')
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
1696
|
class AmigoLibMongoCollectionsToolInvocationToolInvocationVersion(BaseModel):
|
|
1697
1697
|
major: int = Field(..., title='Major')
|
|
1698
1698
|
minor: int = Field(..., title='Minor')
|
|
@@ -1937,20 +1937,6 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
|
|
|
1937
1937
|
)
|
|
1938
1938
|
|
|
1939
1939
|
|
|
1940
|
-
class DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
|
|
1941
|
-
BaseModel
|
|
1942
|
-
):
|
|
1943
|
-
id: str = Field(..., title='Id')
|
|
1944
|
-
name: str = Field(..., title='Name')
|
|
1945
|
-
is_active: bool = Field(..., title='Is Active')
|
|
1946
|
-
applied_to_services: List[str] = Field(..., title='Applied To Services')
|
|
1947
|
-
tags: Dict[str, Optional[str]] = Field(..., title='Tags')
|
|
1948
|
-
created_at: AwareDatetime = Field(..., title='Created At')
|
|
1949
|
-
creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1950
|
-
updated_at: AwareDatetime = Field(..., title='Updated At')
|
|
1951
|
-
updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
1940
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
1955
1941
|
applied_to_services_ids: List[str] = Field(
|
|
1956
1942
|
...,
|
|
@@ -1971,14 +1957,18 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
|
1971
1957
|
)
|
|
1972
1958
|
|
|
1973
1959
|
|
|
1974
|
-
class
|
|
1975
|
-
|
|
1976
|
-
|
|
1977
|
-
|
|
1978
|
-
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
)
|
|
1960
|
+
class DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
|
|
1961
|
+
BaseModel
|
|
1962
|
+
):
|
|
1963
|
+
id: str = Field(..., title='Id')
|
|
1964
|
+
name: str = Field(..., title='Name')
|
|
1965
|
+
is_active: bool = Field(..., title='Is Active')
|
|
1966
|
+
applied_to_services: List[str] = Field(..., title='Applied To Services')
|
|
1967
|
+
tags: Dict[str, Optional[str]] = Field(..., title='Tags')
|
|
1968
|
+
created_at: AwareDatetime = Field(..., title='Created At')
|
|
1969
|
+
creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1970
|
+
updated_at: AwareDatetime = Field(..., title='Updated At')
|
|
1971
|
+
updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1982
1972
|
|
|
1983
1973
|
|
|
1984
1974
|
class DynamicBehaviorSetUpdateDynamicBehaviorSetRequestAppliedToService(
|
|
@@ -10734,6 +10724,13 @@ class OrganizationCreateOrganizationRequestPreferences(BaseModel):
|
|
|
10734
10724
|
)
|
|
10735
10725
|
|
|
10736
10726
|
|
|
10727
|
+
class OrganizationCreateOrganizationRequestUserDimension(BaseModel):
|
|
10728
|
+
description: str = Field(..., min_length=1)
|
|
10729
|
+
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10730
|
+
..., title='Tags'
|
|
10731
|
+
)
|
|
10732
|
+
|
|
10733
|
+
|
|
10737
10734
|
class OrganizationCreateOrganizationResponse(BaseModel):
|
|
10738
10735
|
org_id: str = Field(
|
|
10739
10736
|
...,
|
|
@@ -10875,18 +10872,22 @@ class OrganizationGetUserDimensionsResponse(BaseModel):
|
|
|
10875
10872
|
)
|
|
10876
10873
|
|
|
10877
10874
|
|
|
10875
|
+
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
10876
|
+
RootModel[List[OrganizationCreateOrganizationRequestUserDimension]]
|
|
10877
|
+
):
|
|
10878
|
+
root: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
10879
|
+
...,
|
|
10880
|
+
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
10881
|
+
min_length=1,
|
|
10882
|
+
title='User Dimensions',
|
|
10883
|
+
)
|
|
10884
|
+
|
|
10885
|
+
|
|
10878
10886
|
OrganizationModifyOrganizationRequestPreferences = (
|
|
10879
10887
|
OrganizationCreateOrganizationRequestPreferences
|
|
10880
10888
|
)
|
|
10881
10889
|
|
|
10882
10890
|
|
|
10883
|
-
class OrganizationModifyOrganizationRequestUserDimension(BaseModel):
|
|
10884
|
-
description: str = Field(..., min_length=1)
|
|
10885
|
-
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10886
|
-
..., title='Tags'
|
|
10887
|
-
)
|
|
10888
|
-
|
|
10889
|
-
|
|
10890
10891
|
class RoleAssignRoleRequest(BaseModel):
|
|
10891
10892
|
user_id: str = Field(
|
|
10892
10893
|
...,
|
|
@@ -10946,6 +10947,11 @@ class ServiceCreateServiceRequestVersionSetLLMConfig(BaseModel):
|
|
|
10946
10947
|
)
|
|
10947
10948
|
|
|
10948
10949
|
|
|
10950
|
+
class ServiceCreateServiceRequestVersionSetLLMLoadBalancingSetConfig(BaseModel):
|
|
10951
|
+
llm_load_balancing_set_name: LLMLoadBalancingSetType
|
|
10952
|
+
configs: Dict[str, PerLLMConfig] = Field(..., title='Configs')
|
|
10953
|
+
|
|
10954
|
+
|
|
10949
10955
|
class ServiceCreateServiceResponse(BaseModel):
|
|
10950
10956
|
id: str = Field(..., description='The ID of the newly created service.', title='Id')
|
|
10951
10957
|
|
|
@@ -11005,13 +11011,6 @@ class ServiceUpdateServiceRequest(BaseModel):
|
|
|
11005
11011
|
)
|
|
11006
11012
|
|
|
11007
11013
|
|
|
11008
|
-
class ServiceUpsertServiceVersionSetRequestVersionSetLLMLoadBalancingSetConfig(
|
|
11009
|
-
BaseModel
|
|
11010
|
-
):
|
|
11011
|
-
llm_load_balancing_set_name: LLMLoadBalancingSetType
|
|
11012
|
-
configs: Dict[str, PerLLMConfig] = Field(..., title='Configs')
|
|
11013
|
-
|
|
11014
|
-
|
|
11015
11014
|
class SimulationCreateSimulationPersonaRequestInitialVersion(BaseModel):
|
|
11016
11015
|
background: str = Field(
|
|
11017
11016
|
..., description='The background of the simulation persona.', min_length=1
|
|
@@ -11130,6 +11129,16 @@ class SimulationCreateSimulationUnitTestResponse(BaseModel):
|
|
|
11130
11129
|
)
|
|
11131
11130
|
|
|
11132
11131
|
|
|
11132
|
+
class SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
|
|
11133
|
+
unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
|
|
11134
|
+
run_count: int = Field(
|
|
11135
|
+
...,
|
|
11136
|
+
description='The number of times to run the unit test.',
|
|
11137
|
+
gt=0,
|
|
11138
|
+
title='Run Count',
|
|
11139
|
+
)
|
|
11140
|
+
|
|
11141
|
+
|
|
11133
11142
|
class SimulationCreateSimulationUnitTestSetResponse(BaseModel):
|
|
11134
11143
|
simulation_unit_test_set_id: str = Field(
|
|
11135
11144
|
...,
|
|
@@ -11220,6 +11229,37 @@ class SimulationGetSimulationScenariosResponseFilterValues(BaseModel):
|
|
|
11220
11229
|
)
|
|
11221
11230
|
|
|
11222
11231
|
|
|
11232
|
+
class SimulationGetSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
|
|
11233
|
+
id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
|
|
11234
|
+
name: str = Field(
|
|
11235
|
+
..., description='The name of the simulation scenario.', title='Name'
|
|
11236
|
+
)
|
|
11237
|
+
tags: Dict[str, Optional[str]] = Field(
|
|
11238
|
+
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11239
|
+
)
|
|
11240
|
+
is_deleted: bool = Field(
|
|
11241
|
+
...,
|
|
11242
|
+
description='Whether the simulation scenario is deleted.',
|
|
11243
|
+
title='Is Deleted',
|
|
11244
|
+
)
|
|
11245
|
+
created_at: AwareDatetime = Field(
|
|
11246
|
+
...,
|
|
11247
|
+
description='The timestamp when the simulation scenario was created.',
|
|
11248
|
+
title='Created At',
|
|
11249
|
+
)
|
|
11250
|
+
creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11251
|
+
Field(..., description='The user who created the simulation scenario.')
|
|
11252
|
+
)
|
|
11253
|
+
updated_at: AwareDatetime = Field(
|
|
11254
|
+
...,
|
|
11255
|
+
description='The timestamp when the simulation scenario was last updated.',
|
|
11256
|
+
title='Updated At',
|
|
11257
|
+
)
|
|
11258
|
+
updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11259
|
+
Field(..., description='The user who last updated the simulation scenario.')
|
|
11260
|
+
)
|
|
11261
|
+
|
|
11262
|
+
|
|
11223
11263
|
class SimulationGetSimulationUnitTestSetRunArtifactsResponse(BaseModel):
|
|
11224
11264
|
presigned_url: str = Field(
|
|
11225
11265
|
...,
|
|
@@ -11342,34 +11382,13 @@ class SimulationSearchSimulationPersonasResponseSimulationPersonaInstance(BaseMo
|
|
|
11342
11382
|
)
|
|
11343
11383
|
|
|
11344
11384
|
|
|
11345
|
-
class
|
|
11346
|
-
|
|
11347
|
-
|
|
11348
|
-
|
|
11349
|
-
)
|
|
11350
|
-
tags: Dict[str, Optional[str]] = Field(
|
|
11351
|
-
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11352
|
-
)
|
|
11353
|
-
is_deleted: bool = Field(
|
|
11354
|
-
...,
|
|
11355
|
-
description='Whether the simulation scenario is deleted.',
|
|
11356
|
-
title='Is Deleted',
|
|
11357
|
-
)
|
|
11358
|
-
created_at: AwareDatetime = Field(
|
|
11359
|
-
...,
|
|
11360
|
-
description='The timestamp when the simulation scenario was created.',
|
|
11361
|
-
title='Created At',
|
|
11362
|
-
)
|
|
11363
|
-
creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11364
|
-
Field(..., description='The user who created the simulation scenario.')
|
|
11365
|
-
)
|
|
11366
|
-
updated_at: AwareDatetime = Field(
|
|
11385
|
+
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
11386
|
+
simulation_scenarios: List[
|
|
11387
|
+
SimulationGetSimulationScenariosResponseSimulationScenarioInstance
|
|
11388
|
+
] = Field(
|
|
11367
11389
|
...,
|
|
11368
|
-
description='The
|
|
11369
|
-
title='
|
|
11370
|
-
)
|
|
11371
|
-
updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11372
|
-
Field(..., description='The user who last updated the simulation scenario.')
|
|
11390
|
+
description='The list of simulation scenarios.',
|
|
11391
|
+
title='Simulation Scenarios',
|
|
11373
11392
|
)
|
|
11374
11393
|
|
|
11375
11394
|
|
|
@@ -11430,13 +11449,39 @@ class SimulationUpdateSimulationUnitTestRequestRunCount(RootModel[int]):
|
|
|
11430
11449
|
)
|
|
11431
11450
|
|
|
11432
11451
|
|
|
11433
|
-
class
|
|
11434
|
-
|
|
11435
|
-
|
|
11436
|
-
|
|
11437
|
-
|
|
11438
|
-
|
|
11439
|
-
|
|
11452
|
+
class SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns(
|
|
11453
|
+
RootModel[List[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
|
|
11454
|
+
):
|
|
11455
|
+
root: List[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
|
|
11456
|
+
Field(
|
|
11457
|
+
...,
|
|
11458
|
+
description='The unit test runs that are part of this set.',
|
|
11459
|
+
min_length=1,
|
|
11460
|
+
title='Unit Test Runs',
|
|
11461
|
+
)
|
|
11462
|
+
)
|
|
11463
|
+
|
|
11464
|
+
|
|
11465
|
+
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
11466
|
+
name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
11467
|
+
None, description='The name of the simulation unit test set.'
|
|
11468
|
+
)
|
|
11469
|
+
description: Optional[
|
|
11470
|
+
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
11471
|
+
] = Field(
|
|
11472
|
+
{},
|
|
11473
|
+
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
11474
|
+
title='Description',
|
|
11475
|
+
)
|
|
11476
|
+
unit_test_runs: Optional[
|
|
11477
|
+
SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
|
|
11478
|
+
] = Field(
|
|
11479
|
+
None,
|
|
11480
|
+
description='The unit test runs that are part of this set.',
|
|
11481
|
+
title='Unit Test Runs',
|
|
11482
|
+
)
|
|
11483
|
+
tags: Optional[Dict[str, Optional[str]]] = Field(
|
|
11484
|
+
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
11440
11485
|
)
|
|
11441
11486
|
|
|
11442
11487
|
|
|
@@ -12064,7 +12109,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
|
|
|
12064
12109
|
[], description='The IDs of the messages to retrieve.', title='Id'
|
|
12065
12110
|
)
|
|
12066
12111
|
message_type: Optional[List[MessageType]] = Field(
|
|
12067
|
-
['
|
|
12112
|
+
['external-event', 'agent-message', 'user-message'],
|
|
12068
12113
|
description='The type of messages to retrieve.',
|
|
12069
12114
|
title='Message Type',
|
|
12070
12115
|
)
|
|
@@ -13795,7 +13840,7 @@ class ServiceInstance(BaseModel):
|
|
|
13795
13840
|
agent_id: str = Field(
|
|
13796
13841
|
..., description='The ID of the agent that this service uses.', title='Agent Id'
|
|
13797
13842
|
)
|
|
13798
|
-
tags: List[
|
|
13843
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
13799
13844
|
..., description='The tags of the service.', title='Tags'
|
|
13800
13845
|
)
|
|
13801
13846
|
|
|
@@ -13848,7 +13893,7 @@ class SimulationUnitTestSet(BaseModel):
|
|
|
13848
13893
|
description='Whether the unit test set has been deleted.',
|
|
13849
13894
|
title='Is Deleted',
|
|
13850
13895
|
)
|
|
13851
|
-
tags: List[
|
|
13896
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
13852
13897
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13853
13898
|
)
|
|
13854
13899
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -13887,7 +13932,7 @@ class SimulationUnitTestSetInstance(BaseModel):
|
|
|
13887
13932
|
description='Whether the unit test set has been deleted.',
|
|
13888
13933
|
title='Is Deleted',
|
|
13889
13934
|
)
|
|
13890
|
-
tags: List[
|
|
13935
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
13891
13936
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13892
13937
|
)
|
|
13893
13938
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -13999,7 +14044,7 @@ class ToolInstance(BaseModel):
|
|
|
13999
14044
|
description='A list of encrypted environment variables that some versions of this tool uses.',
|
|
14000
14045
|
title='Secret Envvars',
|
|
14001
14046
|
)
|
|
14002
|
-
tags: List[
|
|
14047
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
14003
14048
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
14004
14049
|
)
|
|
14005
14050
|
|
|
@@ -14333,7 +14378,7 @@ class DynamicBehaviorSetGetDynamicBehaviorSetVersionsResponse(BaseModel):
|
|
|
14333
14378
|
|
|
14334
14379
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
14335
14380
|
dynamic_behavior_sets: List[
|
|
14336
|
-
|
|
14381
|
+
DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14337
14382
|
] = Field(
|
|
14338
14383
|
...,
|
|
14339
14384
|
description='The retrieved dynamic behavior sets.',
|
|
@@ -14357,6 +14402,16 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
|
14357
14402
|
)
|
|
14358
14403
|
|
|
14359
14404
|
|
|
14405
|
+
class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
|
|
14406
|
+
dynamic_behavior_sets: List[
|
|
14407
|
+
DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14408
|
+
] = Field(
|
|
14409
|
+
...,
|
|
14410
|
+
description='The retrieved dynamic behavior sets.',
|
|
14411
|
+
title='Dynamic Behavior Sets',
|
|
14412
|
+
)
|
|
14413
|
+
|
|
14414
|
+
|
|
14360
14415
|
class MetricCreateMetricRequest(BaseModel):
|
|
14361
14416
|
name: str = Field(
|
|
14362
14417
|
...,
|
|
@@ -14413,7 +14468,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
|
|
|
14413
14468
|
description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
|
|
14414
14469
|
min_length=1,
|
|
14415
14470
|
)
|
|
14416
|
-
user_dimensions: List[
|
|
14471
|
+
user_dimensions: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
14417
14472
|
...,
|
|
14418
14473
|
description='User dimensions for the organization.',
|
|
14419
14474
|
title='User Dimensions',
|
|
@@ -14557,17 +14612,6 @@ class OrganizationGetOrganizationMetricsResponse(BaseModel):
|
|
|
14557
14612
|
)
|
|
14558
14613
|
|
|
14559
14614
|
|
|
14560
|
-
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
14561
|
-
RootModel[List[OrganizationModifyOrganizationRequestUserDimension]]
|
|
14562
|
-
):
|
|
14563
|
-
root: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14564
|
-
...,
|
|
14565
|
-
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
14566
|
-
min_length=1,
|
|
14567
|
-
title='User Dimensions',
|
|
14568
|
-
)
|
|
14569
|
-
|
|
14570
|
-
|
|
14571
14615
|
class OrganizationModifyOrganizationRequest(BaseModel):
|
|
14572
14616
|
title: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14573
14617
|
None,
|
|
@@ -14642,6 +14686,26 @@ class RoleModifyRoleRequestPermissionGrant(BaseModel):
|
|
|
14642
14686
|
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = None
|
|
14643
14687
|
|
|
14644
14688
|
|
|
14689
|
+
class ServiceCreateServiceRequestVersionSet(BaseModel):
|
|
14690
|
+
agent_version_number: Optional[int] = Field(
|
|
14691
|
+
...,
|
|
14692
|
+
description='The version number of the agent to be used. If None, the latest agent version will be used.',
|
|
14693
|
+
title='Agent Version Number',
|
|
14694
|
+
)
|
|
14695
|
+
service_hierarchical_state_machine_version_number: Optional[int] = Field(
|
|
14696
|
+
...,
|
|
14697
|
+
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
14698
|
+
title='Service Hierarchical State Machine Version Number',
|
|
14699
|
+
)
|
|
14700
|
+
llm_model_preferences: Dict[
|
|
14701
|
+
str,
|
|
14702
|
+
Union[
|
|
14703
|
+
ServiceCreateServiceRequestVersionSetLLMConfig,
|
|
14704
|
+
ServiceCreateServiceRequestVersionSetLLMLoadBalancingSetConfig,
|
|
14705
|
+
],
|
|
14706
|
+
] = Field(..., title='Llm Model Preferences')
|
|
14707
|
+
|
|
14708
|
+
|
|
14645
14709
|
class ServiceGetServicesResponse(BaseModel):
|
|
14646
14710
|
services: List[ServiceInstance] = Field(
|
|
14647
14711
|
..., description='The services that are found.', title='Services'
|
|
@@ -14662,24 +14726,10 @@ class ServiceGetServicesResponse(BaseModel):
|
|
|
14662
14726
|
)
|
|
14663
14727
|
|
|
14664
14728
|
|
|
14665
|
-
class
|
|
14666
|
-
|
|
14667
|
-
...,
|
|
14668
|
-
description='The version number of the agent to be used. If None, the latest agent version will be used.',
|
|
14669
|
-
title='Agent Version Number',
|
|
14670
|
-
)
|
|
14671
|
-
service_hierarchical_state_machine_version_number: Optional[int] = Field(
|
|
14672
|
-
...,
|
|
14673
|
-
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
14674
|
-
title='Service Hierarchical State Machine Version Number',
|
|
14729
|
+
class ServiceUpsertServiceVersionSetRequest(BaseModel):
|
|
14730
|
+
version_set: ServiceCreateServiceRequestVersionSet = Field(
|
|
14731
|
+
..., description='The version set to upsert.'
|
|
14675
14732
|
)
|
|
14676
|
-
llm_model_preferences: Dict[
|
|
14677
|
-
str,
|
|
14678
|
-
Union[
|
|
14679
|
-
ServiceCreateServiceRequestVersionSetLLMConfig,
|
|
14680
|
-
ServiceUpsertServiceVersionSetRequestVersionSetLLMLoadBalancingSetConfig,
|
|
14681
|
-
],
|
|
14682
|
-
] = Field(..., title='Llm Model Preferences')
|
|
14683
14733
|
|
|
14684
14734
|
|
|
14685
14735
|
class SimulationCreateSimulationPersonaRequest(BaseModel):
|
|
@@ -14731,7 +14781,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14731
14781
|
..., description='The description of the simulation unit test set.'
|
|
14732
14782
|
)
|
|
14733
14783
|
unit_test_runs: List[
|
|
14734
|
-
|
|
14784
|
+
SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor
|
|
14735
14785
|
] = Field(
|
|
14736
14786
|
...,
|
|
14737
14787
|
description='The unit test runs that are part of this set.',
|
|
@@ -14769,7 +14819,7 @@ class SimulationGetSimulationPersonasResponse(BaseModel):
|
|
|
14769
14819
|
|
|
14770
14820
|
class SimulationGetSimulationScenariosResponse(BaseModel):
|
|
14771
14821
|
simulation_scenarios: List[
|
|
14772
|
-
|
|
14822
|
+
SimulationGetSimulationScenariosResponseSimulationScenarioInstance
|
|
14773
14823
|
] = Field(
|
|
14774
14824
|
...,
|
|
14775
14825
|
description='The list of simulation scenarios.',
|
|
@@ -14825,16 +14875,6 @@ class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
|
14825
14875
|
)
|
|
14826
14876
|
|
|
14827
14877
|
|
|
14828
|
-
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
14829
|
-
simulation_scenarios: List[
|
|
14830
|
-
SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
|
|
14831
|
-
] = Field(
|
|
14832
|
-
...,
|
|
14833
|
-
description='The list of simulation scenarios.',
|
|
14834
|
-
title='Simulation Scenarios',
|
|
14835
|
-
)
|
|
14836
|
-
|
|
14837
|
-
|
|
14838
14878
|
class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
|
|
14839
14879
|
simulation_unit_test_sets: List[SimulationUnitTestSet] = Field(
|
|
14840
14880
|
...,
|
|
@@ -14848,42 +14888,6 @@ SimulationUpdateSimulationUnitTestRequestSuccessCriterion = (
|
|
|
14848
14888
|
)
|
|
14849
14889
|
|
|
14850
14890
|
|
|
14851
|
-
class SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns(
|
|
14852
|
-
RootModel[List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
|
|
14853
|
-
):
|
|
14854
|
-
root: List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
|
|
14855
|
-
Field(
|
|
14856
|
-
...,
|
|
14857
|
-
description='The unit test runs that are part of this set.',
|
|
14858
|
-
min_length=1,
|
|
14859
|
-
title='Unit Test Runs',
|
|
14860
|
-
)
|
|
14861
|
-
)
|
|
14862
|
-
|
|
14863
|
-
|
|
14864
|
-
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
14865
|
-
name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14866
|
-
None, description='The name of the simulation unit test set.'
|
|
14867
|
-
)
|
|
14868
|
-
description: Optional[
|
|
14869
|
-
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
14870
|
-
] = Field(
|
|
14871
|
-
{},
|
|
14872
|
-
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
14873
|
-
title='Description',
|
|
14874
|
-
)
|
|
14875
|
-
unit_test_runs: Optional[
|
|
14876
|
-
SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
|
|
14877
|
-
] = Field(
|
|
14878
|
-
None,
|
|
14879
|
-
description='The unit test runs that are part of this set.',
|
|
14880
|
-
title='Unit Test Runs',
|
|
14881
|
-
)
|
|
14882
|
-
tags: Optional[Dict[str, Optional[str]]] = Field(
|
|
14883
|
-
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
14884
|
-
)
|
|
14885
|
-
|
|
14886
|
-
|
|
14887
14891
|
class ToolGetToolVersionsResponse(BaseModel):
|
|
14888
14892
|
tool_versions: List[ToolVersionInstance] = Field(
|
|
14889
14893
|
...,
|
|
@@ -15017,7 +15021,7 @@ class UserGetUserModelResponse(BaseModel):
|
|
|
15017
15021
|
)
|
|
15018
15022
|
|
|
15019
15023
|
|
|
15020
|
-
class
|
|
15024
|
+
class UserGetUsersResponseUserInstance(BaseModel):
|
|
15021
15025
|
org_id: str = Field(
|
|
15022
15026
|
...,
|
|
15023
15027
|
description='The ID of the organization that this user belongs to.',
|
|
@@ -15042,6 +15046,12 @@ class UserSearchUsersResponseUserInstance(BaseModel):
|
|
|
15042
15046
|
)
|
|
15043
15047
|
|
|
15044
15048
|
|
|
15049
|
+
class UserSearchUsersResponse(BaseModel):
|
|
15050
|
+
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
15051
|
+
..., description='Users in this organization.', title='Users'
|
|
15052
|
+
)
|
|
15053
|
+
|
|
15054
|
+
|
|
15045
15055
|
class WebhookDestinationGetWebhookDeliveriesResponse(BaseModel):
|
|
15046
15056
|
webhook_deliveries: List[WebhookDeliveryInstance] = Field(
|
|
15047
15057
|
..., description='The retrieved webhook deliveries.', title='Webhook Deliveries'
|
|
@@ -15225,7 +15235,7 @@ class Metric(BaseModel):
|
|
|
15225
15235
|
additional_notes: Optional[str] = Field(
|
|
15226
15236
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15227
15237
|
)
|
|
15228
|
-
tags: List[
|
|
15238
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
15229
15239
|
..., description='The tags of the metric.', title='Tags'
|
|
15230
15240
|
)
|
|
15231
15241
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15295,7 +15305,7 @@ class MetricInstance(BaseModel):
|
|
|
15295
15305
|
additional_notes: Optional[str] = Field(
|
|
15296
15306
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15297
15307
|
)
|
|
15298
|
-
tags: List[
|
|
15308
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
15299
15309
|
..., description='The tags of the metric.', title='Tags'
|
|
15300
15310
|
)
|
|
15301
15311
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15497,7 +15507,7 @@ class SimulationUnitTest(BaseModel):
|
|
|
15497
15507
|
is_deleted: bool = Field(
|
|
15498
15508
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15499
15509
|
)
|
|
15500
|
-
tags: List[
|
|
15510
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
15501
15511
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15502
15512
|
)
|
|
15503
15513
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
@@ -15542,7 +15552,7 @@ class SimulationUnitTestInstance(BaseModel):
|
|
|
15542
15552
|
is_deleted: bool = Field(
|
|
15543
15553
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15544
15554
|
)
|
|
15545
|
-
tags: List[
|
|
15555
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
15546
15556
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15547
15557
|
)
|
|
15548
15558
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
@@ -15916,23 +15926,15 @@ class ServiceCreateServiceRequest(BaseModel):
|
|
|
15916
15926
|
description='Whether the newly-created service is active. Only active services are visible to users on the dashboard. You can later adjust the activeness of this service.',
|
|
15917
15927
|
title='Is Active',
|
|
15918
15928
|
)
|
|
15919
|
-
release_version_set: Optional[
|
|
15920
|
-
|
|
15921
|
-
|
|
15922
|
-
description='The `release` version set to use for this service. If not specified, the `release` version set will be the same as the `edge` version set, which uses the\nlatest agent and state machine versions with no model preference.',
|
|
15923
|
-
)
|
|
15929
|
+
release_version_set: Optional[ServiceCreateServiceRequestVersionSet] = Field(
|
|
15930
|
+
None,
|
|
15931
|
+
description='The `release` version set to use for this service. If not specified, the `release` version set will be the same as the `edge` version set, which uses the\nlatest agent and state machine versions with no model preference.',
|
|
15924
15932
|
)
|
|
15925
15933
|
tags: Dict[str, Optional[StrippedNonemptyStringWS]] = Field(
|
|
15926
15934
|
..., description='The tags of this service.', title='Tags'
|
|
15927
15935
|
)
|
|
15928
15936
|
|
|
15929
15937
|
|
|
15930
|
-
class ServiceUpsertServiceVersionSetRequest(BaseModel):
|
|
15931
|
-
version_set: ServiceUpsertServiceVersionSetRequestVersionSet = Field(
|
|
15932
|
-
..., description='The version set to upsert.'
|
|
15933
|
-
)
|
|
15934
|
-
|
|
15935
|
-
|
|
15936
15938
|
class SimulationCreateSimulationUnitTestRequest(BaseModel):
|
|
15937
15939
|
name: str = Field(..., description='The name of the unit test.', min_length=1)
|
|
15938
15940
|
description: str = Field(
|
|
@@ -16066,7 +16068,7 @@ class SimulationUpdateSimulationUnitTestRequest(BaseModel):
|
|
|
16066
16068
|
)
|
|
16067
16069
|
|
|
16068
16070
|
|
|
16069
|
-
class
|
|
16071
|
+
class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
16070
16072
|
id: str = Field(..., description='The ID of the tool invocation.', title='Id')
|
|
16071
16073
|
org_id: str = Field(..., description='The ID of the organization.', title='Org Id')
|
|
16072
16074
|
created_at: Optional[AwareDatetime] = Field(None, title='Created At')
|
|
@@ -16093,16 +16095,8 @@ class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
|
16093
16095
|
)
|
|
16094
16096
|
|
|
16095
16097
|
|
|
16096
|
-
class ToolSearchToolInvocationsResponse(BaseModel):
|
|
16097
|
-
tool_invocations: List[ToolGetToolInvocationsResponseToolInvocationInstance] = (
|
|
16098
|
-
Field(
|
|
16099
|
-
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16100
|
-
)
|
|
16101
|
-
)
|
|
16102
|
-
|
|
16103
|
-
|
|
16104
16098
|
class UserGetUsersResponse(BaseModel):
|
|
16105
|
-
users: List[
|
|
16099
|
+
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
16106
16100
|
..., description='Users in this organization.', title='Users'
|
|
16107
16101
|
)
|
|
16108
16102
|
has_more: bool = Field(
|
|
@@ -16115,12 +16109,6 @@ class UserGetUsersResponse(BaseModel):
|
|
|
16115
16109
|
)
|
|
16116
16110
|
|
|
16117
16111
|
|
|
16118
|
-
class UserSearchUsersResponse(BaseModel):
|
|
16119
|
-
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
16120
|
-
..., description='Users in this organization.', title='Users'
|
|
16121
|
-
)
|
|
16122
|
-
|
|
16123
|
-
|
|
16124
16112
|
class SimulationUnitTestSetRunInstance(BaseModel):
|
|
16125
16113
|
org_id: str = Field(..., title='Org Id')
|
|
16126
16114
|
id: str = Field(..., title='Id')
|
|
@@ -16220,7 +16208,7 @@ class SimulationGetSimulationUnitTestSetRunsResponse(BaseModel):
|
|
|
16220
16208
|
|
|
16221
16209
|
|
|
16222
16210
|
class ToolGetToolInvocationsResponse(BaseModel):
|
|
16223
|
-
tool_invocations: List[
|
|
16211
|
+
tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
|
|
16224
16212
|
Field(
|
|
16225
16213
|
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16226
16214
|
)
|
|
@@ -16235,3 +16223,11 @@ class ToolGetToolInvocationsResponse(BaseModel):
|
|
|
16235
16223
|
description='The continuation token to retrieve the next page of tool invocations, or null if there are no more tool invocations.',
|
|
16236
16224
|
title='Continuation Token',
|
|
16237
16225
|
)
|
|
16226
|
+
|
|
16227
|
+
|
|
16228
|
+
class ToolSearchToolInvocationsResponse(BaseModel):
|
|
16229
|
+
tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
|
|
16230
|
+
Field(
|
|
16231
|
+
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16232
|
+
)
|
|
16233
|
+
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
amigo_sdk/__init__.py,sha256=
|
|
1
|
+
amigo_sdk/__init__.py,sha256=rgp1sJXXCKEVwuxoIMTj5ymrLUO0G_eYGZSjSkHbvow,139
|
|
2
2
|
amigo_sdk/_retry_utils.py,sha256=kFjw9Wqye6MB5-B4rjLxsbSNcfYBIztcollIoncd1hY,2142
|
|
3
3
|
amigo_sdk/auth.py,sha256=WaM9PcEcnaC6CzNsgRKueHkdSAxNbRylzpR_3Q6guQ0,1765
|
|
4
4
|
amigo_sdk/config.py,sha256=0eZIo-hcJ8ODftKAr-mwB-FGJxGO5PT5T4dRpyWPqAg,1491
|
|
@@ -6,13 +6,13 @@ amigo_sdk/errors.py,sha256=RkRyF5eAASd8fIOS6YvL9rLDvLAYWqHfpHSCR7jqvl4,4840
|
|
|
6
6
|
amigo_sdk/http_client.py,sha256=v25UoUbXcMeHTnfJMcrl8RSSwCVkKUL1Jv-0HoXP1B4,13507
|
|
7
7
|
amigo_sdk/models.py,sha256=V-G6iL43_ZNOPDcatCJCSszGWGz-nzp_RSyGNm-rBAc,45
|
|
8
8
|
amigo_sdk/sdk_client.py,sha256=Kr9M9o66pOLu0T2VDvqdYMmPZzgKJyTELu7BSPgGrYQ,6152
|
|
9
|
-
amigo_sdk/generated/model.py,sha256=
|
|
9
|
+
amigo_sdk/generated/model.py,sha256=dM-xfybcf5JOrabD7ZgriOLdjv7mx97wmPQdLc4UD9A,452054
|
|
10
10
|
amigo_sdk/resources/conversation.py,sha256=5PkJOvLKqnriSS9K9hKw2VRPxRLTuABEbCyPy1fz1r0,14817
|
|
11
11
|
amigo_sdk/resources/organization.py,sha256=yX4UlOHNegRzFW4gCJrCxjiLCAGnGegasjviR1yad_Q,1211
|
|
12
12
|
amigo_sdk/resources/service.py,sha256=SiwEHXCQk4r1b_tGv47M08VuB7RALDHJQzWlpuD937g,1571
|
|
13
13
|
amigo_sdk/resources/user.py,sha256=vZPCw8i-xvcDQik8ouJbm8qVHucRbfxCWI3yYMDj8hg,3517
|
|
14
|
-
amigo_sdk-0.
|
|
15
|
-
amigo_sdk-0.
|
|
16
|
-
amigo_sdk-0.
|
|
17
|
-
amigo_sdk-0.
|
|
18
|
-
amigo_sdk-0.
|
|
14
|
+
amigo_sdk-0.60.0.dist-info/METADATA,sha256=4fvaIAJU51NqGEP_ZVYYQuUDVE9I1rRJwhsdwZru_0w,8350
|
|
15
|
+
amigo_sdk-0.60.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
16
|
+
amigo_sdk-0.60.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
|
|
17
|
+
amigo_sdk-0.60.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
|
|
18
|
+
amigo_sdk-0.60.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|