amigo_sdk 0.86.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 +187 -189
- {amigo_sdk-0.86.0.dist-info → amigo_sdk-0.88.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.86.0.dist-info → amigo_sdk-0.88.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.86.0.dist-info → amigo_sdk-0.88.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.86.0.dist-info → amigo_sdk-0.88.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.86.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
|
|
|
@@ -1965,20 +1965,6 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
|
|
|
1965
1965
|
)
|
|
1966
1966
|
|
|
1967
1967
|
|
|
1968
|
-
class DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
|
|
1969
|
-
BaseModel
|
|
1970
|
-
):
|
|
1971
|
-
id: str = Field(..., title='Id')
|
|
1972
|
-
name: str = Field(..., title='Name')
|
|
1973
|
-
is_active: bool = Field(..., title='Is Active')
|
|
1974
|
-
applied_to_services: List[str] = Field(..., title='Applied To Services')
|
|
1975
|
-
tags: Dict[str, Optional[str]] = Field(..., title='Tags')
|
|
1976
|
-
created_at: AwareDatetime = Field(..., title='Created At')
|
|
1977
|
-
creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1978
|
-
updated_at: AwareDatetime = Field(..., title='Updated At')
|
|
1979
|
-
updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
1968
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
1983
1969
|
applied_to_services_ids: List[str] = Field(
|
|
1984
1970
|
...,
|
|
@@ -1999,14 +1985,18 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
|
1999
1985
|
)
|
|
2000
1986
|
|
|
2001
1987
|
|
|
2002
|
-
class
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
)
|
|
1988
|
+
class DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
|
|
1989
|
+
BaseModel
|
|
1990
|
+
):
|
|
1991
|
+
id: str = Field(..., title='Id')
|
|
1992
|
+
name: str = Field(..., title='Name')
|
|
1993
|
+
is_active: bool = Field(..., title='Is Active')
|
|
1994
|
+
applied_to_services: List[str] = Field(..., title='Applied To Services')
|
|
1995
|
+
tags: Dict[str, Optional[str]] = Field(..., title='Tags')
|
|
1996
|
+
created_at: AwareDatetime = Field(..., title='Created At')
|
|
1997
|
+
creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1998
|
+
updated_at: AwareDatetime = Field(..., title='Updated At')
|
|
1999
|
+
updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
2010
2000
|
|
|
2011
2001
|
|
|
2012
2002
|
class DynamicBehaviorSetUpdateDynamicBehaviorSetRequestAppliedToService(
|
|
@@ -11059,22 +11049,6 @@ class ServiceUpdateServiceRequest(BaseModel):
|
|
|
11059
11049
|
)
|
|
11060
11050
|
|
|
11061
11051
|
|
|
11062
|
-
class ServiceUpsertServiceVersionSetRequestVersionSet(BaseModel):
|
|
11063
|
-
agent_version_number: Optional[int] = Field(
|
|
11064
|
-
...,
|
|
11065
|
-
description='The version number of the agent to be used. If None, the latest agent version will be used.',
|
|
11066
|
-
title='Agent Version Number',
|
|
11067
|
-
)
|
|
11068
|
-
service_hierarchical_state_machine_version_number: Optional[int] = Field(
|
|
11069
|
-
...,
|
|
11070
|
-
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
11071
|
-
title='Service Hierarchical State Machine Version Number',
|
|
11072
|
-
)
|
|
11073
|
-
llm_model_preferences: Dict[str, ServiceCreateServiceRequestVersionSetLLMConfig] = (
|
|
11074
|
-
Field(..., title='Llm Model Preferences')
|
|
11075
|
-
)
|
|
11076
|
-
|
|
11077
|
-
|
|
11078
11052
|
class SimulationCreateSimulationPersonaRequestInitialVersion(BaseModel):
|
|
11079
11053
|
background: str = Field(
|
|
11080
11054
|
..., description='The background of the simulation persona.', min_length=1
|
|
@@ -11193,16 +11167,6 @@ class SimulationCreateSimulationUnitTestResponse(BaseModel):
|
|
|
11193
11167
|
)
|
|
11194
11168
|
|
|
11195
11169
|
|
|
11196
|
-
class SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
|
|
11197
|
-
unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
|
|
11198
|
-
run_count: int = Field(
|
|
11199
|
-
...,
|
|
11200
|
-
description='The number of times to run the unit test.',
|
|
11201
|
-
gt=0,
|
|
11202
|
-
title='Run Count',
|
|
11203
|
-
)
|
|
11204
|
-
|
|
11205
|
-
|
|
11206
11170
|
class SimulationCreateSimulationUnitTestSetResponse(BaseModel):
|
|
11207
11171
|
simulation_unit_test_set_id: str = Field(
|
|
11208
11172
|
...,
|
|
@@ -11262,40 +11226,6 @@ class SimulationGetSimulationPersonasResponseFilterValues(BaseModel):
|
|
|
11262
11226
|
)
|
|
11263
11227
|
|
|
11264
11228
|
|
|
11265
|
-
class SimulationGetSimulationPersonasResponseSimulationPersonaInstance(BaseModel):
|
|
11266
|
-
id: str = Field(..., description='The ID of the simulation persona.', title='Id')
|
|
11267
|
-
name: str = Field(
|
|
11268
|
-
..., description='The name of the simulation persona.', title='Name'
|
|
11269
|
-
)
|
|
11270
|
-
role: str = Field(
|
|
11271
|
-
..., description='The role of the simulation persona.', title='Role'
|
|
11272
|
-
)
|
|
11273
|
-
tags: Dict[str, Optional[str]] = Field(
|
|
11274
|
-
..., description='The tags of the simulation persona.', title='Tags'
|
|
11275
|
-
)
|
|
11276
|
-
is_deleted: bool = Field(
|
|
11277
|
-
...,
|
|
11278
|
-
description='Whether the simulation persona is deleted.',
|
|
11279
|
-
title='Is Deleted',
|
|
11280
|
-
)
|
|
11281
|
-
created_at: AwareDatetime = Field(
|
|
11282
|
-
...,
|
|
11283
|
-
description='The timestamp when the simulation persona was created.',
|
|
11284
|
-
title='Created At',
|
|
11285
|
-
)
|
|
11286
|
-
creator: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
|
|
11287
|
-
..., description='The user who created the simulation persona.'
|
|
11288
|
-
)
|
|
11289
|
-
updated_at: AwareDatetime = Field(
|
|
11290
|
-
...,
|
|
11291
|
-
description='The timestamp when the simulation persona was last updated.',
|
|
11292
|
-
title='Updated At',
|
|
11293
|
-
)
|
|
11294
|
-
updated_by: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = (
|
|
11295
|
-
Field(..., description='The user who last updated the simulation persona.')
|
|
11296
|
-
)
|
|
11297
|
-
|
|
11298
|
-
|
|
11299
11229
|
class SimulationGetSimulationScenarioVersionsResponse(BaseModel):
|
|
11300
11230
|
simulation_scenario_versions: List[SimulationScenarioVersion] = Field(
|
|
11301
11231
|
...,
|
|
@@ -11327,6 +11257,37 @@ class SimulationGetSimulationScenariosResponseFilterValues(BaseModel):
|
|
|
11327
11257
|
)
|
|
11328
11258
|
|
|
11329
11259
|
|
|
11260
|
+
class SimulationGetSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
|
|
11261
|
+
id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
|
|
11262
|
+
name: str = Field(
|
|
11263
|
+
..., description='The name of the simulation scenario.', title='Name'
|
|
11264
|
+
)
|
|
11265
|
+
tags: Dict[str, Optional[str]] = Field(
|
|
11266
|
+
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11267
|
+
)
|
|
11268
|
+
is_deleted: bool = Field(
|
|
11269
|
+
...,
|
|
11270
|
+
description='Whether the simulation scenario is deleted.',
|
|
11271
|
+
title='Is Deleted',
|
|
11272
|
+
)
|
|
11273
|
+
created_at: AwareDatetime = Field(
|
|
11274
|
+
...,
|
|
11275
|
+
description='The timestamp when the simulation scenario was created.',
|
|
11276
|
+
title='Created At',
|
|
11277
|
+
)
|
|
11278
|
+
creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11279
|
+
Field(..., description='The user who created the simulation scenario.')
|
|
11280
|
+
)
|
|
11281
|
+
updated_at: AwareDatetime = Field(
|
|
11282
|
+
...,
|
|
11283
|
+
description='The timestamp when the simulation scenario was last updated.',
|
|
11284
|
+
title='Updated At',
|
|
11285
|
+
)
|
|
11286
|
+
updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11287
|
+
Field(..., description='The user who last updated the simulation scenario.')
|
|
11288
|
+
)
|
|
11289
|
+
|
|
11290
|
+
|
|
11330
11291
|
class SimulationGetSimulationUnitTestSetRunArtifactsResponse(BaseModel):
|
|
11331
11292
|
presigned_url: str = Field(
|
|
11332
11293
|
...,
|
|
@@ -11415,42 +11376,47 @@ class SimulationGetSimulationUnitTestsResponseFilterValues(BaseModel):
|
|
|
11415
11376
|
)
|
|
11416
11377
|
|
|
11417
11378
|
|
|
11418
|
-
class
|
|
11419
|
-
|
|
11420
|
-
SimulationGetSimulationPersonasResponseSimulationPersonaInstance
|
|
11421
|
-
] = Field(
|
|
11422
|
-
..., description='The list of simulation personas.', title='Simulation Personas'
|
|
11423
|
-
)
|
|
11424
|
-
|
|
11425
|
-
|
|
11426
|
-
class SimulationSearchSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
|
|
11427
|
-
id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
|
|
11379
|
+
class SimulationSearchSimulationPersonasResponseSimulationPersonaInstance(BaseModel):
|
|
11380
|
+
id: str = Field(..., description='The ID of the simulation persona.', title='Id')
|
|
11428
11381
|
name: str = Field(
|
|
11429
|
-
..., description='The name of the simulation
|
|
11382
|
+
..., description='The name of the simulation persona.', title='Name'
|
|
11383
|
+
)
|
|
11384
|
+
role: str = Field(
|
|
11385
|
+
..., description='The role of the simulation persona.', title='Role'
|
|
11430
11386
|
)
|
|
11431
11387
|
tags: Dict[str, Optional[str]] = Field(
|
|
11432
|
-
..., description='The tags of the simulation
|
|
11388
|
+
..., description='The tags of the simulation persona.', title='Tags'
|
|
11433
11389
|
)
|
|
11434
11390
|
is_deleted: bool = Field(
|
|
11435
11391
|
...,
|
|
11436
|
-
description='Whether the simulation
|
|
11392
|
+
description='Whether the simulation persona is deleted.',
|
|
11437
11393
|
title='Is Deleted',
|
|
11438
11394
|
)
|
|
11439
11395
|
created_at: AwareDatetime = Field(
|
|
11440
11396
|
...,
|
|
11441
|
-
description='The timestamp when the simulation
|
|
11397
|
+
description='The timestamp when the simulation persona was created.',
|
|
11442
11398
|
title='Created At',
|
|
11443
11399
|
)
|
|
11444
|
-
creator:
|
|
11445
|
-
|
|
11400
|
+
creator: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
|
|
11401
|
+
..., description='The user who created the simulation persona.'
|
|
11446
11402
|
)
|
|
11447
11403
|
updated_at: AwareDatetime = Field(
|
|
11448
11404
|
...,
|
|
11449
|
-
description='The timestamp when the simulation
|
|
11405
|
+
description='The timestamp when the simulation persona was last updated.',
|
|
11450
11406
|
title='Updated At',
|
|
11451
11407
|
)
|
|
11452
|
-
updated_by:
|
|
11453
|
-
Field(..., description='The user who last updated the simulation
|
|
11408
|
+
updated_by: AmigoLibMongoCollectionsSimulationPersonaSimulationPersonaUserInfo = (
|
|
11409
|
+
Field(..., description='The user who last updated the simulation persona.')
|
|
11410
|
+
)
|
|
11411
|
+
|
|
11412
|
+
|
|
11413
|
+
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
11414
|
+
simulation_scenarios: List[
|
|
11415
|
+
SimulationGetSimulationScenariosResponseSimulationScenarioInstance
|
|
11416
|
+
] = Field(
|
|
11417
|
+
...,
|
|
11418
|
+
description='The list of simulation scenarios.',
|
|
11419
|
+
title='Simulation Scenarios',
|
|
11454
11420
|
)
|
|
11455
11421
|
|
|
11456
11422
|
|
|
@@ -11511,39 +11477,13 @@ class SimulationUpdateSimulationUnitTestRequestRunCount(RootModel[int]):
|
|
|
11511
11477
|
)
|
|
11512
11478
|
|
|
11513
11479
|
|
|
11514
|
-
class
|
|
11515
|
-
|
|
11516
|
-
|
|
11517
|
-
|
|
11518
|
-
|
|
11519
|
-
|
|
11520
|
-
|
|
11521
|
-
min_length=1,
|
|
11522
|
-
title='Unit Test Runs',
|
|
11523
|
-
)
|
|
11524
|
-
)
|
|
11525
|
-
|
|
11526
|
-
|
|
11527
|
-
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
11528
|
-
name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
11529
|
-
None, description='The name of the simulation unit test set.'
|
|
11530
|
-
)
|
|
11531
|
-
description: Optional[
|
|
11532
|
-
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
11533
|
-
] = Field(
|
|
11534
|
-
{},
|
|
11535
|
-
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
11536
|
-
title='Description',
|
|
11537
|
-
)
|
|
11538
|
-
unit_test_runs: Optional[
|
|
11539
|
-
SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
|
|
11540
|
-
] = Field(
|
|
11541
|
-
None,
|
|
11542
|
-
description='The unit test runs that are part of this set.',
|
|
11543
|
-
title='Unit Test Runs',
|
|
11544
|
-
)
|
|
11545
|
-
tags: Optional[Dict[str, Optional[str]]] = Field(
|
|
11546
|
-
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',
|
|
11547
11487
|
)
|
|
11548
11488
|
|
|
11549
11489
|
|
|
@@ -11742,7 +11682,7 @@ class UserGetMemoriesResponse(BaseModel):
|
|
|
11742
11682
|
)
|
|
11743
11683
|
|
|
11744
11684
|
|
|
11745
|
-
class
|
|
11685
|
+
class UserSearchUsersResponseUserInstanceUserStats(BaseModel):
|
|
11746
11686
|
num_conversations: int = Field(
|
|
11747
11687
|
...,
|
|
11748
11688
|
description='The number of conversations the user has created.',
|
|
@@ -12197,7 +12137,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
|
|
|
12197
12137
|
[], description='The IDs of the messages to retrieve.', title='Id'
|
|
12198
12138
|
)
|
|
12199
12139
|
message_type: Optional[List[MessageType]] = Field(
|
|
12200
|
-
['
|
|
12140
|
+
['user-message', 'agent-message', 'external-event'],
|
|
12201
12141
|
description='The type of messages to retrieve.',
|
|
12202
12142
|
title='Message Type',
|
|
12203
12143
|
)
|
|
@@ -14546,7 +14486,7 @@ class DynamicBehaviorSetGetDynamicBehaviorSetVersionsResponse(BaseModel):
|
|
|
14546
14486
|
|
|
14547
14487
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
14548
14488
|
dynamic_behavior_sets: List[
|
|
14549
|
-
|
|
14489
|
+
DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14550
14490
|
] = Field(
|
|
14551
14491
|
...,
|
|
14552
14492
|
description='The retrieved dynamic behavior sets.',
|
|
@@ -14570,6 +14510,16 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
|
14570
14510
|
)
|
|
14571
14511
|
|
|
14572
14512
|
|
|
14513
|
+
class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
|
|
14514
|
+
dynamic_behavior_sets: List[
|
|
14515
|
+
DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14516
|
+
] = Field(
|
|
14517
|
+
...,
|
|
14518
|
+
description='The retrieved dynamic behavior sets.',
|
|
14519
|
+
title='Dynamic Behavior Sets',
|
|
14520
|
+
)
|
|
14521
|
+
|
|
14522
|
+
|
|
14573
14523
|
class MetricCreateMetricRequest(BaseModel):
|
|
14574
14524
|
name: str = Field(
|
|
14575
14525
|
...,
|
|
@@ -14868,42 +14818,19 @@ class RoleModifyRoleRequest(BaseModel):
|
|
|
14868
14818
|
)
|
|
14869
14819
|
|
|
14870
14820
|
|
|
14871
|
-
class
|
|
14872
|
-
|
|
14873
|
-
...,
|
|
14874
|
-
description='The ID of the state machine that this service uses.',
|
|
14875
|
-
pattern='^[a-f0-9]{24}$',
|
|
14876
|
-
title='Service Hierarchical State Machine Id',
|
|
14877
|
-
)
|
|
14878
|
-
agent_id: str = Field(
|
|
14821
|
+
class ServiceCreateServiceRequestVersionSet(BaseModel):
|
|
14822
|
+
agent_version_number: Optional[int] = Field(
|
|
14879
14823
|
...,
|
|
14880
|
-
description='The
|
|
14881
|
-
|
|
14882
|
-
title='Agent Id',
|
|
14883
|
-
)
|
|
14884
|
-
name: str = Field(..., description='The name of this service.', min_length=1)
|
|
14885
|
-
description: str = Field(
|
|
14886
|
-
..., description='A description of this service.', min_length=1
|
|
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',
|
|
14887
14826
|
)
|
|
14888
|
-
|
|
14827
|
+
service_hierarchical_state_machine_version_number: Optional[int] = Field(
|
|
14889
14828
|
...,
|
|
14890
|
-
description='
|
|
14891
|
-
title='
|
|
14892
|
-
)
|
|
14893
|
-
release_version_set: Optional[ServiceUpsertServiceVersionSetRequestVersionSet] = (
|
|
14894
|
-
Field(
|
|
14895
|
-
None,
|
|
14896
|
-
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.',
|
|
14897
|
-
)
|
|
14898
|
-
)
|
|
14899
|
-
keyterms: Optional[List[StrippedNonemptyStringAZAZ02]] = Field(
|
|
14900
|
-
[],
|
|
14901
|
-
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.',
|
|
14902
|
-
max_length=20,
|
|
14903
|
-
title='Keyterms',
|
|
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',
|
|
14904
14831
|
)
|
|
14905
|
-
|
|
14906
|
-
...,
|
|
14832
|
+
llm_model_preferences: Dict[str, ServiceCreateServiceRequestVersionSetLLMConfig] = (
|
|
14833
|
+
Field(..., title='Llm Model Preferences')
|
|
14907
14834
|
)
|
|
14908
14835
|
|
|
14909
14836
|
|
|
@@ -14928,7 +14855,7 @@ class ServiceGetServicesResponse(BaseModel):
|
|
|
14928
14855
|
|
|
14929
14856
|
|
|
14930
14857
|
class ServiceUpsertServiceVersionSetRequest(BaseModel):
|
|
14931
|
-
version_set:
|
|
14858
|
+
version_set: ServiceCreateServiceRequestVersionSet = Field(
|
|
14932
14859
|
..., description='The version set to upsert.'
|
|
14933
14860
|
)
|
|
14934
14861
|
|
|
@@ -14982,7 +14909,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14982
14909
|
..., description='The description of the simulation unit test set.'
|
|
14983
14910
|
)
|
|
14984
14911
|
unit_test_runs: List[
|
|
14985
|
-
|
|
14912
|
+
SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor
|
|
14986
14913
|
] = Field(
|
|
14987
14914
|
...,
|
|
14988
14915
|
description='The unit test runs that are part of this set.',
|
|
@@ -14996,7 +14923,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14996
14923
|
|
|
14997
14924
|
class SimulationGetSimulationPersonasResponse(BaseModel):
|
|
14998
14925
|
simulation_personas: List[
|
|
14999
|
-
|
|
14926
|
+
SimulationSearchSimulationPersonasResponseSimulationPersonaInstance
|
|
15000
14927
|
] = Field(
|
|
15001
14928
|
..., description='The list of simulation personas.', title='Simulation Personas'
|
|
15002
14929
|
)
|
|
@@ -15020,7 +14947,7 @@ class SimulationGetSimulationPersonasResponse(BaseModel):
|
|
|
15020
14947
|
|
|
15021
14948
|
class SimulationGetSimulationScenariosResponse(BaseModel):
|
|
15022
14949
|
simulation_scenarios: List[
|
|
15023
|
-
|
|
14950
|
+
SimulationGetSimulationScenariosResponseSimulationScenarioInstance
|
|
15024
14951
|
] = Field(
|
|
15025
14952
|
...,
|
|
15026
14953
|
description='The list of simulation scenarios.',
|
|
@@ -15068,13 +14995,11 @@ class SimulationGetSimulationUnitTestSetsResponse(BaseModel):
|
|
|
15068
14995
|
)
|
|
15069
14996
|
|
|
15070
14997
|
|
|
15071
|
-
class
|
|
15072
|
-
|
|
15073
|
-
|
|
14998
|
+
class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
14999
|
+
simulation_personas: List[
|
|
15000
|
+
SimulationSearchSimulationPersonasResponseSimulationPersonaInstance
|
|
15074
15001
|
] = Field(
|
|
15075
|
-
...,
|
|
15076
|
-
description='The list of simulation scenarios.',
|
|
15077
|
-
title='Simulation Scenarios',
|
|
15002
|
+
..., description='The list of simulation personas.', title='Simulation Personas'
|
|
15078
15003
|
)
|
|
15079
15004
|
|
|
15080
15005
|
|
|
@@ -15091,6 +15016,42 @@ SimulationUpdateSimulationUnitTestRequestSuccessCriterion = (
|
|
|
15091
15016
|
)
|
|
15092
15017
|
|
|
15093
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
|
+
|
|
15094
15055
|
class ToolGetToolVersionsResponse(BaseModel):
|
|
15095
15056
|
tool_versions: List[ToolVersionInstance] = Field(
|
|
15096
15057
|
...,
|
|
@@ -15193,7 +15154,7 @@ class UserGetUserModelResponse(BaseModel):
|
|
|
15193
15154
|
)
|
|
15194
15155
|
|
|
15195
15156
|
|
|
15196
|
-
class
|
|
15157
|
+
class UserSearchUsersResponseUserInstance(BaseModel):
|
|
15197
15158
|
org_id: str = Field(
|
|
15198
15159
|
...,
|
|
15199
15160
|
description='The ID of the organization that this user belongs to.',
|
|
@@ -15209,7 +15170,7 @@ class UserGetUsersResponseUserInstance(BaseModel):
|
|
|
15209
15170
|
..., description='The last name of the user.', title='Last Name'
|
|
15210
15171
|
)
|
|
15211
15172
|
email: str = Field(..., description='Email of the user.', title='Email')
|
|
15212
|
-
user_stats:
|
|
15173
|
+
user_stats: UserSearchUsersResponseUserInstanceUserStats = Field(
|
|
15213
15174
|
..., description="Statistics about the user's usage of the Amigo platform."
|
|
15214
15175
|
)
|
|
15215
15176
|
role: str = Field(..., description='The ID of the role of the user.', title='Role')
|
|
@@ -15218,12 +15179,6 @@ class UserGetUsersResponseUserInstance(BaseModel):
|
|
|
15218
15179
|
)
|
|
15219
15180
|
|
|
15220
15181
|
|
|
15221
|
-
class UserSearchUsersResponse(BaseModel):
|
|
15222
|
-
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
15223
|
-
..., description='Users in this organization.', title='Users'
|
|
15224
|
-
)
|
|
15225
|
-
|
|
15226
|
-
|
|
15227
15182
|
class WebhookDestinationGetWebhookDeliveriesResponse(BaseModel):
|
|
15228
15183
|
webhook_deliveries: List[WebhookDeliveryInstance] = Field(
|
|
15229
15184
|
..., description='The retrieved webhook deliveries.', title='Webhook Deliveries'
|
|
@@ -16108,6 +16063,43 @@ class RoleGetRolesResponse(BaseModel):
|
|
|
16108
16063
|
)
|
|
16109
16064
|
|
|
16110
16065
|
|
|
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',
|
|
16072
|
+
)
|
|
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',
|
|
16078
|
+
)
|
|
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
|
+
None,
|
|
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
|
+
)
|
|
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'
|
|
16100
|
+
)
|
|
16101
|
+
|
|
16102
|
+
|
|
16111
16103
|
class SimulationCreateSimulationUnitTestRequest(BaseModel):
|
|
16112
16104
|
name: str = Field(..., description='The name of the unit test.', min_length=1)
|
|
16113
16105
|
description: str = Field(
|
|
@@ -16269,7 +16261,7 @@ class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
|
16269
16261
|
|
|
16270
16262
|
|
|
16271
16263
|
class UserGetUsersResponse(BaseModel):
|
|
16272
|
-
users: List[
|
|
16264
|
+
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
16273
16265
|
..., description='Users in this organization.', title='Users'
|
|
16274
16266
|
)
|
|
16275
16267
|
has_more: bool = Field(
|
|
@@ -16282,6 +16274,12 @@ class UserGetUsersResponse(BaseModel):
|
|
|
16282
16274
|
)
|
|
16283
16275
|
|
|
16284
16276
|
|
|
16277
|
+
class UserSearchUsersResponse(BaseModel):
|
|
16278
|
+
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
16279
|
+
..., description='Users in this organization.', title='Users'
|
|
16280
|
+
)
|
|
16281
|
+
|
|
16282
|
+
|
|
16285
16283
|
class SimulationUnitTestSetRunInstance(BaseModel):
|
|
16286
16284
|
org_id: str = Field(..., title='Org Id')
|
|
16287
16285
|
id: str = Field(..., title='Id')
|
|
@@ -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
|