amigo_sdk 0.58.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 +202 -206
- {amigo_sdk-0.58.0.dist-info → amigo_sdk-0.60.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.58.0.dist-info → amigo_sdk-0.60.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.58.0.dist-info → amigo_sdk-0.60.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.58.0.dist-info → amigo_sdk-0.60.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.58.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
|
)
|
|
@@ -1652,11 +1657,6 @@ AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo = (
|
|
|
1652
1657
|
)
|
|
1653
1658
|
|
|
1654
1659
|
|
|
1655
|
-
class AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag(BaseModel):
|
|
1656
|
-
key: str = Field(..., title='Key')
|
|
1657
|
-
value: Optional[str] = Field(..., title='Value')
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
1660
|
class AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUnitTestRunDescriptor(
|
|
1661
1661
|
BaseModel
|
|
1662
1662
|
):
|
|
@@ -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
|
...,
|
|
@@ -10757,19 +10754,19 @@ class OrganizationCreateServiceHierarchicalStateMachineResponse(BaseModel):
|
|
|
10757
10754
|
)
|
|
10758
10755
|
|
|
10759
10756
|
|
|
10760
|
-
class
|
|
10757
|
+
class OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitConditionNextState(
|
|
10761
10758
|
AnnotationStateInputNextState
|
|
10762
10759
|
):
|
|
10763
10760
|
pass
|
|
10764
10761
|
|
|
10765
10762
|
|
|
10766
|
-
class
|
|
10763
|
+
class OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition(
|
|
10767
10764
|
BaseModel
|
|
10768
10765
|
):
|
|
10769
10766
|
description: str = Field(..., min_length=1)
|
|
10770
10767
|
next_state: Union[
|
|
10771
10768
|
StateOrRefName,
|
|
10772
|
-
|
|
10769
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitConditionNextState,
|
|
10773
10770
|
] = Field(..., title='Next State')
|
|
10774
10771
|
|
|
10775
10772
|
|
|
@@ -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
|
...,
|
|
@@ -10933,6 +10934,19 @@ class RoleModifyRoleResponse(BaseModel):
|
|
|
10933
10934
|
)
|
|
10934
10935
|
|
|
10935
10936
|
|
|
10937
|
+
class ServiceCreateServiceRequestVersionSetLLMConfig(BaseModel):
|
|
10938
|
+
llm_name: LLMType
|
|
10939
|
+
top_p: float = Field(..., description='The preferred `top_p` value.', title='Top P')
|
|
10940
|
+
temperature: float = Field(
|
|
10941
|
+
..., description='The preferred temperature value.', title='Temperature'
|
|
10942
|
+
)
|
|
10943
|
+
top_k: int = Field(
|
|
10944
|
+
...,
|
|
10945
|
+
description='The preferred `top_k` value. Note that not all LLMs support this.',
|
|
10946
|
+
title='Top K',
|
|
10947
|
+
)
|
|
10948
|
+
|
|
10949
|
+
|
|
10936
10950
|
class ServiceCreateServiceRequestVersionSetLLMLoadBalancingSetConfig(BaseModel):
|
|
10937
10951
|
llm_load_balancing_set_name: LLMLoadBalancingSetType
|
|
10938
10952
|
configs: Dict[str, PerLLMConfig] = Field(..., title='Configs')
|
|
@@ -10997,19 +11011,6 @@ class ServiceUpdateServiceRequest(BaseModel):
|
|
|
10997
11011
|
)
|
|
10998
11012
|
|
|
10999
11013
|
|
|
11000
|
-
class ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig(BaseModel):
|
|
11001
|
-
llm_name: LLMType
|
|
11002
|
-
top_p: float = Field(..., description='The preferred `top_p` value.', title='Top P')
|
|
11003
|
-
temperature: float = Field(
|
|
11004
|
-
..., description='The preferred temperature value.', title='Temperature'
|
|
11005
|
-
)
|
|
11006
|
-
top_k: int = Field(
|
|
11007
|
-
...,
|
|
11008
|
-
description='The preferred `top_k` value. Note that not all LLMs support this.',
|
|
11009
|
-
title='Top K',
|
|
11010
|
-
)
|
|
11011
|
-
|
|
11012
|
-
|
|
11013
11014
|
class SimulationCreateSimulationPersonaRequestInitialVersion(BaseModel):
|
|
11014
11015
|
background: str = Field(
|
|
11015
11016
|
..., description='The background of the simulation persona.', min_length=1
|
|
@@ -11228,6 +11229,37 @@ class SimulationGetSimulationScenariosResponseFilterValues(BaseModel):
|
|
|
11228
11229
|
)
|
|
11229
11230
|
|
|
11230
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
|
+
|
|
11231
11263
|
class SimulationGetSimulationUnitTestSetRunArtifactsResponse(BaseModel):
|
|
11232
11264
|
presigned_url: str = Field(
|
|
11233
11265
|
...,
|
|
@@ -11350,34 +11382,13 @@ class SimulationSearchSimulationPersonasResponseSimulationPersonaInstance(BaseMo
|
|
|
11350
11382
|
)
|
|
11351
11383
|
|
|
11352
11384
|
|
|
11353
|
-
class
|
|
11354
|
-
|
|
11355
|
-
|
|
11356
|
-
|
|
11357
|
-
)
|
|
11358
|
-
tags: Dict[str, Optional[str]] = Field(
|
|
11359
|
-
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11360
|
-
)
|
|
11361
|
-
is_deleted: bool = Field(
|
|
11362
|
-
...,
|
|
11363
|
-
description='Whether the simulation scenario is deleted.',
|
|
11364
|
-
title='Is Deleted',
|
|
11365
|
-
)
|
|
11366
|
-
created_at: AwareDatetime = Field(
|
|
11367
|
-
...,
|
|
11368
|
-
description='The timestamp when the simulation scenario was created.',
|
|
11369
|
-
title='Created At',
|
|
11370
|
-
)
|
|
11371
|
-
creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11372
|
-
Field(..., description='The user who created the simulation scenario.')
|
|
11373
|
-
)
|
|
11374
|
-
updated_at: AwareDatetime = Field(
|
|
11385
|
+
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
11386
|
+
simulation_scenarios: List[
|
|
11387
|
+
SimulationGetSimulationScenariosResponseSimulationScenarioInstance
|
|
11388
|
+
] = Field(
|
|
11375
11389
|
...,
|
|
11376
|
-
description='The
|
|
11377
|
-
title='
|
|
11378
|
-
)
|
|
11379
|
-
updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11380
|
-
Field(..., description='The user who last updated the simulation scenario.')
|
|
11390
|
+
description='The list of simulation scenarios.',
|
|
11391
|
+
title='Simulation Scenarios',
|
|
11381
11392
|
)
|
|
11382
11393
|
|
|
11383
11394
|
|
|
@@ -11507,22 +11518,6 @@ class ToolGetToolsResponseFilterValues(BaseModel):
|
|
|
11507
11518
|
)
|
|
11508
11519
|
|
|
11509
11520
|
|
|
11510
|
-
class ToolInvokeToolVersionRequestInputInvocationMode(Enum):
|
|
11511
|
-
regular = 'regular'
|
|
11512
|
-
conversation_simulation = 'conversation-simulation'
|
|
11513
|
-
|
|
11514
|
-
|
|
11515
|
-
class ToolInvokeToolVersionRequestInput(BaseModel):
|
|
11516
|
-
input_parameters: Dict[str, Any] = Field(
|
|
11517
|
-
...,
|
|
11518
|
-
description='The input parameters for the tool invocation.',
|
|
11519
|
-
title='Input Parameters',
|
|
11520
|
-
)
|
|
11521
|
-
invocation_mode: ToolInvokeToolVersionRequestInputInvocationMode = Field(
|
|
11522
|
-
..., description='The mode of invocation.', title='Invocation Mode'
|
|
11523
|
-
)
|
|
11524
|
-
|
|
11525
|
-
|
|
11526
11521
|
class ToolModifyToolRequest(BaseModel):
|
|
11527
11522
|
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
11528
11523
|
None, description='A description of this tool. Only updates if not-null.'
|
|
@@ -11565,34 +11560,19 @@ class ToolPublishToolVersionResponse(BaseModel):
|
|
|
11565
11560
|
)
|
|
11566
11561
|
|
|
11567
11562
|
|
|
11568
|
-
class
|
|
11569
|
-
|
|
11570
|
-
|
|
11571
|
-
|
|
11572
|
-
|
|
11573
|
-
|
|
11574
|
-
|
|
11575
|
-
)
|
|
11576
|
-
commit_branch: str = Field(
|
|
11577
|
-
...,
|
|
11578
|
-
description='The branch in the tools repo whose tip will be tested.',
|
|
11579
|
-
title='Commit Branch',
|
|
11580
|
-
)
|
|
11581
|
-
project_path: str = Field(
|
|
11582
|
-
...,
|
|
11583
|
-
description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
|
|
11584
|
-
pattern='^[-\\w\\d_/]+$',
|
|
11585
|
-
title='Project Path',
|
|
11586
|
-
)
|
|
11587
|
-
required_envvars: Dict[str, str] = Field(
|
|
11563
|
+
class ToolTestToolRequestInputInvocationMode(Enum):
|
|
11564
|
+
regular = 'regular'
|
|
11565
|
+
conversation_simulation = 'conversation-simulation'
|
|
11566
|
+
|
|
11567
|
+
|
|
11568
|
+
class ToolTestToolRequestInput(BaseModel):
|
|
11569
|
+
input_parameters: Dict[str, Any] = Field(
|
|
11588
11570
|
...,
|
|
11589
|
-
description='The
|
|
11590
|
-
title='
|
|
11571
|
+
description='The input parameters for the tool invocation.',
|
|
11572
|
+
title='Input Parameters',
|
|
11591
11573
|
)
|
|
11592
|
-
|
|
11593
|
-
...,
|
|
11594
|
-
description='The secret environment variables required for the tool to run.',
|
|
11595
|
-
title='Required Secret Envvars',
|
|
11574
|
+
invocation_mode: ToolTestToolRequestInputInvocationMode = Field(
|
|
11575
|
+
..., description='The mode of invocation.', title='Invocation Mode'
|
|
11596
11576
|
)
|
|
11597
11577
|
|
|
11598
11578
|
|
|
@@ -12129,7 +12109,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
|
|
|
12129
12109
|
[], description='The IDs of the messages to retrieve.', title='Id'
|
|
12130
12110
|
)
|
|
12131
12111
|
message_type: Optional[List[MessageType]] = Field(
|
|
12132
|
-
['
|
|
12112
|
+
['external-event', 'agent-message', 'user-message'],
|
|
12133
12113
|
description='The type of messages to retrieve.',
|
|
12134
12114
|
title='Message Type',
|
|
12135
12115
|
)
|
|
@@ -13860,9 +13840,9 @@ class ServiceInstance(BaseModel):
|
|
|
13860
13840
|
agent_id: str = Field(
|
|
13861
13841
|
..., description='The ID of the agent that this service uses.', title='Agent Id'
|
|
13862
13842
|
)
|
|
13863
|
-
tags: List[
|
|
13864
|
-
|
|
13865
|
-
|
|
13843
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
13844
|
+
..., description='The tags of the service.', title='Tags'
|
|
13845
|
+
)
|
|
13866
13846
|
|
|
13867
13847
|
|
|
13868
13848
|
class SimulationConversationInvocationSource(BaseModel):
|
|
@@ -13913,9 +13893,7 @@ class SimulationUnitTestSet(BaseModel):
|
|
|
13913
13893
|
description='Whether the unit test set has been deleted.',
|
|
13914
13894
|
title='Is Deleted',
|
|
13915
13895
|
)
|
|
13916
|
-
tags: List[
|
|
13917
|
-
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
13918
|
-
] = Field(
|
|
13896
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
13919
13897
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13920
13898
|
)
|
|
13921
13899
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -13954,9 +13932,7 @@ class SimulationUnitTestSetInstance(BaseModel):
|
|
|
13954
13932
|
description='Whether the unit test set has been deleted.',
|
|
13955
13933
|
title='Is Deleted',
|
|
13956
13934
|
)
|
|
13957
|
-
tags: List[
|
|
13958
|
-
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
13959
|
-
] = Field(
|
|
13935
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
13960
13936
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13961
13937
|
)
|
|
13962
13938
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -14068,9 +14044,9 @@ class ToolInstance(BaseModel):
|
|
|
14068
14044
|
description='A list of encrypted environment variables that some versions of this tool uses.',
|
|
14069
14045
|
title='Secret Envvars',
|
|
14070
14046
|
)
|
|
14071
|
-
tags: List[
|
|
14072
|
-
|
|
14073
|
-
|
|
14047
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
14048
|
+
..., description='The tags of the simulation persona.', title='Tags'
|
|
14049
|
+
)
|
|
14074
14050
|
|
|
14075
14051
|
|
|
14076
14052
|
class ToolVersionInstance(BaseModel):
|
|
@@ -14402,7 +14378,7 @@ class DynamicBehaviorSetGetDynamicBehaviorSetVersionsResponse(BaseModel):
|
|
|
14402
14378
|
|
|
14403
14379
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
14404
14380
|
dynamic_behavior_sets: List[
|
|
14405
|
-
|
|
14381
|
+
DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14406
14382
|
] = Field(
|
|
14407
14383
|
...,
|
|
14408
14384
|
description='The retrieved dynamic behavior sets.',
|
|
@@ -14426,6 +14402,16 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
|
14426
14402
|
)
|
|
14427
14403
|
|
|
14428
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
|
+
|
|
14429
14415
|
class MetricCreateMetricRequest(BaseModel):
|
|
14430
14416
|
name: str = Field(
|
|
14431
14417
|
...,
|
|
@@ -14482,7 +14468,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
|
|
|
14482
14468
|
description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
|
|
14483
14469
|
min_length=1,
|
|
14484
14470
|
)
|
|
14485
|
-
user_dimensions: List[
|
|
14471
|
+
user_dimensions: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
14486
14472
|
...,
|
|
14487
14473
|
description='User dimensions for the organization.',
|
|
14488
14474
|
title='User Dimensions',
|
|
@@ -14626,17 +14612,6 @@ class OrganizationGetOrganizationMetricsResponse(BaseModel):
|
|
|
14626
14612
|
)
|
|
14627
14613
|
|
|
14628
14614
|
|
|
14629
|
-
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
14630
|
-
RootModel[List[OrganizationModifyOrganizationRequestUserDimension]]
|
|
14631
|
-
):
|
|
14632
|
-
root: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14633
|
-
...,
|
|
14634
|
-
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
14635
|
-
min_length=1,
|
|
14636
|
-
title='User Dimensions',
|
|
14637
|
-
)
|
|
14638
|
-
|
|
14639
|
-
|
|
14640
14615
|
class OrganizationModifyOrganizationRequest(BaseModel):
|
|
14641
14616
|
title: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14642
14617
|
None,
|
|
@@ -14694,7 +14669,7 @@ class OrganizationModifyOrganizationRequest(BaseModel):
|
|
|
14694
14669
|
)
|
|
14695
14670
|
|
|
14696
14671
|
|
|
14697
|
-
class
|
|
14672
|
+
class RoleModifyRoleRequestPermissionGrant(BaseModel):
|
|
14698
14673
|
action: AmigoLibMongoCollectionsRoleRolePermissionGrantAction = Field(
|
|
14699
14674
|
...,
|
|
14700
14675
|
description='Whether this grant allows or denies the specified access.',
|
|
@@ -14711,29 +14686,6 @@ class RoleCreateRoleRequestPermissionGrant(BaseModel):
|
|
|
14711
14686
|
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = None
|
|
14712
14687
|
|
|
14713
14688
|
|
|
14714
|
-
class RoleModifyRoleRequest(BaseModel):
|
|
14715
|
-
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14716
|
-
None,
|
|
14717
|
-
description='A description about the role. Only updated if specified. This field is a mutable field.',
|
|
14718
|
-
)
|
|
14719
|
-
permission_grants: Optional[List[RoleCreateRoleRequestPermissionGrant]] = Field(
|
|
14720
|
-
None,
|
|
14721
|
-
description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
|
|
14722
|
-
title='Permission Grants',
|
|
14723
|
-
)
|
|
14724
|
-
frontend_view: Optional[FrontendView] = Field(
|
|
14725
|
-
None,
|
|
14726
|
-
description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
|
|
14727
|
-
)
|
|
14728
|
-
inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
|
|
14729
|
-
Field(
|
|
14730
|
-
{},
|
|
14731
|
-
description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
|
|
14732
|
-
title='Inherited From',
|
|
14733
|
-
)
|
|
14734
|
-
)
|
|
14735
|
-
|
|
14736
|
-
|
|
14737
14689
|
class ServiceCreateServiceRequestVersionSet(BaseModel):
|
|
14738
14690
|
agent_version_number: Optional[int] = Field(
|
|
14739
14691
|
...,
|
|
@@ -14748,7 +14700,7 @@ class ServiceCreateServiceRequestVersionSet(BaseModel):
|
|
|
14748
14700
|
llm_model_preferences: Dict[
|
|
14749
14701
|
str,
|
|
14750
14702
|
Union[
|
|
14751
|
-
|
|
14703
|
+
ServiceCreateServiceRequestVersionSetLLMConfig,
|
|
14752
14704
|
ServiceCreateServiceRequestVersionSetLLMLoadBalancingSetConfig,
|
|
14753
14705
|
],
|
|
14754
14706
|
] = Field(..., title='Llm Model Preferences')
|
|
@@ -14867,7 +14819,7 @@ class SimulationGetSimulationPersonasResponse(BaseModel):
|
|
|
14867
14819
|
|
|
14868
14820
|
class SimulationGetSimulationScenariosResponse(BaseModel):
|
|
14869
14821
|
simulation_scenarios: List[
|
|
14870
|
-
|
|
14822
|
+
SimulationGetSimulationScenariosResponseSimulationScenarioInstance
|
|
14871
14823
|
] = Field(
|
|
14872
14824
|
...,
|
|
14873
14825
|
description='The list of simulation scenarios.',
|
|
@@ -14923,16 +14875,6 @@ class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
|
14923
14875
|
)
|
|
14924
14876
|
|
|
14925
14877
|
|
|
14926
|
-
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
14927
|
-
simulation_scenarios: List[
|
|
14928
|
-
SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
|
|
14929
|
-
] = Field(
|
|
14930
|
-
...,
|
|
14931
|
-
description='The list of simulation scenarios.',
|
|
14932
|
-
title='Simulation Scenarios',
|
|
14933
|
-
)
|
|
14934
|
-
|
|
14935
|
-
|
|
14936
14878
|
class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
|
|
14937
14879
|
simulation_unit_test_sets: List[SimulationUnitTestSet] = Field(
|
|
14938
14880
|
...,
|
|
@@ -14987,7 +14929,7 @@ class ToolGetToolsResponse(BaseModel):
|
|
|
14987
14929
|
|
|
14988
14930
|
|
|
14989
14931
|
class ToolInvokeToolVersionRequest(BaseModel):
|
|
14990
|
-
inputs: List[
|
|
14932
|
+
inputs: List[ToolTestToolRequestInput] = Field(
|
|
14991
14933
|
...,
|
|
14992
14934
|
description='The list of inputs for the tool invocation.',
|
|
14993
14935
|
max_length=10,
|
|
@@ -15008,6 +14950,37 @@ class ToolModifyToolEnvvarsRequest(BaseModel):
|
|
|
15008
14950
|
deletes: Optional[List[DeleteRequest]] = Field([], title='Deletes')
|
|
15009
14951
|
|
|
15010
14952
|
|
|
14953
|
+
class ToolTestToolRequest(BaseModel):
|
|
14954
|
+
inputs: List[ToolTestToolRequestInput] = Field(
|
|
14955
|
+
...,
|
|
14956
|
+
description='The list of inputs for the tool invocation.',
|
|
14957
|
+
max_length=10,
|
|
14958
|
+
min_length=1,
|
|
14959
|
+
title='Inputs',
|
|
14960
|
+
)
|
|
14961
|
+
commit_branch: str = Field(
|
|
14962
|
+
...,
|
|
14963
|
+
description='The branch in the tools repo whose tip will be tested.',
|
|
14964
|
+
title='Commit Branch',
|
|
14965
|
+
)
|
|
14966
|
+
project_path: str = Field(
|
|
14967
|
+
...,
|
|
14968
|
+
description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
|
|
14969
|
+
pattern='^[-\\w\\d_/]+$',
|
|
14970
|
+
title='Project Path',
|
|
14971
|
+
)
|
|
14972
|
+
required_envvars: Dict[str, str] = Field(
|
|
14973
|
+
...,
|
|
14974
|
+
description='The environment variables required for the tool to run.',
|
|
14975
|
+
title='Required Envvars',
|
|
14976
|
+
)
|
|
14977
|
+
required_secret_envvars: Dict[str, str] = Field(
|
|
14978
|
+
...,
|
|
14979
|
+
description='The secret environment variables required for the tool to run.',
|
|
14980
|
+
title='Required Secret Envvars',
|
|
14981
|
+
)
|
|
14982
|
+
|
|
14983
|
+
|
|
15011
14984
|
ToolTestToolResponse = ToolInvokeToolVersionResponse
|
|
15012
14985
|
|
|
15013
14986
|
|
|
@@ -15048,7 +15021,7 @@ class UserGetUserModelResponse(BaseModel):
|
|
|
15048
15021
|
)
|
|
15049
15022
|
|
|
15050
15023
|
|
|
15051
|
-
class
|
|
15024
|
+
class UserGetUsersResponseUserInstance(BaseModel):
|
|
15052
15025
|
org_id: str = Field(
|
|
15053
15026
|
...,
|
|
15054
15027
|
description='The ID of the organization that this user belongs to.',
|
|
@@ -15073,6 +15046,12 @@ class UserSearchUsersResponseUserInstance(BaseModel):
|
|
|
15073
15046
|
)
|
|
15074
15047
|
|
|
15075
15048
|
|
|
15049
|
+
class UserSearchUsersResponse(BaseModel):
|
|
15050
|
+
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
15051
|
+
..., description='Users in this organization.', title='Users'
|
|
15052
|
+
)
|
|
15053
|
+
|
|
15054
|
+
|
|
15076
15055
|
class WebhookDestinationGetWebhookDeliveriesResponse(BaseModel):
|
|
15077
15056
|
webhook_deliveries: List[WebhookDeliveryInstance] = Field(
|
|
15078
15057
|
..., description='The retrieved webhook deliveries.', title='Webhook Deliveries'
|
|
@@ -15106,7 +15085,7 @@ class ActionStateInput(BaseModel):
|
|
|
15106
15085
|
Field(..., title='Boundary Constraints')
|
|
15107
15086
|
)
|
|
15108
15087
|
exit_conditions: List[
|
|
15109
|
-
|
|
15088
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition
|
|
15110
15089
|
] = Field(..., title='Exit Conditions')
|
|
15111
15090
|
action_tool_call_specs: List[ToolCallSpecInput] = Field(
|
|
15112
15091
|
..., title='Action Tool Call Specs'
|
|
@@ -15215,7 +15194,7 @@ class DecisionStateInput(BaseModel):
|
|
|
15215
15194
|
type: Literal['decision'] = Field(..., title='Type')
|
|
15216
15195
|
name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
|
|
15217
15196
|
exit_conditions: List[
|
|
15218
|
-
|
|
15197
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition
|
|
15219
15198
|
] = Field(..., title='Exit Conditions')
|
|
15220
15199
|
decision_guidelines: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
15221
15200
|
..., title='Decision Guidelines'
|
|
@@ -15256,9 +15235,9 @@ class Metric(BaseModel):
|
|
|
15256
15235
|
additional_notes: Optional[str] = Field(
|
|
15257
15236
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15258
15237
|
)
|
|
15259
|
-
tags: List[
|
|
15260
|
-
|
|
15261
|
-
|
|
15238
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
15239
|
+
..., description='The tags of the metric.', title='Tags'
|
|
15240
|
+
)
|
|
15262
15241
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
15263
15242
|
..., description='The user who created the metric.'
|
|
15264
15243
|
)
|
|
@@ -15326,9 +15305,9 @@ class MetricInstance(BaseModel):
|
|
|
15326
15305
|
additional_notes: Optional[str] = Field(
|
|
15327
15306
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15328
15307
|
)
|
|
15329
|
-
tags: List[
|
|
15330
|
-
|
|
15331
|
-
|
|
15308
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
15309
|
+
..., description='The tags of the metric.', title='Tags'
|
|
15310
|
+
)
|
|
15332
15311
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
15333
15312
|
..., description='The user who created the metric.'
|
|
15334
15313
|
)
|
|
@@ -15528,9 +15507,9 @@ class SimulationUnitTest(BaseModel):
|
|
|
15528
15507
|
is_deleted: bool = Field(
|
|
15529
15508
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15530
15509
|
)
|
|
15531
|
-
tags: List[
|
|
15532
|
-
|
|
15533
|
-
|
|
15510
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
15511
|
+
..., description='The tags of the simulation persona.', title='Tags'
|
|
15512
|
+
)
|
|
15534
15513
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15535
15514
|
updated_by: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15536
15515
|
|
|
@@ -15573,9 +15552,9 @@ class SimulationUnitTestInstance(BaseModel):
|
|
|
15573
15552
|
is_deleted: bool = Field(
|
|
15574
15553
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15575
15554
|
)
|
|
15576
|
-
tags: List[
|
|
15577
|
-
|
|
15578
|
-
|
|
15555
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
15556
|
+
..., description='The tags of the simulation persona.', title='Tags'
|
|
15557
|
+
)
|
|
15579
15558
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15580
15559
|
updated_by: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15581
15560
|
|
|
@@ -15876,7 +15855,7 @@ class RoleCreateRoleRequest(BaseModel):
|
|
|
15876
15855
|
description: str = Field(
|
|
15877
15856
|
..., description='A description about the role.', min_length=1
|
|
15878
15857
|
)
|
|
15879
|
-
permission_grants: List[
|
|
15858
|
+
permission_grants: List[RoleModifyRoleRequestPermissionGrant] = Field(
|
|
15880
15859
|
...,
|
|
15881
15860
|
description='A list of permission grants associated with this role.',
|
|
15882
15861
|
title='Permission Grants',
|
|
@@ -15902,6 +15881,29 @@ class RoleGetRolesResponse(BaseModel):
|
|
|
15902
15881
|
)
|
|
15903
15882
|
|
|
15904
15883
|
|
|
15884
|
+
class RoleModifyRoleRequest(BaseModel):
|
|
15885
|
+
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
15886
|
+
None,
|
|
15887
|
+
description='A description about the role. Only updated if specified. This field is a mutable field.',
|
|
15888
|
+
)
|
|
15889
|
+
permission_grants: Optional[List[RoleModifyRoleRequestPermissionGrant]] = Field(
|
|
15890
|
+
None,
|
|
15891
|
+
description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
|
|
15892
|
+
title='Permission Grants',
|
|
15893
|
+
)
|
|
15894
|
+
frontend_view: Optional[FrontendView] = Field(
|
|
15895
|
+
None,
|
|
15896
|
+
description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
|
|
15897
|
+
)
|
|
15898
|
+
inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
|
|
15899
|
+
Field(
|
|
15900
|
+
{},
|
|
15901
|
+
description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
|
|
15902
|
+
title='Inherited From',
|
|
15903
|
+
)
|
|
15904
|
+
)
|
|
15905
|
+
|
|
15906
|
+
|
|
15905
15907
|
class ServiceCreateServiceRequest(BaseModel):
|
|
15906
15908
|
service_hierarchical_state_machine_id: str = Field(
|
|
15907
15909
|
...,
|
|
@@ -16094,7 +16096,7 @@ class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
|
16094
16096
|
|
|
16095
16097
|
|
|
16096
16098
|
class UserGetUsersResponse(BaseModel):
|
|
16097
|
-
users: List[
|
|
16099
|
+
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
16098
16100
|
..., description='Users in this organization.', title='Users'
|
|
16099
16101
|
)
|
|
16100
16102
|
has_more: bool = Field(
|
|
@@ -16107,12 +16109,6 @@ class UserGetUsersResponse(BaseModel):
|
|
|
16107
16109
|
)
|
|
16108
16110
|
|
|
16109
16111
|
|
|
16110
|
-
class UserSearchUsersResponse(BaseModel):
|
|
16111
|
-
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
16112
|
-
..., description='Users in this organization.', title='Users'
|
|
16113
|
-
)
|
|
16114
|
-
|
|
16115
|
-
|
|
16116
16112
|
class SimulationUnitTestSetRunInstance(BaseModel):
|
|
16117
16113
|
org_id: str = Field(..., title='Org Id')
|
|
16118
16114
|
id: str = Field(..., title='Id')
|
|
@@ -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
|