amigo_sdk 0.62.0__py3-none-any.whl → 0.64.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 +162 -161
- {amigo_sdk-0.62.0.dist-info → amigo_sdk-0.64.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.62.0.dist-info → amigo_sdk-0.64.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.62.0.dist-info → amigo_sdk-0.64.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.62.0.dist-info → amigo_sdk-0.64.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.62.0.dist-info → amigo_sdk-0.64.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-14T21:52:42+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -1707,6 +1707,12 @@ AmigoLibMongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUserInfo
|
|
|
1707
1707
|
)
|
|
1708
1708
|
|
|
1709
1709
|
|
|
1710
|
+
class AmigoLibMongoCollectionsToolInvocationToolInvocationVersion(BaseModel):
|
|
1711
|
+
major: int = Field(..., title='Major')
|
|
1712
|
+
minor: int = Field(..., title='Minor')
|
|
1713
|
+
patch: int = Field(..., title='Patch')
|
|
1714
|
+
|
|
1715
|
+
|
|
1710
1716
|
class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
|
|
1711
1717
|
user_id: str = Field(..., description='The ID of the user.', title='User Id')
|
|
1712
1718
|
user_org_id: str = Field(
|
|
@@ -1714,12 +1720,6 @@ class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
|
|
|
1714
1720
|
)
|
|
1715
1721
|
|
|
1716
1722
|
|
|
1717
|
-
class AmigoLibMongoCollectionsToolVersionToolVersionVersion(BaseModel):
|
|
1718
|
-
major: int = Field(..., title='Major')
|
|
1719
|
-
minor: int = Field(..., title='Minor')
|
|
1720
|
-
patch: int = Field(..., title='Patch')
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
1723
|
class AmigoLibMongoCollectionsUserUserPreferences(BaseModel):
|
|
1724
1724
|
enable_response_recommendation: Optional[bool] = Field(
|
|
1725
1725
|
False,
|
|
@@ -10771,19 +10771,19 @@ class OrganizationCreateServiceHierarchicalStateMachineResponse(BaseModel):
|
|
|
10771
10771
|
)
|
|
10772
10772
|
|
|
10773
10773
|
|
|
10774
|
-
class
|
|
10774
|
+
class OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitConditionNextState(
|
|
10775
10775
|
AnnotationStateInputNextState
|
|
10776
10776
|
):
|
|
10777
10777
|
pass
|
|
10778
10778
|
|
|
10779
10779
|
|
|
10780
|
-
class
|
|
10780
|
+
class OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition(
|
|
10781
10781
|
BaseModel
|
|
10782
10782
|
):
|
|
10783
10783
|
description: str = Field(..., min_length=1)
|
|
10784
10784
|
next_state: Union[
|
|
10785
10785
|
StateOrRefName,
|
|
10786
|
-
|
|
10786
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitConditionNextState,
|
|
10787
10787
|
] = Field(..., title='Next State')
|
|
10788
10788
|
|
|
10789
10789
|
|
|
@@ -10947,17 +10947,9 @@ class RoleModifyRoleResponse(BaseModel):
|
|
|
10947
10947
|
)
|
|
10948
10948
|
|
|
10949
10949
|
|
|
10950
|
-
class
|
|
10951
|
-
|
|
10952
|
-
|
|
10953
|
-
temperature: float = Field(
|
|
10954
|
-
..., description='The preferred temperature value.', title='Temperature'
|
|
10955
|
-
)
|
|
10956
|
-
top_k: int = Field(
|
|
10957
|
-
...,
|
|
10958
|
-
description='The preferred `top_k` value. Note that not all LLMs support this.',
|
|
10959
|
-
title='Top K',
|
|
10960
|
-
)
|
|
10950
|
+
class ServiceCreateServiceRequestVersionSetLLMLoadBalancingSetConfig(BaseModel):
|
|
10951
|
+
llm_load_balancing_set_name: LLMLoadBalancingSetType
|
|
10952
|
+
configs: Dict[str, PerLLMConfig] = Field(..., title='Configs')
|
|
10961
10953
|
|
|
10962
10954
|
|
|
10963
10955
|
class ServiceCreateServiceResponse(BaseModel):
|
|
@@ -11019,11 +11011,17 @@ class ServiceUpdateServiceRequest(BaseModel):
|
|
|
11019
11011
|
)
|
|
11020
11012
|
|
|
11021
11013
|
|
|
11022
|
-
class
|
|
11023
|
-
|
|
11024
|
-
)
|
|
11025
|
-
|
|
11026
|
-
|
|
11014
|
+
class ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig(BaseModel):
|
|
11015
|
+
llm_name: LLMType
|
|
11016
|
+
top_p: float = Field(..., description='The preferred `top_p` value.', title='Top P')
|
|
11017
|
+
temperature: float = Field(
|
|
11018
|
+
..., description='The preferred temperature value.', title='Temperature'
|
|
11019
|
+
)
|
|
11020
|
+
top_k: int = Field(
|
|
11021
|
+
...,
|
|
11022
|
+
description='The preferred `top_k` value. Note that not all LLMs support this.',
|
|
11023
|
+
title='Top K',
|
|
11024
|
+
)
|
|
11027
11025
|
|
|
11028
11026
|
|
|
11029
11027
|
class SimulationCreateSimulationPersonaRequestInitialVersion(BaseModel):
|
|
@@ -11144,16 +11142,6 @@ class SimulationCreateSimulationUnitTestResponse(BaseModel):
|
|
|
11144
11142
|
)
|
|
11145
11143
|
|
|
11146
11144
|
|
|
11147
|
-
class SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
|
|
11148
|
-
unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
|
|
11149
|
-
run_count: int = Field(
|
|
11150
|
-
...,
|
|
11151
|
-
description='The number of times to run the unit test.',
|
|
11152
|
-
gt=0,
|
|
11153
|
-
title='Run Count',
|
|
11154
|
-
)
|
|
11155
|
-
|
|
11156
|
-
|
|
11157
11145
|
class SimulationCreateSimulationUnitTestSetResponse(BaseModel):
|
|
11158
11146
|
simulation_unit_test_set_id: str = Field(
|
|
11159
11147
|
...,
|
|
@@ -11244,6 +11232,37 @@ class SimulationGetSimulationScenariosResponseFilterValues(BaseModel):
|
|
|
11244
11232
|
)
|
|
11245
11233
|
|
|
11246
11234
|
|
|
11235
|
+
class SimulationGetSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
|
|
11236
|
+
id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
|
|
11237
|
+
name: str = Field(
|
|
11238
|
+
..., description='The name of the simulation scenario.', title='Name'
|
|
11239
|
+
)
|
|
11240
|
+
tags: Dict[str, Optional[str]] = Field(
|
|
11241
|
+
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11242
|
+
)
|
|
11243
|
+
is_deleted: bool = Field(
|
|
11244
|
+
...,
|
|
11245
|
+
description='Whether the simulation scenario is deleted.',
|
|
11246
|
+
title='Is Deleted',
|
|
11247
|
+
)
|
|
11248
|
+
created_at: AwareDatetime = Field(
|
|
11249
|
+
...,
|
|
11250
|
+
description='The timestamp when the simulation scenario was created.',
|
|
11251
|
+
title='Created At',
|
|
11252
|
+
)
|
|
11253
|
+
creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11254
|
+
Field(..., description='The user who created the simulation scenario.')
|
|
11255
|
+
)
|
|
11256
|
+
updated_at: AwareDatetime = Field(
|
|
11257
|
+
...,
|
|
11258
|
+
description='The timestamp when the simulation scenario was last updated.',
|
|
11259
|
+
title='Updated At',
|
|
11260
|
+
)
|
|
11261
|
+
updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11262
|
+
Field(..., description='The user who last updated the simulation scenario.')
|
|
11263
|
+
)
|
|
11264
|
+
|
|
11265
|
+
|
|
11247
11266
|
class SimulationGetSimulationUnitTestSetRunArtifactsResponse(BaseModel):
|
|
11248
11267
|
presigned_url: str = Field(
|
|
11249
11268
|
...,
|
|
@@ -11366,34 +11385,13 @@ class SimulationSearchSimulationPersonasResponseSimulationPersonaInstance(BaseMo
|
|
|
11366
11385
|
)
|
|
11367
11386
|
|
|
11368
11387
|
|
|
11369
|
-
class
|
|
11370
|
-
|
|
11371
|
-
|
|
11372
|
-
|
|
11373
|
-
)
|
|
11374
|
-
tags: Dict[str, Optional[str]] = Field(
|
|
11375
|
-
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11376
|
-
)
|
|
11377
|
-
is_deleted: bool = Field(
|
|
11378
|
-
...,
|
|
11379
|
-
description='Whether the simulation scenario is deleted.',
|
|
11380
|
-
title='Is Deleted',
|
|
11381
|
-
)
|
|
11382
|
-
created_at: AwareDatetime = Field(
|
|
11383
|
-
...,
|
|
11384
|
-
description='The timestamp when the simulation scenario was created.',
|
|
11385
|
-
title='Created At',
|
|
11386
|
-
)
|
|
11387
|
-
creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11388
|
-
Field(..., description='The user who created the simulation scenario.')
|
|
11389
|
-
)
|
|
11390
|
-
updated_at: AwareDatetime = Field(
|
|
11388
|
+
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
11389
|
+
simulation_scenarios: List[
|
|
11390
|
+
SimulationGetSimulationScenariosResponseSimulationScenarioInstance
|
|
11391
|
+
] = Field(
|
|
11391
11392
|
...,
|
|
11392
|
-
description='The
|
|
11393
|
-
title='
|
|
11394
|
-
)
|
|
11395
|
-
updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11396
|
-
Field(..., description='The user who last updated the simulation scenario.')
|
|
11393
|
+
description='The list of simulation scenarios.',
|
|
11394
|
+
title='Simulation Scenarios',
|
|
11397
11395
|
)
|
|
11398
11396
|
|
|
11399
11397
|
|
|
@@ -11454,39 +11452,13 @@ class SimulationUpdateSimulationUnitTestRequestRunCount(RootModel[int]):
|
|
|
11454
11452
|
)
|
|
11455
11453
|
|
|
11456
11454
|
|
|
11457
|
-
class
|
|
11458
|
-
|
|
11459
|
-
|
|
11460
|
-
|
|
11461
|
-
|
|
11462
|
-
|
|
11463
|
-
|
|
11464
|
-
min_length=1,
|
|
11465
|
-
title='Unit Test Runs',
|
|
11466
|
-
)
|
|
11467
|
-
)
|
|
11468
|
-
|
|
11469
|
-
|
|
11470
|
-
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
11471
|
-
name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
11472
|
-
None, description='The name of the simulation unit test set.'
|
|
11473
|
-
)
|
|
11474
|
-
description: Optional[
|
|
11475
|
-
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
11476
|
-
] = Field(
|
|
11477
|
-
{},
|
|
11478
|
-
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
11479
|
-
title='Description',
|
|
11480
|
-
)
|
|
11481
|
-
unit_test_runs: Optional[
|
|
11482
|
-
SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
|
|
11483
|
-
] = Field(
|
|
11484
|
-
None,
|
|
11485
|
-
description='The unit test runs that are part of this set.',
|
|
11486
|
-
title='Unit Test Runs',
|
|
11487
|
-
)
|
|
11488
|
-
tags: Optional[Dict[str, Optional[str]]] = Field(
|
|
11489
|
-
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
11455
|
+
class SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
|
|
11456
|
+
unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
|
|
11457
|
+
run_count: int = Field(
|
|
11458
|
+
...,
|
|
11459
|
+
description='The number of times to run the unit test.',
|
|
11460
|
+
gt=0,
|
|
11461
|
+
title='Run Count',
|
|
11490
11462
|
)
|
|
11491
11463
|
|
|
11492
11464
|
|
|
@@ -11649,7 +11621,7 @@ class UserGetMemoriesResponse(BaseModel):
|
|
|
11649
11621
|
)
|
|
11650
11622
|
|
|
11651
11623
|
|
|
11652
|
-
class
|
|
11624
|
+
class UserGetUsersResponseUserInstanceUserStats(BaseModel):
|
|
11653
11625
|
num_conversations: int = Field(
|
|
11654
11626
|
...,
|
|
11655
11627
|
description='The number of conversations the user has created.',
|
|
@@ -11667,6 +11639,31 @@ class UserSearchUsersResponseUserInstanceUserStats(BaseModel):
|
|
|
11667
11639
|
)
|
|
11668
11640
|
|
|
11669
11641
|
|
|
11642
|
+
class UserSearchUsersResponseUserInstance(BaseModel):
|
|
11643
|
+
org_id: str = Field(
|
|
11644
|
+
...,
|
|
11645
|
+
description='The ID of the organization that this user belongs to.',
|
|
11646
|
+
title='Org Id',
|
|
11647
|
+
)
|
|
11648
|
+
user_id: str = Field(
|
|
11649
|
+
..., description='The identifier of the user.', title='User Id'
|
|
11650
|
+
)
|
|
11651
|
+
first_name: str = Field(
|
|
11652
|
+
..., description='The first name of the user.', title='First Name'
|
|
11653
|
+
)
|
|
11654
|
+
last_name: str = Field(
|
|
11655
|
+
..., description='The last name of the user.', title='Last Name'
|
|
11656
|
+
)
|
|
11657
|
+
email: str = Field(..., description='Email of the user.', title='Email')
|
|
11658
|
+
user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
|
|
11659
|
+
..., description="Statistics about the user's usage of the Amigo platform."
|
|
11660
|
+
)
|
|
11661
|
+
role: str = Field(..., description='The ID of the role of the user.', title='Role')
|
|
11662
|
+
preferences: AmigoLibMongoCollectionsUserUserPreferences = Field(
|
|
11663
|
+
..., description='The preferences of the user.'
|
|
11664
|
+
)
|
|
11665
|
+
|
|
11666
|
+
|
|
11670
11667
|
class UserSignInWithApiKeyResponse(BaseModel):
|
|
11671
11668
|
id_token: str = Field(
|
|
11672
11669
|
...,
|
|
@@ -12114,7 +12111,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
|
|
|
12114
12111
|
[], description='The IDs of the messages to retrieve.', title='Id'
|
|
12115
12112
|
)
|
|
12116
12113
|
message_type: Optional[List[MessageType]] = Field(
|
|
12117
|
-
['
|
|
12114
|
+
['external-event', 'user-message', 'agent-message'],
|
|
12118
12115
|
description='The type of messages to retrieve.',
|
|
12119
12116
|
title='Message Type',
|
|
12120
12117
|
)
|
|
@@ -12256,6 +12253,9 @@ class SearchUsersParametersQuery(BaseModel):
|
|
|
12256
12253
|
description='The search query. Any users whose name or email contains the query are returned.',
|
|
12257
12254
|
title='Query',
|
|
12258
12255
|
)
|
|
12256
|
+
user_id: Optional[List[str]] = Field(
|
|
12257
|
+
[], description='The IDs of the users.', title='User Id'
|
|
12258
|
+
)
|
|
12259
12259
|
|
|
12260
12260
|
|
|
12261
12261
|
class GetRolesV1OrganizationRoleGetParametersQueryIdItem(
|
|
@@ -14068,7 +14068,7 @@ class ToolVersionInstance(BaseModel):
|
|
|
14068
14068
|
description='The ID of the tool that this version belongs to.',
|
|
14069
14069
|
title='Tool Id',
|
|
14070
14070
|
)
|
|
14071
|
-
version:
|
|
14071
|
+
version: AmigoLibMongoCollectionsToolInvocationToolInvocationVersion = Field(
|
|
14072
14072
|
..., description='The version of the tool.'
|
|
14073
14073
|
)
|
|
14074
14074
|
required_envvars: List[str] = Field(
|
|
@@ -14753,8 +14753,8 @@ class ServiceUpsertServiceVersionSetRequestVersionSet(BaseModel):
|
|
|
14753
14753
|
llm_model_preferences: Dict[
|
|
14754
14754
|
str,
|
|
14755
14755
|
Union[
|
|
14756
|
-
|
|
14757
|
-
|
|
14756
|
+
ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig,
|
|
14757
|
+
ServiceCreateServiceRequestVersionSetLLMLoadBalancingSetConfig,
|
|
14758
14758
|
],
|
|
14759
14759
|
] = Field(..., title='Llm Model Preferences')
|
|
14760
14760
|
|
|
@@ -14808,7 +14808,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14808
14808
|
..., description='The description of the simulation unit test set.'
|
|
14809
14809
|
)
|
|
14810
14810
|
unit_test_runs: List[
|
|
14811
|
-
|
|
14811
|
+
SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor
|
|
14812
14812
|
] = Field(
|
|
14813
14813
|
...,
|
|
14814
14814
|
description='The unit test runs that are part of this set.',
|
|
@@ -14846,7 +14846,7 @@ class SimulationGetSimulationPersonasResponse(BaseModel):
|
|
|
14846
14846
|
|
|
14847
14847
|
class SimulationGetSimulationScenariosResponse(BaseModel):
|
|
14848
14848
|
simulation_scenarios: List[
|
|
14849
|
-
|
|
14849
|
+
SimulationGetSimulationScenariosResponseSimulationScenarioInstance
|
|
14850
14850
|
] = Field(
|
|
14851
14851
|
...,
|
|
14852
14852
|
description='The list of simulation scenarios.',
|
|
@@ -14902,16 +14902,6 @@ class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
|
14902
14902
|
)
|
|
14903
14903
|
|
|
14904
14904
|
|
|
14905
|
-
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
14906
|
-
simulation_scenarios: List[
|
|
14907
|
-
SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
|
|
14908
|
-
] = Field(
|
|
14909
|
-
...,
|
|
14910
|
-
description='The list of simulation scenarios.',
|
|
14911
|
-
title='Simulation Scenarios',
|
|
14912
|
-
)
|
|
14913
|
-
|
|
14914
|
-
|
|
14915
14905
|
class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
|
|
14916
14906
|
simulation_unit_test_sets: List[SimulationUnitTestSet] = Field(
|
|
14917
14907
|
...,
|
|
@@ -14925,6 +14915,42 @@ SimulationUpdateSimulationUnitTestRequestSuccessCriterion = (
|
|
|
14925
14915
|
)
|
|
14926
14916
|
|
|
14927
14917
|
|
|
14918
|
+
class SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns(
|
|
14919
|
+
RootModel[List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
|
|
14920
|
+
):
|
|
14921
|
+
root: List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
|
|
14922
|
+
Field(
|
|
14923
|
+
...,
|
|
14924
|
+
description='The unit test runs that are part of this set.',
|
|
14925
|
+
min_length=1,
|
|
14926
|
+
title='Unit Test Runs',
|
|
14927
|
+
)
|
|
14928
|
+
)
|
|
14929
|
+
|
|
14930
|
+
|
|
14931
|
+
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
14932
|
+
name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14933
|
+
None, description='The name of the simulation unit test set.'
|
|
14934
|
+
)
|
|
14935
|
+
description: Optional[
|
|
14936
|
+
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
14937
|
+
] = Field(
|
|
14938
|
+
{},
|
|
14939
|
+
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
14940
|
+
title='Description',
|
|
14941
|
+
)
|
|
14942
|
+
unit_test_runs: Optional[
|
|
14943
|
+
SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
|
|
14944
|
+
] = Field(
|
|
14945
|
+
None,
|
|
14946
|
+
description='The unit test runs that are part of this set.',
|
|
14947
|
+
title='Unit Test Runs',
|
|
14948
|
+
)
|
|
14949
|
+
tags: Optional[Dict[str, Optional[str]]] = Field(
|
|
14950
|
+
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
14951
|
+
)
|
|
14952
|
+
|
|
14953
|
+
|
|
14928
14954
|
class ToolGetToolVersionsResponse(BaseModel):
|
|
14929
14955
|
tool_versions: List[ToolVersionInstance] = Field(
|
|
14930
14956
|
...,
|
|
@@ -15058,33 +15084,22 @@ class UserGetUserModelResponse(BaseModel):
|
|
|
15058
15084
|
)
|
|
15059
15085
|
|
|
15060
15086
|
|
|
15061
|
-
class
|
|
15062
|
-
|
|
15063
|
-
...,
|
|
15064
|
-
description='The ID of the organization that this user belongs to.',
|
|
15065
|
-
title='Org Id',
|
|
15066
|
-
)
|
|
15067
|
-
user_id: str = Field(
|
|
15068
|
-
..., description='The identifier of the user.', title='User Id'
|
|
15069
|
-
)
|
|
15070
|
-
first_name: str = Field(
|
|
15071
|
-
..., description='The first name of the user.', title='First Name'
|
|
15072
|
-
)
|
|
15073
|
-
last_name: str = Field(
|
|
15074
|
-
..., description='The last name of the user.', title='Last Name'
|
|
15087
|
+
class UserGetUsersResponse(BaseModel):
|
|
15088
|
+
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
15089
|
+
..., description='Users in this organization.', title='Users'
|
|
15075
15090
|
)
|
|
15076
|
-
|
|
15077
|
-
|
|
15078
|
-
..., description="Statistics about the user's usage of the Amigo platform."
|
|
15091
|
+
has_more: bool = Field(
|
|
15092
|
+
..., description='Whether there are more users to retrieve.', title='Has More'
|
|
15079
15093
|
)
|
|
15080
|
-
|
|
15081
|
-
|
|
15082
|
-
|
|
15094
|
+
continuation_token: Optional[int] = Field(
|
|
15095
|
+
...,
|
|
15096
|
+
description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
|
|
15097
|
+
title='Continuation Token',
|
|
15083
15098
|
)
|
|
15084
15099
|
|
|
15085
15100
|
|
|
15086
15101
|
class UserSearchUsersResponse(BaseModel):
|
|
15087
|
-
users: List[
|
|
15102
|
+
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
15088
15103
|
..., description='Users in this organization.', title='Users'
|
|
15089
15104
|
)
|
|
15090
15105
|
|
|
@@ -15122,7 +15137,7 @@ class ActionStateInput(BaseModel):
|
|
|
15122
15137
|
Field(..., title='Boundary Constraints')
|
|
15123
15138
|
)
|
|
15124
15139
|
exit_conditions: List[
|
|
15125
|
-
|
|
15140
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition
|
|
15126
15141
|
] = Field(..., title='Exit Conditions')
|
|
15127
15142
|
action_tool_call_specs: List[ToolCallSpecInput] = Field(
|
|
15128
15143
|
..., title='Action Tool Call Specs'
|
|
@@ -15231,7 +15246,7 @@ class DecisionStateInput(BaseModel):
|
|
|
15231
15246
|
type: Literal['decision'] = Field(..., title='Type')
|
|
15232
15247
|
name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
|
|
15233
15248
|
exit_conditions: List[
|
|
15234
|
-
|
|
15249
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition
|
|
15235
15250
|
] = Field(..., title='Exit Conditions')
|
|
15236
15251
|
decision_guidelines: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
15237
15252
|
..., title='Decision Guidelines'
|
|
@@ -16090,7 +16105,7 @@ class SimulationUpdateSimulationUnitTestRequest(BaseModel):
|
|
|
16090
16105
|
)
|
|
16091
16106
|
|
|
16092
16107
|
|
|
16093
|
-
class
|
|
16108
|
+
class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
16094
16109
|
id: str = Field(..., description='The ID of the tool invocation.', title='Id')
|
|
16095
16110
|
org_id: str = Field(..., description='The ID of the organization.', title='Org Id')
|
|
16096
16111
|
created_at: Optional[AwareDatetime] = Field(None, title='Created At')
|
|
@@ -16112,33 +16127,11 @@ class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
|
16112
16127
|
tool_id: str = Field(
|
|
16113
16128
|
..., description='The ID of the tool that was invoked.', title='Tool Id'
|
|
16114
16129
|
)
|
|
16115
|
-
tool_version:
|
|
16130
|
+
tool_version: AmigoLibMongoCollectionsToolInvocationToolInvocationVersion = Field(
|
|
16116
16131
|
..., description='The version of the tool that was invoked.'
|
|
16117
16132
|
)
|
|
16118
16133
|
|
|
16119
16134
|
|
|
16120
|
-
class ToolSearchToolInvocationsResponse(BaseModel):
|
|
16121
|
-
tool_invocations: List[ToolGetToolInvocationsResponseToolInvocationInstance] = (
|
|
16122
|
-
Field(
|
|
16123
|
-
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16124
|
-
)
|
|
16125
|
-
)
|
|
16126
|
-
|
|
16127
|
-
|
|
16128
|
-
class UserGetUsersResponse(BaseModel):
|
|
16129
|
-
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
16130
|
-
..., description='Users in this organization.', title='Users'
|
|
16131
|
-
)
|
|
16132
|
-
has_more: bool = Field(
|
|
16133
|
-
..., description='Whether there are more users to retrieve.', title='Has More'
|
|
16134
|
-
)
|
|
16135
|
-
continuation_token: Optional[int] = Field(
|
|
16136
|
-
...,
|
|
16137
|
-
description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
|
|
16138
|
-
title='Continuation Token',
|
|
16139
|
-
)
|
|
16140
|
-
|
|
16141
|
-
|
|
16142
16135
|
class SimulationUnitTestSetRunInstance(BaseModel):
|
|
16143
16136
|
org_id: str = Field(..., title='Org Id')
|
|
16144
16137
|
id: str = Field(..., title='Id')
|
|
@@ -16238,7 +16231,7 @@ class SimulationGetSimulationUnitTestSetRunsResponse(BaseModel):
|
|
|
16238
16231
|
|
|
16239
16232
|
|
|
16240
16233
|
class ToolGetToolInvocationsResponse(BaseModel):
|
|
16241
|
-
tool_invocations: List[
|
|
16234
|
+
tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
|
|
16242
16235
|
Field(
|
|
16243
16236
|
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16244
16237
|
)
|
|
@@ -16253,3 +16246,11 @@ class ToolGetToolInvocationsResponse(BaseModel):
|
|
|
16253
16246
|
description='The continuation token to retrieve the next page of tool invocations, or null if there are no more tool invocations.',
|
|
16254
16247
|
title='Continuation Token',
|
|
16255
16248
|
)
|
|
16249
|
+
|
|
16250
|
+
|
|
16251
|
+
class ToolSearchToolInvocationsResponse(BaseModel):
|
|
16252
|
+
tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
|
|
16253
|
+
Field(
|
|
16254
|
+
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16255
|
+
)
|
|
16256
|
+
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
amigo_sdk/__init__.py,sha256=
|
|
1
|
+
amigo_sdk/__init__.py,sha256=eloZXJpddVuvbdsvt6IfmSlYGI2ifuvNgxQVElijx8k,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=mo9G2CZKtu9fbjsKvZGzX0KsP1-DwYIvI_1cXRzeCAQ,454042
|
|
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.64.0.dist-info/METADATA,sha256=OCBco9JUKtOjPZXliy1Vsl24g7aP2b5aGf2NJLVED8c,8350
|
|
15
|
+
amigo_sdk-0.64.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
16
|
+
amigo_sdk-0.64.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
|
|
17
|
+
amigo_sdk-0.64.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
|
|
18
|
+
amigo_sdk-0.64.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|