amigo_sdk 0.87.0__py3-none-any.whl → 0.89.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 +143 -143
- {amigo_sdk-0.87.0.dist-info → amigo_sdk-0.89.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.87.0.dist-info → amigo_sdk-0.89.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.87.0.dist-info → amigo_sdk-0.89.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.87.0.dist-info → amigo_sdk-0.89.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.87.0.dist-info → amigo_sdk-0.89.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-13T05:34:52+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
|
)
|
|
@@ -1668,6 +1663,11 @@ AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
|
1668
1663
|
)
|
|
1669
1664
|
|
|
1670
1665
|
|
|
1666
|
+
class AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag(BaseModel):
|
|
1667
|
+
key: str = Field(..., title='Key')
|
|
1668
|
+
value: Optional[str] = Field(..., title='Value')
|
|
1669
|
+
|
|
1670
|
+
|
|
1671
1671
|
AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo = (
|
|
1672
1672
|
AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1673
1673
|
)
|
|
@@ -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
|
...,
|
|
@@ -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
|
...,
|
|
@@ -10956,13 +10967,6 @@ class RoleModifyRoleResponse(BaseModel):
|
|
|
10956
10967
|
)
|
|
10957
10968
|
|
|
10958
10969
|
|
|
10959
|
-
class ServiceCreateServiceRequestVersionSetLLMConfig(BaseModel):
|
|
10960
|
-
llm_name: LLMType
|
|
10961
|
-
params: Optional[Dict[str, Any]] = Field(
|
|
10962
|
-
{}, description='LLM-specific parameters to use.', title='Params'
|
|
10963
|
-
)
|
|
10964
|
-
|
|
10965
|
-
|
|
10966
10970
|
class ServiceCreateServiceResponse(BaseModel):
|
|
10967
10971
|
id: str = Field(..., description='The ID of the newly created service.', title='Id')
|
|
10968
10972
|
|
|
@@ -11038,19 +11042,10 @@ class ServiceUpdateServiceRequest(BaseModel):
|
|
|
11038
11042
|
)
|
|
11039
11043
|
|
|
11040
11044
|
|
|
11041
|
-
class
|
|
11042
|
-
|
|
11043
|
-
|
|
11044
|
-
description='
|
|
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')
|
|
11045
|
+
class ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig(BaseModel):
|
|
11046
|
+
llm_name: LLMType
|
|
11047
|
+
params: Optional[Dict[str, Any]] = Field(
|
|
11048
|
+
{}, description='LLM-specific parameters to use.', title='Params'
|
|
11054
11049
|
)
|
|
11055
11050
|
|
|
11056
11051
|
|
|
@@ -11241,6 +11236,40 @@ class SimulationGetSimulationPersonasResponseFilterValues(BaseModel):
|
|
|
11241
11236
|
)
|
|
11242
11237
|
|
|
11243
11238
|
|
|
11239
|
+
class SimulationGetSimulationPersonasResponseSimulationPersonaInstance(BaseModel):
|
|
11240
|
+
id: str = Field(..., description='The ID of the simulation persona.', title='Id')
|
|
11241
|
+
name: str = Field(
|
|
11242
|
+
..., description='The name of the simulation persona.', title='Name'
|
|
11243
|
+
)
|
|
11244
|
+
role: str = Field(
|
|
11245
|
+
..., description='The role of the simulation persona.', title='Role'
|
|
11246
|
+
)
|
|
11247
|
+
tags: Dict[str, Optional[str]] = Field(
|
|
11248
|
+
..., description='The tags of the simulation persona.', title='Tags'
|
|
11249
|
+
)
|
|
11250
|
+
is_deleted: bool = Field(
|
|
11251
|
+
...,
|
|
11252
|
+
description='Whether the simulation persona is deleted.',
|
|
11253
|
+
title='Is Deleted',
|
|
11254
|
+
)
|
|
11255
|
+
created_at: AwareDatetime = Field(
|
|
11256
|
+
...,
|
|
11257
|
+
description='The timestamp when the simulation persona was created.',
|
|
11258
|
+
title='Created At',
|
|
11259
|
+
)
|
|
11260
|
+
creator: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
|
|
11261
|
+
..., description='The user who created the simulation persona.'
|
|
11262
|
+
)
|
|
11263
|
+
updated_at: AwareDatetime = Field(
|
|
11264
|
+
...,
|
|
11265
|
+
description='The timestamp when the simulation persona was last updated.',
|
|
11266
|
+
title='Updated At',
|
|
11267
|
+
)
|
|
11268
|
+
updated_by: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = (
|
|
11269
|
+
Field(..., description='The user who last updated the simulation persona.')
|
|
11270
|
+
)
|
|
11271
|
+
|
|
11272
|
+
|
|
11244
11273
|
class SimulationGetSimulationScenarioVersionsResponse(BaseModel):
|
|
11245
11274
|
simulation_scenario_versions: List[SimulationScenarioVersion] = Field(
|
|
11246
11275
|
...,
|
|
@@ -11391,37 +11420,11 @@ class SimulationGetSimulationUnitTestsResponseFilterValues(BaseModel):
|
|
|
11391
11420
|
)
|
|
11392
11421
|
|
|
11393
11422
|
|
|
11394
|
-
class
|
|
11395
|
-
|
|
11396
|
-
|
|
11397
|
-
|
|
11398
|
-
|
|
11399
|
-
role: str = Field(
|
|
11400
|
-
..., description='The role of the simulation persona.', title='Role'
|
|
11401
|
-
)
|
|
11402
|
-
tags: Dict[str, Optional[str]] = Field(
|
|
11403
|
-
..., description='The tags of the simulation persona.', title='Tags'
|
|
11404
|
-
)
|
|
11405
|
-
is_deleted: bool = Field(
|
|
11406
|
-
...,
|
|
11407
|
-
description='Whether the simulation persona is deleted.',
|
|
11408
|
-
title='Is Deleted',
|
|
11409
|
-
)
|
|
11410
|
-
created_at: AwareDatetime = Field(
|
|
11411
|
-
...,
|
|
11412
|
-
description='The timestamp when the simulation persona was created.',
|
|
11413
|
-
title='Created At',
|
|
11414
|
-
)
|
|
11415
|
-
creator: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
|
|
11416
|
-
..., description='The user who created the simulation persona.'
|
|
11417
|
-
)
|
|
11418
|
-
updated_at: AwareDatetime = Field(
|
|
11419
|
-
...,
|
|
11420
|
-
description='The timestamp when the simulation persona was last updated.',
|
|
11421
|
-
title='Updated At',
|
|
11422
|
-
)
|
|
11423
|
-
updated_by: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = (
|
|
11424
|
-
Field(..., description='The user who last updated the simulation persona.')
|
|
11423
|
+
class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
11424
|
+
simulation_personas: List[
|
|
11425
|
+
SimulationGetSimulationPersonasResponseSimulationPersonaInstance
|
|
11426
|
+
] = Field(
|
|
11427
|
+
..., description='The list of simulation personas.', title='Simulation Personas'
|
|
11425
11428
|
)
|
|
11426
11429
|
|
|
11427
11430
|
|
|
@@ -13984,7 +13987,7 @@ class ServiceInstance(BaseModel):
|
|
|
13984
13987
|
agent_id: str = Field(
|
|
13985
13988
|
..., description='The ID of the agent that this service uses.', title='Agent Id'
|
|
13986
13989
|
)
|
|
13987
|
-
tags: List[
|
|
13990
|
+
tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
|
|
13988
13991
|
..., description='The tags of the service.', title='Tags'
|
|
13989
13992
|
)
|
|
13990
13993
|
|
|
@@ -14037,7 +14040,7 @@ class SimulationUnitTestSet(BaseModel):
|
|
|
14037
14040
|
description='Whether the unit test set has been deleted.',
|
|
14038
14041
|
title='Is Deleted',
|
|
14039
14042
|
)
|
|
14040
|
-
tags: List[
|
|
14043
|
+
tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
|
|
14041
14044
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
14042
14045
|
)
|
|
14043
14046
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -14076,7 +14079,7 @@ class SimulationUnitTestSetInstance(BaseModel):
|
|
|
14076
14079
|
description='Whether the unit test set has been deleted.',
|
|
14077
14080
|
title='Is Deleted',
|
|
14078
14081
|
)
|
|
14079
|
-
tags: List[
|
|
14082
|
+
tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
|
|
14080
14083
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
14081
14084
|
)
|
|
14082
14085
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -14192,7 +14195,7 @@ class ToolInstance(BaseModel):
|
|
|
14192
14195
|
description='A list of encrypted environment variables that some versions of this tool uses.',
|
|
14193
14196
|
title='Secret Envvars',
|
|
14194
14197
|
)
|
|
14195
|
-
tags: List[
|
|
14198
|
+
tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
|
|
14196
14199
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
14197
14200
|
)
|
|
14198
14201
|
|
|
@@ -14613,7 +14616,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
|
|
|
14613
14616
|
description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
|
|
14614
14617
|
min_length=1,
|
|
14615
14618
|
)
|
|
14616
|
-
user_dimensions: List[
|
|
14619
|
+
user_dimensions: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
14617
14620
|
...,
|
|
14618
14621
|
description='User dimensions for the organization.',
|
|
14619
14622
|
title='User Dimensions',
|
|
@@ -14758,17 +14761,6 @@ class OrganizationGetOrganizationMetricsResponse(BaseModel):
|
|
|
14758
14761
|
)
|
|
14759
14762
|
|
|
14760
14763
|
|
|
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
14764
|
class OrganizationModifyOrganizationRequest(BaseModel):
|
|
14773
14765
|
title: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14774
14766
|
None,
|
|
@@ -14843,45 +14835,6 @@ class RoleModifyRoleRequestPermissionGrant(BaseModel):
|
|
|
14843
14835
|
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = None
|
|
14844
14836
|
|
|
14845
14837
|
|
|
14846
|
-
class ServiceCreateServiceRequest(BaseModel):
|
|
14847
|
-
service_hierarchical_state_machine_id: str = Field(
|
|
14848
|
-
...,
|
|
14849
|
-
description='The ID of the state machine that this service uses.',
|
|
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',
|
|
14858
|
-
)
|
|
14859
|
-
name: str = Field(..., description='The name of this service.', min_length=1)
|
|
14860
|
-
description: str = Field(
|
|
14861
|
-
..., description='A description of this service.', min_length=1
|
|
14862
|
-
)
|
|
14863
|
-
is_active: bool = Field(
|
|
14864
|
-
...,
|
|
14865
|
-
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.',
|
|
14866
|
-
title='Is Active',
|
|
14867
|
-
)
|
|
14868
|
-
release_version_set: Optional[ServiceUpsertServiceVersionSetRequestVersionSet] = (
|
|
14869
|
-
Field(
|
|
14870
|
-
None,
|
|
14871
|
-
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.',
|
|
14872
|
-
)
|
|
14873
|
-
)
|
|
14874
|
-
keyterms: Optional[List[StrippedNonemptyStringAZAZ02]] = Field(
|
|
14875
|
-
[],
|
|
14876
|
-
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.',
|
|
14877
|
-
max_length=20,
|
|
14878
|
-
title='Keyterms',
|
|
14879
|
-
)
|
|
14880
|
-
tags: Dict[str, Optional[StrippedNonemptyStringWS]] = Field(
|
|
14881
|
-
..., description='The tags of this service.', title='Tags'
|
|
14882
|
-
)
|
|
14883
|
-
|
|
14884
|
-
|
|
14885
14838
|
class ServiceGetServicesResponse(BaseModel):
|
|
14886
14839
|
services: List[ServiceInstance] = Field(
|
|
14887
14840
|
..., description='The services that are found.', title='Services'
|
|
@@ -14902,10 +14855,20 @@ class ServiceGetServicesResponse(BaseModel):
|
|
|
14902
14855
|
)
|
|
14903
14856
|
|
|
14904
14857
|
|
|
14905
|
-
class
|
|
14906
|
-
|
|
14907
|
-
...,
|
|
14858
|
+
class ServiceUpsertServiceVersionSetRequestVersionSet(BaseModel):
|
|
14859
|
+
agent_version_number: Optional[int] = Field(
|
|
14860
|
+
...,
|
|
14861
|
+
description='The version number of the agent to be used. If None, the latest agent version will be used.',
|
|
14862
|
+
title='Agent Version Number',
|
|
14908
14863
|
)
|
|
14864
|
+
service_hierarchical_state_machine_version_number: Optional[int] = Field(
|
|
14865
|
+
...,
|
|
14866
|
+
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
14867
|
+
title='Service Hierarchical State Machine Version Number',
|
|
14868
|
+
)
|
|
14869
|
+
llm_model_preferences: Dict[
|
|
14870
|
+
str, ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig
|
|
14871
|
+
] = Field(..., title='Llm Model Preferences')
|
|
14909
14872
|
|
|
14910
14873
|
|
|
14911
14874
|
class SimulationCreateSimulationPersonaRequest(BaseModel):
|
|
@@ -14971,7 +14934,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14971
14934
|
|
|
14972
14935
|
class SimulationGetSimulationPersonasResponse(BaseModel):
|
|
14973
14936
|
simulation_personas: List[
|
|
14974
|
-
|
|
14937
|
+
SimulationGetSimulationPersonasResponseSimulationPersonaInstance
|
|
14975
14938
|
] = Field(
|
|
14976
14939
|
..., description='The list of simulation personas.', title='Simulation Personas'
|
|
14977
14940
|
)
|
|
@@ -15043,14 +15006,6 @@ class SimulationGetSimulationUnitTestSetsResponse(BaseModel):
|
|
|
15043
15006
|
)
|
|
15044
15007
|
|
|
15045
15008
|
|
|
15046
|
-
class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
15047
|
-
simulation_personas: List[
|
|
15048
|
-
SimulationSearchSimulationPersonasResponseSimulationPersonaInstance
|
|
15049
|
-
] = Field(
|
|
15050
|
-
..., description='The list of simulation personas.', title='Simulation Personas'
|
|
15051
|
-
)
|
|
15052
|
-
|
|
15053
|
-
|
|
15054
15009
|
class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
|
|
15055
15010
|
simulation_unit_test_sets: List[SimulationUnitTestSet] = Field(
|
|
15056
15011
|
...,
|
|
@@ -15166,7 +15121,7 @@ class UserGetUserModelResponse(BaseModel):
|
|
|
15166
15121
|
)
|
|
15167
15122
|
|
|
15168
15123
|
|
|
15169
|
-
class
|
|
15124
|
+
class UserGetUsersResponseUserInstance(BaseModel):
|
|
15170
15125
|
org_id: str = Field(
|
|
15171
15126
|
...,
|
|
15172
15127
|
description='The ID of the organization that this user belongs to.',
|
|
@@ -15191,6 +15146,12 @@ class UserSearchUsersResponseUserInstance(BaseModel):
|
|
|
15191
15146
|
)
|
|
15192
15147
|
|
|
15193
15148
|
|
|
15149
|
+
class UserSearchUsersResponse(BaseModel):
|
|
15150
|
+
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
15151
|
+
..., description='Users in this organization.', title='Users'
|
|
15152
|
+
)
|
|
15153
|
+
|
|
15154
|
+
|
|
15194
15155
|
class WebhookDestinationGetWebhookDeliveriesResponse(BaseModel):
|
|
15195
15156
|
webhook_deliveries: List[WebhookDeliveryInstance] = Field(
|
|
15196
15157
|
..., description='The retrieved webhook deliveries.', title='Webhook Deliveries'
|
|
@@ -15432,7 +15393,7 @@ class Metric(BaseModel):
|
|
|
15432
15393
|
additional_notes: Optional[str] = Field(
|
|
15433
15394
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15434
15395
|
)
|
|
15435
|
-
tags: List[
|
|
15396
|
+
tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
|
|
15436
15397
|
..., description='The tags of the metric.', title='Tags'
|
|
15437
15398
|
)
|
|
15438
15399
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15502,7 +15463,7 @@ class MetricInstance(BaseModel):
|
|
|
15502
15463
|
additional_notes: Optional[str] = Field(
|
|
15503
15464
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15504
15465
|
)
|
|
15505
|
-
tags: List[
|
|
15466
|
+
tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
|
|
15506
15467
|
..., description='The tags of the metric.', title='Tags'
|
|
15507
15468
|
)
|
|
15508
15469
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15704,7 +15665,7 @@ class SimulationUnitTest(BaseModel):
|
|
|
15704
15665
|
is_deleted: bool = Field(
|
|
15705
15666
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15706
15667
|
)
|
|
15707
|
-
tags: List[
|
|
15668
|
+
tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
|
|
15708
15669
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15709
15670
|
)
|
|
15710
15671
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
@@ -15749,7 +15710,7 @@ class SimulationUnitTestInstance(BaseModel):
|
|
|
15749
15710
|
is_deleted: bool = Field(
|
|
15750
15711
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15751
15712
|
)
|
|
15752
|
-
tags: List[
|
|
15713
|
+
tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
|
|
15753
15714
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15754
15715
|
)
|
|
15755
15716
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
@@ -16098,6 +16059,51 @@ class RoleModifyRoleRequest(BaseModel):
|
|
|
16098
16059
|
)
|
|
16099
16060
|
|
|
16100
16061
|
|
|
16062
|
+
class ServiceCreateServiceRequest(BaseModel):
|
|
16063
|
+
service_hierarchical_state_machine_id: str = Field(
|
|
16064
|
+
...,
|
|
16065
|
+
description='The ID of the state machine that this service uses.',
|
|
16066
|
+
pattern='^[a-f0-9]{24}$',
|
|
16067
|
+
title='Service Hierarchical State Machine Id',
|
|
16068
|
+
)
|
|
16069
|
+
agent_id: str = Field(
|
|
16070
|
+
...,
|
|
16071
|
+
description='The ID of the agent that this service uses.',
|
|
16072
|
+
pattern='^[a-f0-9]{24}$',
|
|
16073
|
+
title='Agent Id',
|
|
16074
|
+
)
|
|
16075
|
+
name: str = Field(..., description='The name of this service.', min_length=1)
|
|
16076
|
+
description: str = Field(
|
|
16077
|
+
..., description='A description of this service.', min_length=1
|
|
16078
|
+
)
|
|
16079
|
+
is_active: bool = Field(
|
|
16080
|
+
...,
|
|
16081
|
+
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.',
|
|
16082
|
+
title='Is Active',
|
|
16083
|
+
)
|
|
16084
|
+
release_version_set: Optional[ServiceUpsertServiceVersionSetRequestVersionSet] = (
|
|
16085
|
+
Field(
|
|
16086
|
+
None,
|
|
16087
|
+
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.',
|
|
16088
|
+
)
|
|
16089
|
+
)
|
|
16090
|
+
keyterms: Optional[List[StrippedNonemptyStringAZAZ02]] = Field(
|
|
16091
|
+
[],
|
|
16092
|
+
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.',
|
|
16093
|
+
max_length=20,
|
|
16094
|
+
title='Keyterms',
|
|
16095
|
+
)
|
|
16096
|
+
tags: Dict[str, Optional[StrippedNonemptyStringWS]] = Field(
|
|
16097
|
+
..., description='The tags of this service.', title='Tags'
|
|
16098
|
+
)
|
|
16099
|
+
|
|
16100
|
+
|
|
16101
|
+
class ServiceUpsertServiceVersionSetRequest(BaseModel):
|
|
16102
|
+
version_set: ServiceUpsertServiceVersionSetRequestVersionSet = Field(
|
|
16103
|
+
..., description='The version set to upsert.'
|
|
16104
|
+
)
|
|
16105
|
+
|
|
16106
|
+
|
|
16101
16107
|
class SimulationCreateSimulationUnitTestRequest(BaseModel):
|
|
16102
16108
|
name: str = Field(..., description='The name of the unit test.', min_length=1)
|
|
16103
16109
|
description: str = Field(
|
|
@@ -16267,7 +16273,7 @@ class ToolSearchToolInvocationsResponse(BaseModel):
|
|
|
16267
16273
|
|
|
16268
16274
|
|
|
16269
16275
|
class UserGetUsersResponse(BaseModel):
|
|
16270
|
-
users: List[
|
|
16276
|
+
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
16271
16277
|
..., description='Users in this organization.', title='Users'
|
|
16272
16278
|
)
|
|
16273
16279
|
has_more: bool = Field(
|
|
@@ -16280,12 +16286,6 @@ class UserGetUsersResponse(BaseModel):
|
|
|
16280
16286
|
)
|
|
16281
16287
|
|
|
16282
16288
|
|
|
16283
|
-
class UserSearchUsersResponse(BaseModel):
|
|
16284
|
-
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
16285
|
-
..., description='Users in this organization.', title='Users'
|
|
16286
|
-
)
|
|
16287
|
-
|
|
16288
|
-
|
|
16289
16289
|
class SimulationUnitTestSetRunInstance(BaseModel):
|
|
16290
16290
|
org_id: str = Field(..., title='Org Id')
|
|
16291
16291
|
id: str = Field(..., title='Id')
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
amigo_sdk/__init__.py,sha256=
|
|
1
|
+
amigo_sdk/__init__.py,sha256=rGmy-Yz0nzn6UU-btR286O467NZm2g-sU8t9L490r_w,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=2TOHOTb78mJTE-CEEB0N8U9QLLMHsPMZ_tYTBCW4_30,459725
|
|
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.89.0.dist-info/METADATA,sha256=LJCKxqd2VZTctCBrxHjH-eesoctQ8_rvGuGGmFUsTcw,8499
|
|
15
|
+
amigo_sdk-0.89.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
16
|
+
amigo_sdk-0.89.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
|
|
17
|
+
amigo_sdk-0.89.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
|
|
18
|
+
amigo_sdk-0.89.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|