amigo_sdk 0.80.0__py3-none-any.whl → 0.81.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.80.0.dist-info → amigo_sdk-0.81.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.80.0.dist-info → amigo_sdk-0.81.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.80.0.dist-info → amigo_sdk-0.81.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.80.0.dist-info → amigo_sdk-0.81.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.80.0.dist-info → amigo_sdk-0.81.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-08T01:17:04+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -1616,6 +1616,11 @@ class AmigoLibMongoCollectionsDynamicBehaviorSetVersionAction(BaseModel):
|
|
|
1616
1616
|
)
|
|
1617
1617
|
|
|
1618
1618
|
|
|
1619
|
+
class AmigoLibMongoCollectionsMetricMetricTag(BaseModel):
|
|
1620
|
+
key: str = Field(..., title='Key')
|
|
1621
|
+
value: Optional[str] = Field(..., title='Value')
|
|
1622
|
+
|
|
1623
|
+
|
|
1619
1624
|
AmigoLibMongoCollectionsMetricMetricUserInfo = (
|
|
1620
1625
|
AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1621
1626
|
)
|
|
@@ -1700,9 +1705,10 @@ AmigoLibMongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUserInfo
|
|
|
1700
1705
|
)
|
|
1701
1706
|
|
|
1702
1707
|
|
|
1703
|
-
class
|
|
1704
|
-
|
|
1705
|
-
|
|
1708
|
+
class AmigoLibMongoCollectionsToolInvocationToolInvocationVersion(BaseModel):
|
|
1709
|
+
major: int = Field(..., title='Major')
|
|
1710
|
+
minor: int = Field(..., title='Minor')
|
|
1711
|
+
patch: int = Field(..., title='Patch')
|
|
1706
1712
|
|
|
1707
1713
|
|
|
1708
1714
|
class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
|
|
@@ -1712,12 +1718,6 @@ class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
|
|
|
1712
1718
|
)
|
|
1713
1719
|
|
|
1714
1720
|
|
|
1715
|
-
class AmigoLibMongoCollectionsToolVersionToolVersionVersion(BaseModel):
|
|
1716
|
-
major: int = Field(..., title='Major')
|
|
1717
|
-
minor: int = Field(..., title='Minor')
|
|
1718
|
-
patch: int = Field(..., title='Patch')
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
1721
|
class AmigoLibMongoCollectionsUserUserPreferences(BaseModel):
|
|
1722
1722
|
enable_response_recommendation: Optional[bool] = Field(
|
|
1723
1723
|
False,
|
|
@@ -1956,20 +1956,6 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
|
|
|
1956
1956
|
)
|
|
1957
1957
|
|
|
1958
1958
|
|
|
1959
|
-
class DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
|
|
1960
|
-
BaseModel
|
|
1961
|
-
):
|
|
1962
|
-
id: str = Field(..., title='Id')
|
|
1963
|
-
name: str = Field(..., title='Name')
|
|
1964
|
-
is_active: bool = Field(..., title='Is Active')
|
|
1965
|
-
applied_to_services: List[str] = Field(..., title='Applied To Services')
|
|
1966
|
-
tags: Dict[str, Optional[str]] = Field(..., title='Tags')
|
|
1967
|
-
created_at: AwareDatetime = Field(..., title='Created At')
|
|
1968
|
-
creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1969
|
-
updated_at: AwareDatetime = Field(..., title='Updated At')
|
|
1970
|
-
updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1971
|
-
|
|
1972
|
-
|
|
1973
1959
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
1974
1960
|
applied_to_services_ids: List[str] = Field(
|
|
1975
1961
|
...,
|
|
@@ -1990,14 +1976,18 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
|
1990
1976
|
)
|
|
1991
1977
|
|
|
1992
1978
|
|
|
1993
|
-
class
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
)
|
|
1979
|
+
class DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
|
|
1980
|
+
BaseModel
|
|
1981
|
+
):
|
|
1982
|
+
id: str = Field(..., title='Id')
|
|
1983
|
+
name: str = Field(..., title='Name')
|
|
1984
|
+
is_active: bool = Field(..., title='Is Active')
|
|
1985
|
+
applied_to_services: List[str] = Field(..., title='Applied To Services')
|
|
1986
|
+
tags: Dict[str, Optional[str]] = Field(..., title='Tags')
|
|
1987
|
+
created_at: AwareDatetime = Field(..., title='Created At')
|
|
1988
|
+
creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1989
|
+
updated_at: AwareDatetime = Field(..., title='Updated At')
|
|
1990
|
+
updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
2001
1991
|
|
|
2002
1992
|
|
|
2003
1993
|
class DynamicBehaviorSetUpdateDynamicBehaviorSetRequestAppliedToService(
|
|
@@ -10753,6 +10743,13 @@ class OrganizationCreateOrganizationRequestPreferences(BaseModel):
|
|
|
10753
10743
|
)
|
|
10754
10744
|
|
|
10755
10745
|
|
|
10746
|
+
class OrganizationCreateOrganizationRequestUserDimension(BaseModel):
|
|
10747
|
+
description: str = Field(..., min_length=1)
|
|
10748
|
+
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10749
|
+
..., title='Tags'
|
|
10750
|
+
)
|
|
10751
|
+
|
|
10752
|
+
|
|
10756
10753
|
class OrganizationCreateOrganizationResponse(BaseModel):
|
|
10757
10754
|
org_id: str = Field(
|
|
10758
10755
|
...,
|
|
@@ -10776,19 +10773,19 @@ class OrganizationCreateServiceHierarchicalStateMachineResponse(BaseModel):
|
|
|
10776
10773
|
)
|
|
10777
10774
|
|
|
10778
10775
|
|
|
10779
|
-
class
|
|
10776
|
+
class OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitConditionNextState(
|
|
10780
10777
|
AnnotationStateInputNextState
|
|
10781
10778
|
):
|
|
10782
10779
|
pass
|
|
10783
10780
|
|
|
10784
10781
|
|
|
10785
|
-
class
|
|
10782
|
+
class OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition(
|
|
10786
10783
|
BaseModel
|
|
10787
10784
|
):
|
|
10788
10785
|
description: str = Field(..., min_length=1)
|
|
10789
10786
|
next_state: Union[
|
|
10790
10787
|
StateOrRefName,
|
|
10791
|
-
|
|
10788
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitConditionNextState,
|
|
10792
10789
|
] = Field(..., title='Next State')
|
|
10793
10790
|
|
|
10794
10791
|
|
|
@@ -10894,18 +10891,22 @@ class OrganizationGetUserDimensionsResponse(BaseModel):
|
|
|
10894
10891
|
)
|
|
10895
10892
|
|
|
10896
10893
|
|
|
10894
|
+
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
10895
|
+
RootModel[List[OrganizationCreateOrganizationRequestUserDimension]]
|
|
10896
|
+
):
|
|
10897
|
+
root: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
10898
|
+
...,
|
|
10899
|
+
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
10900
|
+
min_length=1,
|
|
10901
|
+
title='User Dimensions',
|
|
10902
|
+
)
|
|
10903
|
+
|
|
10904
|
+
|
|
10897
10905
|
OrganizationModifyOrganizationRequestPreferences = (
|
|
10898
10906
|
OrganizationCreateOrganizationRequestPreferences
|
|
10899
10907
|
)
|
|
10900
10908
|
|
|
10901
10909
|
|
|
10902
|
-
class OrganizationModifyOrganizationRequestUserDimension(BaseModel):
|
|
10903
|
-
description: str = Field(..., min_length=1)
|
|
10904
|
-
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10905
|
-
..., title='Tags'
|
|
10906
|
-
)
|
|
10907
|
-
|
|
10908
|
-
|
|
10909
10910
|
class RoleAssignRoleRequest(BaseModel):
|
|
10910
10911
|
user_id: str = Field(
|
|
10911
10912
|
...,
|
|
@@ -11195,6 +11196,40 @@ class SimulationGetSimulationPersonasResponseFilterValues(BaseModel):
|
|
|
11195
11196
|
)
|
|
11196
11197
|
|
|
11197
11198
|
|
|
11199
|
+
class SimulationGetSimulationPersonasResponseSimulationPersonaInstance(BaseModel):
|
|
11200
|
+
id: str = Field(..., description='The ID of the simulation persona.', title='Id')
|
|
11201
|
+
name: str = Field(
|
|
11202
|
+
..., description='The name of the simulation persona.', title='Name'
|
|
11203
|
+
)
|
|
11204
|
+
role: str = Field(
|
|
11205
|
+
..., description='The role of the simulation persona.', title='Role'
|
|
11206
|
+
)
|
|
11207
|
+
tags: Dict[str, Optional[str]] = Field(
|
|
11208
|
+
..., description='The tags of the simulation persona.', title='Tags'
|
|
11209
|
+
)
|
|
11210
|
+
is_deleted: bool = Field(
|
|
11211
|
+
...,
|
|
11212
|
+
description='Whether the simulation persona is deleted.',
|
|
11213
|
+
title='Is Deleted',
|
|
11214
|
+
)
|
|
11215
|
+
created_at: AwareDatetime = Field(
|
|
11216
|
+
...,
|
|
11217
|
+
description='The timestamp when the simulation persona was created.',
|
|
11218
|
+
title='Created At',
|
|
11219
|
+
)
|
|
11220
|
+
creator: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
|
|
11221
|
+
..., description='The user who created the simulation persona.'
|
|
11222
|
+
)
|
|
11223
|
+
updated_at: AwareDatetime = Field(
|
|
11224
|
+
...,
|
|
11225
|
+
description='The timestamp when the simulation persona was last updated.',
|
|
11226
|
+
title='Updated At',
|
|
11227
|
+
)
|
|
11228
|
+
updated_by: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = (
|
|
11229
|
+
Field(..., description='The user who last updated the simulation persona.')
|
|
11230
|
+
)
|
|
11231
|
+
|
|
11232
|
+
|
|
11198
11233
|
class SimulationGetSimulationScenarioVersionsResponse(BaseModel):
|
|
11199
11234
|
simulation_scenario_versions: List[SimulationScenarioVersion] = Field(
|
|
11200
11235
|
...,
|
|
@@ -11345,37 +11380,11 @@ class SimulationGetSimulationUnitTestsResponseFilterValues(BaseModel):
|
|
|
11345
11380
|
)
|
|
11346
11381
|
|
|
11347
11382
|
|
|
11348
|
-
class
|
|
11349
|
-
|
|
11350
|
-
|
|
11351
|
-
|
|
11352
|
-
|
|
11353
|
-
role: str = Field(
|
|
11354
|
-
..., description='The role of the simulation persona.', title='Role'
|
|
11355
|
-
)
|
|
11356
|
-
tags: Dict[str, Optional[str]] = Field(
|
|
11357
|
-
..., description='The tags of the simulation persona.', title='Tags'
|
|
11358
|
-
)
|
|
11359
|
-
is_deleted: bool = Field(
|
|
11360
|
-
...,
|
|
11361
|
-
description='Whether the simulation persona is deleted.',
|
|
11362
|
-
title='Is Deleted',
|
|
11363
|
-
)
|
|
11364
|
-
created_at: AwareDatetime = Field(
|
|
11365
|
-
...,
|
|
11366
|
-
description='The timestamp when the simulation persona was created.',
|
|
11367
|
-
title='Created At',
|
|
11368
|
-
)
|
|
11369
|
-
creator: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
|
|
11370
|
-
..., description='The user who created the simulation persona.'
|
|
11371
|
-
)
|
|
11372
|
-
updated_at: AwareDatetime = Field(
|
|
11373
|
-
...,
|
|
11374
|
-
description='The timestamp when the simulation persona was last updated.',
|
|
11375
|
-
title='Updated At',
|
|
11376
|
-
)
|
|
11377
|
-
updated_by: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = (
|
|
11378
|
-
Field(..., description='The user who last updated the simulation persona.')
|
|
11383
|
+
class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
11384
|
+
simulation_personas: List[
|
|
11385
|
+
SimulationGetSimulationPersonasResponseSimulationPersonaInstance
|
|
11386
|
+
] = Field(
|
|
11387
|
+
..., description='The list of simulation personas.', title='Simulation Personas'
|
|
11379
11388
|
)
|
|
11380
11389
|
|
|
11381
11390
|
|
|
@@ -11646,7 +11655,7 @@ class UserGetMemoriesResponse(BaseModel):
|
|
|
11646
11655
|
)
|
|
11647
11656
|
|
|
11648
11657
|
|
|
11649
|
-
class
|
|
11658
|
+
class UserGetUsersResponseUserInstanceUserStats(BaseModel):
|
|
11650
11659
|
num_conversations: int = Field(
|
|
11651
11660
|
...,
|
|
11652
11661
|
description='The number of conversations the user has created.',
|
|
@@ -11664,6 +11673,31 @@ class UserSearchUsersResponseUserInstanceUserStats(BaseModel):
|
|
|
11664
11673
|
)
|
|
11665
11674
|
|
|
11666
11675
|
|
|
11676
|
+
class UserSearchUsersResponseUserInstance(BaseModel):
|
|
11677
|
+
org_id: str = Field(
|
|
11678
|
+
...,
|
|
11679
|
+
description='The ID of the organization that this user belongs to.',
|
|
11680
|
+
title='Org Id',
|
|
11681
|
+
)
|
|
11682
|
+
user_id: str = Field(
|
|
11683
|
+
..., description='The identifier of the user.', title='User Id'
|
|
11684
|
+
)
|
|
11685
|
+
first_name: str = Field(
|
|
11686
|
+
..., description='The first name of the user.', title='First Name'
|
|
11687
|
+
)
|
|
11688
|
+
last_name: str = Field(
|
|
11689
|
+
..., description='The last name of the user.', title='Last Name'
|
|
11690
|
+
)
|
|
11691
|
+
email: str = Field(..., description='Email of the user.', title='Email')
|
|
11692
|
+
user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
|
|
11693
|
+
..., description="Statistics about the user's usage of the Amigo platform."
|
|
11694
|
+
)
|
|
11695
|
+
role: str = Field(..., description='The ID of the role of the user.', title='Role')
|
|
11696
|
+
preferences: AmigoLibMongoCollectionsUserUserPreferences = Field(
|
|
11697
|
+
..., description='The preferences of the user.'
|
|
11698
|
+
)
|
|
11699
|
+
|
|
11700
|
+
|
|
11667
11701
|
class UserSignInWithApiKeyResponse(BaseModel):
|
|
11668
11702
|
id_token: str = Field(
|
|
11669
11703
|
...,
|
|
@@ -12085,7 +12119,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
|
|
|
12085
12119
|
[], description='The IDs of the messages to retrieve.', title='Id'
|
|
12086
12120
|
)
|
|
12087
12121
|
message_type: Optional[List[MessageType]] = Field(
|
|
12088
|
-
['
|
|
12122
|
+
['external-event', 'user-message', 'agent-message'],
|
|
12089
12123
|
description='The type of messages to retrieve.',
|
|
12090
12124
|
title='Message Type',
|
|
12091
12125
|
)
|
|
@@ -13891,7 +13925,7 @@ class ServiceInstance(BaseModel):
|
|
|
13891
13925
|
agent_id: str = Field(
|
|
13892
13926
|
..., description='The ID of the agent that this service uses.', title='Agent Id'
|
|
13893
13927
|
)
|
|
13894
|
-
tags: List[
|
|
13928
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
13895
13929
|
..., description='The tags of the service.', title='Tags'
|
|
13896
13930
|
)
|
|
13897
13931
|
|
|
@@ -13944,7 +13978,7 @@ class SimulationUnitTestSet(BaseModel):
|
|
|
13944
13978
|
description='Whether the unit test set has been deleted.',
|
|
13945
13979
|
title='Is Deleted',
|
|
13946
13980
|
)
|
|
13947
|
-
tags: List[
|
|
13981
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
13948
13982
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13949
13983
|
)
|
|
13950
13984
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -13983,7 +14017,7 @@ class SimulationUnitTestSetInstance(BaseModel):
|
|
|
13983
14017
|
description='Whether the unit test set has been deleted.',
|
|
13984
14018
|
title='Is Deleted',
|
|
13985
14019
|
)
|
|
13986
|
-
tags: List[
|
|
14020
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
13987
14021
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13988
14022
|
)
|
|
13989
14023
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -14099,7 +14133,7 @@ class ToolInstance(BaseModel):
|
|
|
14099
14133
|
description='A list of encrypted environment variables that some versions of this tool uses.',
|
|
14100
14134
|
title='Secret Envvars',
|
|
14101
14135
|
)
|
|
14102
|
-
tags: List[
|
|
14136
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
14103
14137
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
14104
14138
|
)
|
|
14105
14139
|
|
|
@@ -14114,7 +14148,7 @@ class ToolVersionInstance(BaseModel):
|
|
|
14114
14148
|
description='The ID of the tool that this version belongs to.',
|
|
14115
14149
|
title='Tool Id',
|
|
14116
14150
|
)
|
|
14117
|
-
version:
|
|
14151
|
+
version: AmigoLibMongoCollectionsToolInvocationToolInvocationVersion = Field(
|
|
14118
14152
|
..., description='The version of the tool.'
|
|
14119
14153
|
)
|
|
14120
14154
|
required_envvars: List[str] = Field(
|
|
@@ -14430,7 +14464,7 @@ class DynamicBehaviorSetGetDynamicBehaviorSetVersionsResponse(BaseModel):
|
|
|
14430
14464
|
|
|
14431
14465
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
14432
14466
|
dynamic_behavior_sets: List[
|
|
14433
|
-
|
|
14467
|
+
DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14434
14468
|
] = Field(
|
|
14435
14469
|
...,
|
|
14436
14470
|
description='The retrieved dynamic behavior sets.',
|
|
@@ -14454,6 +14488,16 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
|
14454
14488
|
)
|
|
14455
14489
|
|
|
14456
14490
|
|
|
14491
|
+
class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
|
|
14492
|
+
dynamic_behavior_sets: List[
|
|
14493
|
+
DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14494
|
+
] = Field(
|
|
14495
|
+
...,
|
|
14496
|
+
description='The retrieved dynamic behavior sets.',
|
|
14497
|
+
title='Dynamic Behavior Sets',
|
|
14498
|
+
)
|
|
14499
|
+
|
|
14500
|
+
|
|
14457
14501
|
class MetricCreateMetricRequest(BaseModel):
|
|
14458
14502
|
name: str = Field(
|
|
14459
14503
|
...,
|
|
@@ -14510,7 +14554,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
|
|
|
14510
14554
|
description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
|
|
14511
14555
|
min_length=1,
|
|
14512
14556
|
)
|
|
14513
|
-
user_dimensions: List[
|
|
14557
|
+
user_dimensions: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
14514
14558
|
...,
|
|
14515
14559
|
description='User dimensions for the organization.',
|
|
14516
14560
|
title='User Dimensions',
|
|
@@ -14654,17 +14698,6 @@ class OrganizationGetOrganizationMetricsResponse(BaseModel):
|
|
|
14654
14698
|
)
|
|
14655
14699
|
|
|
14656
14700
|
|
|
14657
|
-
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
14658
|
-
RootModel[List[OrganizationModifyOrganizationRequestUserDimension]]
|
|
14659
|
-
):
|
|
14660
|
-
root: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14661
|
-
...,
|
|
14662
|
-
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
14663
|
-
min_length=1,
|
|
14664
|
-
title='User Dimensions',
|
|
14665
|
-
)
|
|
14666
|
-
|
|
14667
|
-
|
|
14668
14701
|
class OrganizationModifyOrganizationRequest(BaseModel):
|
|
14669
14702
|
title: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14670
14703
|
None,
|
|
@@ -14739,22 +14772,6 @@ class RoleModifyRoleRequestPermissionGrant(BaseModel):
|
|
|
14739
14772
|
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = None
|
|
14740
14773
|
|
|
14741
14774
|
|
|
14742
|
-
class ServiceCreateServiceRequestVersionSet(BaseModel):
|
|
14743
|
-
agent_version_number: Optional[int] = Field(
|
|
14744
|
-
...,
|
|
14745
|
-
description='The version number of the agent to be used. If None, the latest agent version will be used.',
|
|
14746
|
-
title='Agent Version Number',
|
|
14747
|
-
)
|
|
14748
|
-
service_hierarchical_state_machine_version_number: Optional[int] = Field(
|
|
14749
|
-
...,
|
|
14750
|
-
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
14751
|
-
title='Service Hierarchical State Machine Version Number',
|
|
14752
|
-
)
|
|
14753
|
-
llm_model_preferences: Dict[
|
|
14754
|
-
str, ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig
|
|
14755
|
-
] = Field(..., title='Llm Model Preferences')
|
|
14756
|
-
|
|
14757
|
-
|
|
14758
14775
|
class ServiceGetServicesResponse(BaseModel):
|
|
14759
14776
|
services: List[ServiceInstance] = Field(
|
|
14760
14777
|
..., description='The services that are found.', title='Services'
|
|
@@ -14775,10 +14792,20 @@ class ServiceGetServicesResponse(BaseModel):
|
|
|
14775
14792
|
)
|
|
14776
14793
|
|
|
14777
14794
|
|
|
14778
|
-
class
|
|
14779
|
-
|
|
14780
|
-
...,
|
|
14795
|
+
class ServiceUpsertServiceVersionSetRequestVersionSet(BaseModel):
|
|
14796
|
+
agent_version_number: Optional[int] = Field(
|
|
14797
|
+
...,
|
|
14798
|
+
description='The version number of the agent to be used. If None, the latest agent version will be used.',
|
|
14799
|
+
title='Agent Version Number',
|
|
14781
14800
|
)
|
|
14801
|
+
service_hierarchical_state_machine_version_number: Optional[int] = Field(
|
|
14802
|
+
...,
|
|
14803
|
+
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
14804
|
+
title='Service Hierarchical State Machine Version Number',
|
|
14805
|
+
)
|
|
14806
|
+
llm_model_preferences: Dict[
|
|
14807
|
+
str, ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig
|
|
14808
|
+
] = Field(..., title='Llm Model Preferences')
|
|
14782
14809
|
|
|
14783
14810
|
|
|
14784
14811
|
class SimulationCreateSimulationPersonaRequest(BaseModel):
|
|
@@ -14844,7 +14871,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14844
14871
|
|
|
14845
14872
|
class SimulationGetSimulationPersonasResponse(BaseModel):
|
|
14846
14873
|
simulation_personas: List[
|
|
14847
|
-
|
|
14874
|
+
SimulationGetSimulationPersonasResponseSimulationPersonaInstance
|
|
14848
14875
|
] = Field(
|
|
14849
14876
|
..., description='The list of simulation personas.', title='Simulation Personas'
|
|
14850
14877
|
)
|
|
@@ -14916,14 +14943,6 @@ class SimulationGetSimulationUnitTestSetsResponse(BaseModel):
|
|
|
14916
14943
|
)
|
|
14917
14944
|
|
|
14918
14945
|
|
|
14919
|
-
class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
14920
|
-
simulation_personas: List[
|
|
14921
|
-
SimulationSearchSimulationPersonasResponseSimulationPersonaInstance
|
|
14922
|
-
] = Field(
|
|
14923
|
-
..., description='The list of simulation personas.', title='Simulation Personas'
|
|
14924
|
-
)
|
|
14925
|
-
|
|
14926
|
-
|
|
14927
14946
|
class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
|
|
14928
14947
|
simulation_unit_test_sets: List[SimulationUnitTestSet] = Field(
|
|
14929
14948
|
...,
|
|
@@ -15075,28 +15094,23 @@ class UserGetUserModelResponse(BaseModel):
|
|
|
15075
15094
|
)
|
|
15076
15095
|
|
|
15077
15096
|
|
|
15078
|
-
class
|
|
15079
|
-
|
|
15080
|
-
...,
|
|
15081
|
-
description='The ID of the organization that this user belongs to.',
|
|
15082
|
-
title='Org Id',
|
|
15083
|
-
)
|
|
15084
|
-
user_id: str = Field(
|
|
15085
|
-
..., description='The identifier of the user.', title='User Id'
|
|
15086
|
-
)
|
|
15087
|
-
first_name: str = Field(
|
|
15088
|
-
..., description='The first name of the user.', title='First Name'
|
|
15097
|
+
class UserGetUsersResponse(BaseModel):
|
|
15098
|
+
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
15099
|
+
..., description='Users in this organization.', title='Users'
|
|
15089
15100
|
)
|
|
15090
|
-
|
|
15091
|
-
..., description='
|
|
15101
|
+
has_more: bool = Field(
|
|
15102
|
+
..., description='Whether there are more users to retrieve.', title='Has More'
|
|
15092
15103
|
)
|
|
15093
|
-
|
|
15094
|
-
|
|
15095
|
-
|
|
15104
|
+
continuation_token: Optional[int] = Field(
|
|
15105
|
+
...,
|
|
15106
|
+
description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
|
|
15107
|
+
title='Continuation Token',
|
|
15096
15108
|
)
|
|
15097
|
-
|
|
15098
|
-
|
|
15099
|
-
|
|
15109
|
+
|
|
15110
|
+
|
|
15111
|
+
class UserSearchUsersResponse(BaseModel):
|
|
15112
|
+
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
15113
|
+
..., description='Users in this organization.', title='Users'
|
|
15100
15114
|
)
|
|
15101
15115
|
|
|
15102
15116
|
|
|
@@ -15191,7 +15205,7 @@ class ActionStateInput(BaseModel):
|
|
|
15191
15205
|
Field(..., title='Boundary Constraints')
|
|
15192
15206
|
)
|
|
15193
15207
|
exit_conditions: List[
|
|
15194
|
-
|
|
15208
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition
|
|
15195
15209
|
] = Field(..., title='Exit Conditions')
|
|
15196
15210
|
action_tool_call_specs: List[ToolCallSpecInput] = Field(
|
|
15197
15211
|
..., title='Action Tool Call Specs'
|
|
@@ -15300,7 +15314,7 @@ class DecisionStateInput(BaseModel):
|
|
|
15300
15314
|
type: Literal['decision'] = Field(..., title='Type')
|
|
15301
15315
|
name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
|
|
15302
15316
|
exit_conditions: List[
|
|
15303
|
-
|
|
15317
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition
|
|
15304
15318
|
] = Field(..., title='Exit Conditions')
|
|
15305
15319
|
decision_guidelines: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
15306
15320
|
..., title='Decision Guidelines'
|
|
@@ -15341,7 +15355,7 @@ class Metric(BaseModel):
|
|
|
15341
15355
|
additional_notes: Optional[str] = Field(
|
|
15342
15356
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15343
15357
|
)
|
|
15344
|
-
tags: List[
|
|
15358
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
15345
15359
|
..., description='The tags of the metric.', title='Tags'
|
|
15346
15360
|
)
|
|
15347
15361
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15411,7 +15425,7 @@ class MetricInstance(BaseModel):
|
|
|
15411
15425
|
additional_notes: Optional[str] = Field(
|
|
15412
15426
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15413
15427
|
)
|
|
15414
|
-
tags: List[
|
|
15428
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
15415
15429
|
..., description='The tags of the metric.', title='Tags'
|
|
15416
15430
|
)
|
|
15417
15431
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15613,7 +15627,7 @@ class SimulationUnitTest(BaseModel):
|
|
|
15613
15627
|
is_deleted: bool = Field(
|
|
15614
15628
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15615
15629
|
)
|
|
15616
|
-
tags: List[
|
|
15630
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
15617
15631
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15618
15632
|
)
|
|
15619
15633
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
@@ -15658,7 +15672,7 @@ class SimulationUnitTestInstance(BaseModel):
|
|
|
15658
15672
|
is_deleted: bool = Field(
|
|
15659
15673
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15660
15674
|
)
|
|
15661
|
-
tags: List[
|
|
15675
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
15662
15676
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15663
15677
|
)
|
|
15664
15678
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
@@ -16029,15 +16043,23 @@ class ServiceCreateServiceRequest(BaseModel):
|
|
|
16029
16043
|
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.',
|
|
16030
16044
|
title='Is Active',
|
|
16031
16045
|
)
|
|
16032
|
-
release_version_set: Optional[
|
|
16033
|
-
|
|
16034
|
-
|
|
16046
|
+
release_version_set: Optional[ServiceUpsertServiceVersionSetRequestVersionSet] = (
|
|
16047
|
+
Field(
|
|
16048
|
+
None,
|
|
16049
|
+
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.',
|
|
16050
|
+
)
|
|
16035
16051
|
)
|
|
16036
16052
|
tags: Dict[str, Optional[StrippedNonemptyStringWS]] = Field(
|
|
16037
16053
|
..., description='The tags of this service.', title='Tags'
|
|
16038
16054
|
)
|
|
16039
16055
|
|
|
16040
16056
|
|
|
16057
|
+
class ServiceUpsertServiceVersionSetRequest(BaseModel):
|
|
16058
|
+
version_set: ServiceUpsertServiceVersionSetRequestVersionSet = Field(
|
|
16059
|
+
..., description='The version set to upsert.'
|
|
16060
|
+
)
|
|
16061
|
+
|
|
16062
|
+
|
|
16041
16063
|
class SimulationCreateSimulationUnitTestRequest(BaseModel):
|
|
16042
16064
|
name: str = Field(..., description='The name of the unit test.', min_length=1)
|
|
16043
16065
|
description: str = Field(
|
|
@@ -16171,7 +16193,7 @@ class SimulationUpdateSimulationUnitTestRequest(BaseModel):
|
|
|
16171
16193
|
)
|
|
16172
16194
|
|
|
16173
16195
|
|
|
16174
|
-
class
|
|
16196
|
+
class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
16175
16197
|
id: str = Field(..., description='The ID of the tool invocation.', title='Id')
|
|
16176
16198
|
org_id: str = Field(..., description='The ID of the organization.', title='Org Id')
|
|
16177
16199
|
created_at: Optional[AwareDatetime] = Field(None, title='Created At')
|
|
@@ -16193,28 +16215,16 @@ class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
|
16193
16215
|
tool_id: str = Field(
|
|
16194
16216
|
..., description='The ID of the tool that was invoked.', title='Tool Id'
|
|
16195
16217
|
)
|
|
16196
|
-
tool_version:
|
|
16218
|
+
tool_version: AmigoLibMongoCollectionsToolInvocationToolInvocationVersion = Field(
|
|
16197
16219
|
..., description='The version of the tool that was invoked.'
|
|
16198
16220
|
)
|
|
16199
16221
|
|
|
16200
16222
|
|
|
16201
|
-
class
|
|
16202
|
-
|
|
16203
|
-
|
|
16204
|
-
|
|
16205
|
-
|
|
16206
|
-
..., description='Whether there are more users to retrieve.', title='Has More'
|
|
16207
|
-
)
|
|
16208
|
-
continuation_token: Optional[int] = Field(
|
|
16209
|
-
...,
|
|
16210
|
-
description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
|
|
16211
|
-
title='Continuation Token',
|
|
16212
|
-
)
|
|
16213
|
-
|
|
16214
|
-
|
|
16215
|
-
class UserSearchUsersResponse(BaseModel):
|
|
16216
|
-
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
16217
|
-
..., description='Users in this organization.', title='Users'
|
|
16223
|
+
class ToolSearchToolInvocationsResponse(BaseModel):
|
|
16224
|
+
tool_invocations: List[ToolGetToolInvocationsResponseToolInvocationInstance] = (
|
|
16225
|
+
Field(
|
|
16226
|
+
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16227
|
+
)
|
|
16218
16228
|
)
|
|
16219
16229
|
|
|
16220
16230
|
|
|
@@ -16317,7 +16327,7 @@ class SimulationGetSimulationUnitTestSetRunsResponse(BaseModel):
|
|
|
16317
16327
|
|
|
16318
16328
|
|
|
16319
16329
|
class ToolGetToolInvocationsResponse(BaseModel):
|
|
16320
|
-
tool_invocations: List[
|
|
16330
|
+
tool_invocations: List[ToolGetToolInvocationsResponseToolInvocationInstance] = (
|
|
16321
16331
|
Field(
|
|
16322
16332
|
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16323
16333
|
)
|
|
@@ -16332,11 +16342,3 @@ class ToolGetToolInvocationsResponse(BaseModel):
|
|
|
16332
16342
|
description='The continuation token to retrieve the next page of tool invocations, or null if there are no more tool invocations.',
|
|
16333
16343
|
title='Continuation Token',
|
|
16334
16344
|
)
|
|
16335
|
-
|
|
16336
|
-
|
|
16337
|
-
class ToolSearchToolInvocationsResponse(BaseModel):
|
|
16338
|
-
tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
|
|
16339
|
-
Field(
|
|
16340
|
-
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16341
|
-
)
|
|
16342
|
-
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
amigo_sdk/__init__.py,sha256=
|
|
1
|
+
amigo_sdk/__init__.py,sha256=HaA6H6mHrr-Ttp3EHvVG2NE2halE4CM9PjYHewK8CIY,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=GA6aL8dQ9a3iG8bGjAHnBl6goqwj-xqqP3vaQWVualg,456810
|
|
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.81.0.dist-info/METADATA,sha256=8pei_-Qdcek71uaX8vvrgNGnLyBuYgccWvek2aBlB88,8499
|
|
15
|
+
amigo_sdk-0.81.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
16
|
+
amigo_sdk-0.81.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
|
|
17
|
+
amigo_sdk-0.81.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
|
|
18
|
+
amigo_sdk-0.81.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|