amigo_sdk 0.87.0__py3-none-any.whl → 0.88.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 +179 -177
- {amigo_sdk-0.87.0.dist-info → amigo_sdk-0.88.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.87.0.dist-info → amigo_sdk-0.88.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.87.0.dist-info → amigo_sdk-0.88.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.87.0.dist-info → amigo_sdk-0.88.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.87.0.dist-info → amigo_sdk-0.88.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-12-
|
|
3
|
+
# timestamp: 2025-12-13T02:45:44+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -1620,11 +1620,6 @@ class AmigoLibMongoCollectionsDynamicBehaviorSetVersionAction(BaseModel):
|
|
|
1620
1620
|
)
|
|
1621
1621
|
|
|
1622
1622
|
|
|
1623
|
-
class AmigoLibMongoCollectionsMetricMetricTag(BaseModel):
|
|
1624
|
-
key: str = Field(..., title='Key')
|
|
1625
|
-
value: Optional[str] = Field(..., title='Value')
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
1623
|
AmigoLibMongoCollectionsMetricMetricUserInfo = (
|
|
1629
1624
|
AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1630
1625
|
)
|
|
@@ -1673,6 +1668,11 @@ AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo = (
|
|
|
1673
1668
|
)
|
|
1674
1669
|
|
|
1675
1670
|
|
|
1671
|
+
class AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag(BaseModel):
|
|
1672
|
+
key: str = Field(..., title='Key')
|
|
1673
|
+
value: Optional[str] = Field(..., title='Value')
|
|
1674
|
+
|
|
1675
|
+
|
|
1676
1676
|
class AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUnitTestRunDescriptor(
|
|
1677
1677
|
BaseModel
|
|
1678
1678
|
):
|
|
@@ -1709,6 +1709,12 @@ AmigoLibMongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUserInfo
|
|
|
1709
1709
|
)
|
|
1710
1710
|
|
|
1711
1711
|
|
|
1712
|
+
class AmigoLibMongoCollectionsToolInvocationToolInvocationVersion(BaseModel):
|
|
1713
|
+
major: int = Field(..., title='Major')
|
|
1714
|
+
minor: int = Field(..., title='Minor')
|
|
1715
|
+
patch: int = Field(..., title='Patch')
|
|
1716
|
+
|
|
1717
|
+
|
|
1712
1718
|
class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
|
|
1713
1719
|
user_id: str = Field(..., description='The ID of the user.', title='User Id')
|
|
1714
1720
|
user_org_id: str = Field(
|
|
@@ -1716,12 +1722,6 @@ class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
|
|
|
1716
1722
|
)
|
|
1717
1723
|
|
|
1718
1724
|
|
|
1719
|
-
class AmigoLibMongoCollectionsToolVersionToolVersionVersion(BaseModel):
|
|
1720
|
-
major: int = Field(..., title='Major')
|
|
1721
|
-
minor: int = Field(..., title='Minor')
|
|
1722
|
-
patch: int = Field(..., title='Patch')
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
1725
|
class AmigoLibMongoCollectionsUserUserPreferences(BaseModel):
|
|
1726
1726
|
enable_response_recommendation: Optional[bool] = Field(
|
|
1727
1727
|
False,
|
|
@@ -10757,6 +10757,13 @@ class OrganizationCreateOrganizationRequestPreferences(BaseModel):
|
|
|
10757
10757
|
)
|
|
10758
10758
|
|
|
10759
10759
|
|
|
10760
|
+
class OrganizationCreateOrganizationRequestUserDimension(BaseModel):
|
|
10761
|
+
description: str = Field(..., min_length=1)
|
|
10762
|
+
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10763
|
+
..., title='Tags'
|
|
10764
|
+
)
|
|
10765
|
+
|
|
10766
|
+
|
|
10760
10767
|
class OrganizationCreateOrganizationResponse(BaseModel):
|
|
10761
10768
|
org_id: str = Field(
|
|
10762
10769
|
...,
|
|
@@ -10780,19 +10787,19 @@ class OrganizationCreateServiceHierarchicalStateMachineResponse(BaseModel):
|
|
|
10780
10787
|
)
|
|
10781
10788
|
|
|
10782
10789
|
|
|
10783
|
-
class
|
|
10790
|
+
class OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitConditionNextState(
|
|
10784
10791
|
AnnotationStateInputNextState
|
|
10785
10792
|
):
|
|
10786
10793
|
pass
|
|
10787
10794
|
|
|
10788
10795
|
|
|
10789
|
-
class
|
|
10796
|
+
class OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition(
|
|
10790
10797
|
BaseModel
|
|
10791
10798
|
):
|
|
10792
10799
|
description: str = Field(..., min_length=1)
|
|
10793
10800
|
next_state: Union[
|
|
10794
10801
|
StateOrRefName,
|
|
10795
|
-
|
|
10802
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitConditionNextState,
|
|
10796
10803
|
] = Field(..., title='Next State')
|
|
10797
10804
|
|
|
10798
10805
|
|
|
@@ -10898,18 +10905,22 @@ class OrganizationGetUserDimensionsResponse(BaseModel):
|
|
|
10898
10905
|
)
|
|
10899
10906
|
|
|
10900
10907
|
|
|
10908
|
+
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
10909
|
+
RootModel[List[OrganizationCreateOrganizationRequestUserDimension]]
|
|
10910
|
+
):
|
|
10911
|
+
root: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
10912
|
+
...,
|
|
10913
|
+
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
10914
|
+
min_length=1,
|
|
10915
|
+
title='User Dimensions',
|
|
10916
|
+
)
|
|
10917
|
+
|
|
10918
|
+
|
|
10901
10919
|
OrganizationModifyOrganizationRequestPreferences = (
|
|
10902
10920
|
OrganizationCreateOrganizationRequestPreferences
|
|
10903
10921
|
)
|
|
10904
10922
|
|
|
10905
10923
|
|
|
10906
|
-
class OrganizationModifyOrganizationRequestUserDimension(BaseModel):
|
|
10907
|
-
description: str = Field(..., min_length=1)
|
|
10908
|
-
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10909
|
-
..., title='Tags'
|
|
10910
|
-
)
|
|
10911
|
-
|
|
10912
|
-
|
|
10913
10924
|
class RoleAssignRoleRequest(BaseModel):
|
|
10914
10925
|
user_id: str = Field(
|
|
10915
10926
|
...,
|
|
@@ -11038,22 +11049,6 @@ class ServiceUpdateServiceRequest(BaseModel):
|
|
|
11038
11049
|
)
|
|
11039
11050
|
|
|
11040
11051
|
|
|
11041
|
-
class ServiceUpsertServiceVersionSetRequestVersionSet(BaseModel):
|
|
11042
|
-
agent_version_number: Optional[int] = Field(
|
|
11043
|
-
...,
|
|
11044
|
-
description='The version number of the agent to be used. If None, the latest agent version will be used.',
|
|
11045
|
-
title='Agent Version Number',
|
|
11046
|
-
)
|
|
11047
|
-
service_hierarchical_state_machine_version_number: Optional[int] = Field(
|
|
11048
|
-
...,
|
|
11049
|
-
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
11050
|
-
title='Service Hierarchical State Machine Version Number',
|
|
11051
|
-
)
|
|
11052
|
-
llm_model_preferences: Dict[str, ServiceCreateServiceRequestVersionSetLLMConfig] = (
|
|
11053
|
-
Field(..., title='Llm Model Preferences')
|
|
11054
|
-
)
|
|
11055
|
-
|
|
11056
|
-
|
|
11057
11052
|
class SimulationCreateSimulationPersonaRequestInitialVersion(BaseModel):
|
|
11058
11053
|
background: str = Field(
|
|
11059
11054
|
..., description='The background of the simulation persona.', min_length=1
|
|
@@ -11172,16 +11167,6 @@ class SimulationCreateSimulationUnitTestResponse(BaseModel):
|
|
|
11172
11167
|
)
|
|
11173
11168
|
|
|
11174
11169
|
|
|
11175
|
-
class SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
|
|
11176
|
-
unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
|
|
11177
|
-
run_count: int = Field(
|
|
11178
|
-
...,
|
|
11179
|
-
description='The number of times to run the unit test.',
|
|
11180
|
-
gt=0,
|
|
11181
|
-
title='Run Count',
|
|
11182
|
-
)
|
|
11183
|
-
|
|
11184
|
-
|
|
11185
11170
|
class SimulationCreateSimulationUnitTestSetResponse(BaseModel):
|
|
11186
11171
|
simulation_unit_test_set_id: str = Field(
|
|
11187
11172
|
...,
|
|
@@ -11492,39 +11477,13 @@ class SimulationUpdateSimulationUnitTestRequestRunCount(RootModel[int]):
|
|
|
11492
11477
|
)
|
|
11493
11478
|
|
|
11494
11479
|
|
|
11495
|
-
class
|
|
11496
|
-
|
|
11497
|
-
|
|
11498
|
-
|
|
11499
|
-
|
|
11500
|
-
|
|
11501
|
-
|
|
11502
|
-
min_length=1,
|
|
11503
|
-
title='Unit Test Runs',
|
|
11504
|
-
)
|
|
11505
|
-
)
|
|
11506
|
-
|
|
11507
|
-
|
|
11508
|
-
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
11509
|
-
name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
11510
|
-
None, description='The name of the simulation unit test set.'
|
|
11511
|
-
)
|
|
11512
|
-
description: Optional[
|
|
11513
|
-
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
11514
|
-
] = Field(
|
|
11515
|
-
{},
|
|
11516
|
-
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
11517
|
-
title='Description',
|
|
11518
|
-
)
|
|
11519
|
-
unit_test_runs: Optional[
|
|
11520
|
-
SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
|
|
11521
|
-
] = Field(
|
|
11522
|
-
None,
|
|
11523
|
-
description='The unit test runs that are part of this set.',
|
|
11524
|
-
title='Unit Test Runs',
|
|
11525
|
-
)
|
|
11526
|
-
tags: Optional[Dict[str, Optional[str]]] = Field(
|
|
11527
|
-
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
11480
|
+
class SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
|
|
11481
|
+
unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
|
|
11482
|
+
run_count: int = Field(
|
|
11483
|
+
...,
|
|
11484
|
+
description='The number of times to run the unit test.',
|
|
11485
|
+
gt=0,
|
|
11486
|
+
title='Run Count',
|
|
11528
11487
|
)
|
|
11529
11488
|
|
|
11530
11489
|
|
|
@@ -12178,7 +12137,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
|
|
|
12178
12137
|
[], description='The IDs of the messages to retrieve.', title='Id'
|
|
12179
12138
|
)
|
|
12180
12139
|
message_type: Optional[List[MessageType]] = Field(
|
|
12181
|
-
['user-message', '
|
|
12140
|
+
['user-message', 'agent-message', 'external-event'],
|
|
12182
12141
|
description='The type of messages to retrieve.',
|
|
12183
12142
|
title='Message Type',
|
|
12184
12143
|
)
|
|
@@ -13984,9 +13943,9 @@ class ServiceInstance(BaseModel):
|
|
|
13984
13943
|
agent_id: str = Field(
|
|
13985
13944
|
..., description='The ID of the agent that this service uses.', title='Agent Id'
|
|
13986
13945
|
)
|
|
13987
|
-
tags: List[
|
|
13988
|
-
|
|
13989
|
-
)
|
|
13946
|
+
tags: List[
|
|
13947
|
+
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
13948
|
+
] = Field(..., description='The tags of the service.', title='Tags')
|
|
13990
13949
|
|
|
13991
13950
|
|
|
13992
13951
|
class SimulationConversationInvocationSource(BaseModel):
|
|
@@ -14037,7 +13996,9 @@ class SimulationUnitTestSet(BaseModel):
|
|
|
14037
13996
|
description='Whether the unit test set has been deleted.',
|
|
14038
13997
|
title='Is Deleted',
|
|
14039
13998
|
)
|
|
14040
|
-
tags: List[
|
|
13999
|
+
tags: List[
|
|
14000
|
+
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
14001
|
+
] = Field(
|
|
14041
14002
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
14042
14003
|
)
|
|
14043
14004
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -14076,7 +14037,9 @@ class SimulationUnitTestSetInstance(BaseModel):
|
|
|
14076
14037
|
description='Whether the unit test set has been deleted.',
|
|
14077
14038
|
title='Is Deleted',
|
|
14078
14039
|
)
|
|
14079
|
-
tags: List[
|
|
14040
|
+
tags: List[
|
|
14041
|
+
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
14042
|
+
] = Field(
|
|
14080
14043
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
14081
14044
|
)
|
|
14082
14045
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -14192,9 +14155,9 @@ class ToolInstance(BaseModel):
|
|
|
14192
14155
|
description='A list of encrypted environment variables that some versions of this tool uses.',
|
|
14193
14156
|
title='Secret Envvars',
|
|
14194
14157
|
)
|
|
14195
|
-
tags: List[
|
|
14196
|
-
|
|
14197
|
-
)
|
|
14158
|
+
tags: List[
|
|
14159
|
+
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
14160
|
+
] = Field(..., description='The tags of the simulation persona.', title='Tags')
|
|
14198
14161
|
|
|
14199
14162
|
|
|
14200
14163
|
class ToolVersionInstance(BaseModel):
|
|
@@ -14207,7 +14170,7 @@ class ToolVersionInstance(BaseModel):
|
|
|
14207
14170
|
description='The ID of the tool that this version belongs to.',
|
|
14208
14171
|
title='Tool Id',
|
|
14209
14172
|
)
|
|
14210
|
-
version:
|
|
14173
|
+
version: AmigoLibMongoCollectionsToolInvocationToolInvocationVersion = Field(
|
|
14211
14174
|
..., description='The version of the tool.'
|
|
14212
14175
|
)
|
|
14213
14176
|
required_envvars: List[str] = Field(
|
|
@@ -14613,7 +14576,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
|
|
|
14613
14576
|
description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
|
|
14614
14577
|
min_length=1,
|
|
14615
14578
|
)
|
|
14616
|
-
user_dimensions: List[
|
|
14579
|
+
user_dimensions: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
14617
14580
|
...,
|
|
14618
14581
|
description='User dimensions for the organization.',
|
|
14619
14582
|
title='User Dimensions',
|
|
@@ -14758,17 +14721,6 @@ class OrganizationGetOrganizationMetricsResponse(BaseModel):
|
|
|
14758
14721
|
)
|
|
14759
14722
|
|
|
14760
14723
|
|
|
14761
|
-
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
14762
|
-
RootModel[List[OrganizationModifyOrganizationRequestUserDimension]]
|
|
14763
|
-
):
|
|
14764
|
-
root: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14765
|
-
...,
|
|
14766
|
-
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
14767
|
-
min_length=1,
|
|
14768
|
-
title='User Dimensions',
|
|
14769
|
-
)
|
|
14770
|
-
|
|
14771
|
-
|
|
14772
14724
|
class OrganizationModifyOrganizationRequest(BaseModel):
|
|
14773
14725
|
title: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14774
14726
|
None,
|
|
@@ -14826,7 +14778,7 @@ class OrganizationModifyOrganizationRequest(BaseModel):
|
|
|
14826
14778
|
)
|
|
14827
14779
|
|
|
14828
14780
|
|
|
14829
|
-
class
|
|
14781
|
+
class RoleCreateRoleRequestPermissionGrant(BaseModel):
|
|
14830
14782
|
action: AmigoLibMongoCollectionsRoleRolePermissionGrantAction = Field(
|
|
14831
14783
|
...,
|
|
14832
14784
|
description='Whether this grant allows or denies the specified access.',
|
|
@@ -14843,42 +14795,42 @@ class RoleModifyRoleRequestPermissionGrant(BaseModel):
|
|
|
14843
14795
|
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = None
|
|
14844
14796
|
|
|
14845
14797
|
|
|
14846
|
-
class
|
|
14847
|
-
|
|
14848
|
-
|
|
14849
|
-
description='
|
|
14850
|
-
pattern='^[a-f0-9]{24}$',
|
|
14851
|
-
title='Service Hierarchical State Machine Id',
|
|
14852
|
-
)
|
|
14853
|
-
agent_id: str = Field(
|
|
14854
|
-
...,
|
|
14855
|
-
description='The ID of the agent that this service uses.',
|
|
14856
|
-
pattern='^[a-f0-9]{24}$',
|
|
14857
|
-
title='Agent Id',
|
|
14798
|
+
class RoleModifyRoleRequest(BaseModel):
|
|
14799
|
+
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14800
|
+
None,
|
|
14801
|
+
description='A description about the role. Only updated if specified. This field is a mutable field.',
|
|
14858
14802
|
)
|
|
14859
|
-
|
|
14860
|
-
|
|
14861
|
-
|
|
14803
|
+
permission_grants: Optional[List[RoleCreateRoleRequestPermissionGrant]] = Field(
|
|
14804
|
+
None,
|
|
14805
|
+
description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
|
|
14806
|
+
title='Permission Grants',
|
|
14862
14807
|
)
|
|
14863
|
-
|
|
14864
|
-
|
|
14865
|
-
description='
|
|
14866
|
-
title='Is Active',
|
|
14808
|
+
frontend_view: Optional[FrontendView] = Field(
|
|
14809
|
+
None,
|
|
14810
|
+
description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
|
|
14867
14811
|
)
|
|
14868
|
-
|
|
14812
|
+
inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
|
|
14869
14813
|
Field(
|
|
14870
|
-
|
|
14871
|
-
description='The
|
|
14814
|
+
{},
|
|
14815
|
+
description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
|
|
14816
|
+
title='Inherited From',
|
|
14872
14817
|
)
|
|
14873
14818
|
)
|
|
14874
|
-
|
|
14875
|
-
|
|
14876
|
-
|
|
14877
|
-
|
|
14878
|
-
|
|
14819
|
+
|
|
14820
|
+
|
|
14821
|
+
class ServiceCreateServiceRequestVersionSet(BaseModel):
|
|
14822
|
+
agent_version_number: Optional[int] = Field(
|
|
14823
|
+
...,
|
|
14824
|
+
description='The version number of the agent to be used. If None, the latest agent version will be used.',
|
|
14825
|
+
title='Agent Version Number',
|
|
14879
14826
|
)
|
|
14880
|
-
|
|
14881
|
-
...,
|
|
14827
|
+
service_hierarchical_state_machine_version_number: Optional[int] = Field(
|
|
14828
|
+
...,
|
|
14829
|
+
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
14830
|
+
title='Service Hierarchical State Machine Version Number',
|
|
14831
|
+
)
|
|
14832
|
+
llm_model_preferences: Dict[str, ServiceCreateServiceRequestVersionSetLLMConfig] = (
|
|
14833
|
+
Field(..., title='Llm Model Preferences')
|
|
14882
14834
|
)
|
|
14883
14835
|
|
|
14884
14836
|
|
|
@@ -14903,7 +14855,7 @@ class ServiceGetServicesResponse(BaseModel):
|
|
|
14903
14855
|
|
|
14904
14856
|
|
|
14905
14857
|
class ServiceUpsertServiceVersionSetRequest(BaseModel):
|
|
14906
|
-
version_set:
|
|
14858
|
+
version_set: ServiceCreateServiceRequestVersionSet = Field(
|
|
14907
14859
|
..., description='The version set to upsert.'
|
|
14908
14860
|
)
|
|
14909
14861
|
|
|
@@ -14957,7 +14909,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14957
14909
|
..., description='The description of the simulation unit test set.'
|
|
14958
14910
|
)
|
|
14959
14911
|
unit_test_runs: List[
|
|
14960
|
-
|
|
14912
|
+
SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor
|
|
14961
14913
|
] = Field(
|
|
14962
14914
|
...,
|
|
14963
14915
|
description='The unit test runs that are part of this set.',
|
|
@@ -15064,6 +15016,42 @@ SimulationUpdateSimulationUnitTestRequestSuccessCriterion = (
|
|
|
15064
15016
|
)
|
|
15065
15017
|
|
|
15066
15018
|
|
|
15019
|
+
class SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns(
|
|
15020
|
+
RootModel[List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
|
|
15021
|
+
):
|
|
15022
|
+
root: List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
|
|
15023
|
+
Field(
|
|
15024
|
+
...,
|
|
15025
|
+
description='The unit test runs that are part of this set.',
|
|
15026
|
+
min_length=1,
|
|
15027
|
+
title='Unit Test Runs',
|
|
15028
|
+
)
|
|
15029
|
+
)
|
|
15030
|
+
|
|
15031
|
+
|
|
15032
|
+
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
15033
|
+
name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
15034
|
+
None, description='The name of the simulation unit test set.'
|
|
15035
|
+
)
|
|
15036
|
+
description: Optional[
|
|
15037
|
+
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
15038
|
+
] = Field(
|
|
15039
|
+
{},
|
|
15040
|
+
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
15041
|
+
title='Description',
|
|
15042
|
+
)
|
|
15043
|
+
unit_test_runs: Optional[
|
|
15044
|
+
SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
|
|
15045
|
+
] = Field(
|
|
15046
|
+
None,
|
|
15047
|
+
description='The unit test runs that are part of this set.',
|
|
15048
|
+
title='Unit Test Runs',
|
|
15049
|
+
)
|
|
15050
|
+
tags: Optional[Dict[str, Optional[str]]] = Field(
|
|
15051
|
+
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
15052
|
+
)
|
|
15053
|
+
|
|
15054
|
+
|
|
15067
15055
|
class ToolGetToolVersionsResponse(BaseModel):
|
|
15068
15056
|
tool_versions: List[ToolVersionInstance] = Field(
|
|
15069
15057
|
...,
|
|
@@ -15282,7 +15270,7 @@ class ActionStateInput(BaseModel):
|
|
|
15282
15270
|
Field(..., title='Boundary Constraints')
|
|
15283
15271
|
)
|
|
15284
15272
|
exit_conditions: List[
|
|
15285
|
-
|
|
15273
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition
|
|
15286
15274
|
] = Field(..., title='Exit Conditions')
|
|
15287
15275
|
action_tool_call_specs: List[ToolCallSpecInput] = Field(
|
|
15288
15276
|
..., title='Action Tool Call Specs'
|
|
@@ -15391,7 +15379,7 @@ class DecisionStateInput(BaseModel):
|
|
|
15391
15379
|
type: Literal['decision'] = Field(..., title='Type')
|
|
15392
15380
|
name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
|
|
15393
15381
|
exit_conditions: List[
|
|
15394
|
-
|
|
15382
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition
|
|
15395
15383
|
] = Field(..., title='Exit Conditions')
|
|
15396
15384
|
decision_guidelines: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
15397
15385
|
..., title='Decision Guidelines'
|
|
@@ -15432,9 +15420,9 @@ class Metric(BaseModel):
|
|
|
15432
15420
|
additional_notes: Optional[str] = Field(
|
|
15433
15421
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15434
15422
|
)
|
|
15435
|
-
tags: List[
|
|
15436
|
-
|
|
15437
|
-
)
|
|
15423
|
+
tags: List[
|
|
15424
|
+
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
15425
|
+
] = Field(..., description='The tags of the metric.', title='Tags')
|
|
15438
15426
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
15439
15427
|
..., description='The user who created the metric.'
|
|
15440
15428
|
)
|
|
@@ -15502,9 +15490,9 @@ class MetricInstance(BaseModel):
|
|
|
15502
15490
|
additional_notes: Optional[str] = Field(
|
|
15503
15491
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15504
15492
|
)
|
|
15505
|
-
tags: List[
|
|
15506
|
-
|
|
15507
|
-
)
|
|
15493
|
+
tags: List[
|
|
15494
|
+
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
15495
|
+
] = Field(..., description='The tags of the metric.', title='Tags')
|
|
15508
15496
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
15509
15497
|
..., description='The user who created the metric.'
|
|
15510
15498
|
)
|
|
@@ -15704,9 +15692,9 @@ class SimulationUnitTest(BaseModel):
|
|
|
15704
15692
|
is_deleted: bool = Field(
|
|
15705
15693
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15706
15694
|
)
|
|
15707
|
-
tags: List[
|
|
15708
|
-
|
|
15709
|
-
)
|
|
15695
|
+
tags: List[
|
|
15696
|
+
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
15697
|
+
] = Field(..., description='The tags of the simulation persona.', title='Tags')
|
|
15710
15698
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15711
15699
|
updated_by: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15712
15700
|
|
|
@@ -15749,9 +15737,9 @@ class SimulationUnitTestInstance(BaseModel):
|
|
|
15749
15737
|
is_deleted: bool = Field(
|
|
15750
15738
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15751
15739
|
)
|
|
15752
|
-
tags: List[
|
|
15753
|
-
|
|
15754
|
-
)
|
|
15740
|
+
tags: List[
|
|
15741
|
+
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
15742
|
+
] = Field(..., description='The tags of the simulation persona.', title='Tags')
|
|
15755
15743
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15756
15744
|
updated_by: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15757
15745
|
|
|
@@ -16049,7 +16037,7 @@ class RoleCreateRoleRequest(BaseModel):
|
|
|
16049
16037
|
description: str = Field(
|
|
16050
16038
|
..., description='A description about the role.', min_length=1
|
|
16051
16039
|
)
|
|
16052
|
-
permission_grants: List[
|
|
16040
|
+
permission_grants: List[RoleCreateRoleRequestPermissionGrant] = Field(
|
|
16053
16041
|
...,
|
|
16054
16042
|
description='A list of permission grants associated with this role.',
|
|
16055
16043
|
title='Permission Grants',
|
|
@@ -16075,26 +16063,40 @@ class RoleGetRolesResponse(BaseModel):
|
|
|
16075
16063
|
)
|
|
16076
16064
|
|
|
16077
16065
|
|
|
16078
|
-
class
|
|
16079
|
-
|
|
16080
|
-
|
|
16081
|
-
description='
|
|
16066
|
+
class ServiceCreateServiceRequest(BaseModel):
|
|
16067
|
+
service_hierarchical_state_machine_id: str = Field(
|
|
16068
|
+
...,
|
|
16069
|
+
description='The ID of the state machine that this service uses.',
|
|
16070
|
+
pattern='^[a-f0-9]{24}$',
|
|
16071
|
+
title='Service Hierarchical State Machine Id',
|
|
16082
16072
|
)
|
|
16083
|
-
|
|
16084
|
-
|
|
16085
|
-
description='
|
|
16086
|
-
|
|
16073
|
+
agent_id: str = Field(
|
|
16074
|
+
...,
|
|
16075
|
+
description='The ID of the agent that this service uses.',
|
|
16076
|
+
pattern='^[a-f0-9]{24}$',
|
|
16077
|
+
title='Agent Id',
|
|
16087
16078
|
)
|
|
16088
|
-
|
|
16079
|
+
name: str = Field(..., description='The name of this service.', min_length=1)
|
|
16080
|
+
description: str = Field(
|
|
16081
|
+
..., description='A description of this service.', min_length=1
|
|
16082
|
+
)
|
|
16083
|
+
is_active: bool = Field(
|
|
16084
|
+
...,
|
|
16085
|
+
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.',
|
|
16086
|
+
title='Is Active',
|
|
16087
|
+
)
|
|
16088
|
+
release_version_set: Optional[ServiceCreateServiceRequestVersionSet] = Field(
|
|
16089
16089
|
None,
|
|
16090
|
-
description='The
|
|
16090
|
+
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.',
|
|
16091
16091
|
)
|
|
16092
|
-
|
|
16093
|
-
|
|
16094
|
-
|
|
16095
|
-
|
|
16096
|
-
|
|
16097
|
-
|
|
16092
|
+
keyterms: Optional[List[StrippedNonemptyStringAZAZ02]] = Field(
|
|
16093
|
+
[],
|
|
16094
|
+
description='A list of keyterms that are easy to get wrong during audio transcriptions that tend to occur commonly in audio sessions using this service.',
|
|
16095
|
+
max_length=20,
|
|
16096
|
+
title='Keyterms',
|
|
16097
|
+
)
|
|
16098
|
+
tags: Dict[str, Optional[StrippedNonemptyStringWS]] = Field(
|
|
16099
|
+
..., description='The tags of this service.', title='Tags'
|
|
16098
16100
|
)
|
|
16099
16101
|
|
|
16100
16102
|
|
|
@@ -16231,7 +16233,7 @@ class SimulationUpdateSimulationUnitTestRequest(BaseModel):
|
|
|
16231
16233
|
)
|
|
16232
16234
|
|
|
16233
16235
|
|
|
16234
|
-
class
|
|
16236
|
+
class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
16235
16237
|
id: str = Field(..., description='The ID of the tool invocation.', title='Id')
|
|
16236
16238
|
org_id: str = Field(..., description='The ID of the organization.', title='Org Id')
|
|
16237
16239
|
created_at: Optional[AwareDatetime] = Field(None, title='Created At')
|
|
@@ -16253,19 +16255,11 @@ class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
|
16253
16255
|
tool_id: str = Field(
|
|
16254
16256
|
..., description='The ID of the tool that was invoked.', title='Tool Id'
|
|
16255
16257
|
)
|
|
16256
|
-
tool_version:
|
|
16258
|
+
tool_version: AmigoLibMongoCollectionsToolInvocationToolInvocationVersion = Field(
|
|
16257
16259
|
..., description='The version of the tool that was invoked.'
|
|
16258
16260
|
)
|
|
16259
16261
|
|
|
16260
16262
|
|
|
16261
|
-
class ToolSearchToolInvocationsResponse(BaseModel):
|
|
16262
|
-
tool_invocations: List[ToolGetToolInvocationsResponseToolInvocationInstance] = (
|
|
16263
|
-
Field(
|
|
16264
|
-
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16265
|
-
)
|
|
16266
|
-
)
|
|
16267
|
-
|
|
16268
|
-
|
|
16269
16263
|
class UserGetUsersResponse(BaseModel):
|
|
16270
16264
|
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
16271
16265
|
..., description='Users in this organization.', title='Users'
|
|
@@ -16385,7 +16379,7 @@ class SimulationGetSimulationUnitTestSetRunsResponse(BaseModel):
|
|
|
16385
16379
|
|
|
16386
16380
|
|
|
16387
16381
|
class ToolGetToolInvocationsResponse(BaseModel):
|
|
16388
|
-
tool_invocations: List[
|
|
16382
|
+
tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
|
|
16389
16383
|
Field(
|
|
16390
16384
|
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16391
16385
|
)
|
|
@@ -16400,3 +16394,11 @@ class ToolGetToolInvocationsResponse(BaseModel):
|
|
|
16400
16394
|
description='The continuation token to retrieve the next page of tool invocations, or null if there are no more tool invocations.',
|
|
16401
16395
|
title='Continuation Token',
|
|
16402
16396
|
)
|
|
16397
|
+
|
|
16398
|
+
|
|
16399
|
+
class ToolSearchToolInvocationsResponse(BaseModel):
|
|
16400
|
+
tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
|
|
16401
|
+
Field(
|
|
16402
|
+
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16403
|
+
)
|
|
16404
|
+
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
amigo_sdk/__init__.py,sha256=
|
|
1
|
+
amigo_sdk/__init__.py,sha256=FKbIt8-kJa6zNHoEaDBdEDeXQhCtCg_q6LDaMKsME2A,139
|
|
2
2
|
amigo_sdk/_retry_utils.py,sha256=VbA_Uwv268J80d11R9XfnCjZiV-NwE1aXRsSlRjjRio,2108
|
|
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=Yn12AxIQ6zE9jnGLWO0MUVbBsmw77Kzh82AijyreOkA,4818
|
|
|
6
6
|
amigo_sdk/http_client.py,sha256=tfMXHqMTmlz2ja7aJhOVgbwAiJNlKCzPcK4UGNqXHO8,13488
|
|
7
7
|
amigo_sdk/models.py,sha256=V-G6iL43_ZNOPDcatCJCSszGWGz-nzp_RSyGNm-rBAc,45
|
|
8
8
|
amigo_sdk/sdk_client.py,sha256=5nj8hzjHSFRs9JMNabdYIhQAcFE2G1jI_r7SHVGr9No,6106
|
|
9
|
-
amigo_sdk/generated/model.py,sha256=
|
|
9
|
+
amigo_sdk/generated/model.py,sha256=Yu1EgbOhCb5OZkhrvcg-yVhCxQYV1IeX5R6-4BM7Ftc,459766
|
|
10
10
|
amigo_sdk/resources/conversation.py,sha256=u4kOx5LPbhX92L41UnmPmaF9TkQA5bGev8N00dMoP9I,14805
|
|
11
11
|
amigo_sdk/resources/organization.py,sha256=yX4UlOHNegRzFW4gCJrCxjiLCAGnGegasjviR1yad_Q,1211
|
|
12
12
|
amigo_sdk/resources/service.py,sha256=t1iA3nS9co-wuR-x5jBhAXXTWfMeGsLwfQcLycwVrCA,1536
|
|
13
13
|
amigo_sdk/resources/user.py,sha256=zikijiuGXgmkBVtrldor6XQGQK6jWXonDvNFuQs6XK4,3472
|
|
14
|
-
amigo_sdk-0.
|
|
15
|
-
amigo_sdk-0.
|
|
16
|
-
amigo_sdk-0.
|
|
17
|
-
amigo_sdk-0.
|
|
18
|
-
amigo_sdk-0.
|
|
14
|
+
amigo_sdk-0.88.0.dist-info/METADATA,sha256=5sYuYXPAgHl1hMJcDGrhEXd5_iBdvNFr5I-0GI_YPQo,8499
|
|
15
|
+
amigo_sdk-0.88.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
16
|
+
amigo_sdk-0.88.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
|
|
17
|
+
amigo_sdk-0.88.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
|
|
18
|
+
amigo_sdk-0.88.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|