amigo_sdk 0.102.0__py3-none-any.whl → 0.103.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 CHANGED
@@ -1,4 +1,4 @@
1
- __version__ = "0.102.0"
1
+ __version__ = "0.103.0"
2
2
  from .sdk_client import AmigoClient, AsyncAmigoClient
3
3
 
4
4
  __all__ = ["__version__", "AmigoClient", "AsyncAmigoClient"]
@@ -1,6 +1,6 @@
1
1
  # generated by datamodel-codegen:
2
2
  # filename: <stdin>
3
- # timestamp: 2026-01-11T17:03:09+00:00
3
+ # timestamp: 2026-01-11T23:34:54+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -1457,11 +1457,6 @@ class MongoCollectionsSimulationScenarioSimulationScenarioUserInfo(
1457
1457
  pass
1458
1458
 
1459
1459
 
1460
- class MongoCollectionsSimulationUnitTestSimulationUnitTestTag(BaseModel):
1461
- key: str = Field(..., title='Key')
1462
- value: str | None = Field(..., title='Value')
1463
-
1464
-
1465
1460
  class MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo(
1466
1461
  MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1467
1462
  ):
@@ -1502,19 +1497,24 @@ class MongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUserInfo(
1502
1497
  pass
1503
1498
 
1504
1499
 
1505
- class MongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
1506
- user_id: str = Field(..., description='The ID of the user.', title='User Id')
1507
- user_org_id: str = Field(
1508
- ..., description="The ID of the user's organization.", title='User Org Id'
1509
- )
1500
+ class MongoCollectionsToolToolTag(BaseModel):
1501
+ key: str = Field(..., title='Key')
1502
+ value: str | None = Field(..., title='Value')
1510
1503
 
1511
1504
 
1512
- class MongoCollectionsToolVersionToolVersionVersion(BaseModel):
1505
+ class MongoCollectionsToolInvocationToolInvocationVersion(BaseModel):
1513
1506
  major: int = Field(..., title='Major')
1514
1507
  minor: int = Field(..., title='Minor')
1515
1508
  patch: int = Field(..., title='Patch')
1516
1509
 
1517
1510
 
1511
+ class MongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
1512
+ user_id: str = Field(..., description='The ID of the user.', title='User Id')
1513
+ user_org_id: str = Field(
1514
+ ..., description="The ID of the user's organization.", title='User Org Id'
1515
+ )
1516
+
1517
+
1518
1518
  class MongoCollectionsUserUserPreferences(BaseModel):
1519
1519
  enable_response_recommendation: bool | None = Field(
1520
1520
  False,
@@ -1795,20 +1795,6 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
1795
1795
  )
1796
1796
 
1797
1797
 
1798
- class DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
1799
- BaseModel
1800
- ):
1801
- id: str = Field(..., title='Id')
1802
- name: str = Field(..., title='Name')
1803
- is_active: bool = Field(..., title='Is Active')
1804
- applied_to_services: list[str] = Field(..., title='Applied To Services')
1805
- tags: dict[str, str | None] = Field(..., title='Tags')
1806
- created_at: AwareDatetime = Field(..., title='Created At')
1807
- creator: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1808
- updated_at: AwareDatetime = Field(..., title='Updated At')
1809
- updated_by: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1810
-
1811
-
1812
1798
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1813
1799
  applied_to_services_ids: list[str] = Field(
1814
1800
  ...,
@@ -1829,14 +1815,18 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1829
1815
  )
1830
1816
 
1831
1817
 
1832
- class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
1833
- dynamic_behavior_sets: list[
1834
- DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
1835
- ] = Field(
1836
- ...,
1837
- description='The retrieved dynamic behavior sets.',
1838
- title='Dynamic Behavior Sets',
1839
- )
1818
+ class DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
1819
+ BaseModel
1820
+ ):
1821
+ id: str = Field(..., title='Id')
1822
+ name: str = Field(..., title='Name')
1823
+ is_active: bool = Field(..., title='Is Active')
1824
+ applied_to_services: list[str] = Field(..., title='Applied To Services')
1825
+ tags: dict[str, str | None] = Field(..., title='Tags')
1826
+ created_at: AwareDatetime = Field(..., title='Created At')
1827
+ creator: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1828
+ updated_at: AwareDatetime = Field(..., title='Updated At')
1829
+ updated_by: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1840
1830
 
1841
1831
 
1842
1832
  class DynamicBehaviorSetUpdateDynamicBehaviorSetRequest(BaseModel):
@@ -10788,6 +10778,13 @@ class RoleModifyRoleResponse(BaseModel):
10788
10778
  )
10789
10779
 
10790
10780
 
10781
+ class ServiceCreateServiceRequestVersionSetLLMConfig(BaseModel):
10782
+ llm_name: LLMType
10783
+ params: dict[str, Any] | None = Field(
10784
+ {}, description='LLM-specific parameters to use.', title='Params'
10785
+ )
10786
+
10787
+
10791
10788
  class ServiceCreateServiceResponse(BaseModel):
10792
10789
  id: str = Field(..., description='The ID of the newly created service.', title='Id')
10793
10790
 
@@ -10863,10 +10860,19 @@ class ServiceUpdateServiceRequest(BaseModel):
10863
10860
  )
10864
10861
 
10865
10862
 
10866
- class ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig(BaseModel):
10867
- llm_name: LLMType
10868
- params: dict[str, Any] | None = Field(
10869
- {}, description='LLM-specific parameters to use.', title='Params'
10863
+ class ServiceUpsertServiceVersionSetRequestVersionSet(BaseModel):
10864
+ agent_version_number: int | None = Field(
10865
+ ...,
10866
+ description='The version number of the agent to be used. If None, the latest agent version will be used.',
10867
+ title='Agent Version Number',
10868
+ )
10869
+ service_hierarchical_state_machine_version_number: int | None = Field(
10870
+ ...,
10871
+ description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
10872
+ title='Service Hierarchical State Machine Version Number',
10873
+ )
10874
+ llm_model_preferences: dict[str, ServiceCreateServiceRequestVersionSetLLMConfig] = (
10875
+ Field(..., title='Llm Model Preferences')
10870
10876
  )
10871
10877
 
10872
10878
 
@@ -10975,16 +10981,6 @@ class SimulationCreateSimulationUnitTestResponse(BaseModel):
10975
10981
  )
10976
10982
 
10977
10983
 
10978
- class SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
10979
- unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
10980
- run_count: int = Field(
10981
- ...,
10982
- description='The number of times to run the unit test.',
10983
- gt=0,
10984
- title='Run Count',
10985
- )
10986
-
10987
-
10988
10984
  class SimulationCreateSimulationUnitTestSetResponse(BaseModel):
10989
10985
  simulation_unit_test_set_id: str = Field(
10990
10986
  ...,
@@ -11073,37 +11069,6 @@ class SimulationGetSimulationScenariosResponseFilterValues(BaseModel):
11073
11069
  )
11074
11070
 
11075
11071
 
11076
- class SimulationGetSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
11077
- id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
11078
- name: str = Field(
11079
- ..., description='The name of the simulation scenario.', title='Name'
11080
- )
11081
- tags: dict[str, str | None] = Field(
11082
- ..., description='The tags of the simulation scenario.', title='Tags'
11083
- )
11084
- is_deleted: bool = Field(
11085
- ...,
11086
- description='Whether the simulation scenario is deleted.',
11087
- title='Is Deleted',
11088
- )
11089
- created_at: AwareDatetime = Field(
11090
- ...,
11091
- description='The timestamp when the simulation scenario was created.',
11092
- title='Created At',
11093
- )
11094
- creator: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
11095
- ..., description='The user who created the simulation scenario.'
11096
- )
11097
- updated_at: AwareDatetime = Field(
11098
- ...,
11099
- description='The timestamp when the simulation scenario was last updated.',
11100
- title='Updated At',
11101
- )
11102
- updated_by: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
11103
- ..., description='The user who last updated the simulation scenario.'
11104
- )
11105
-
11106
-
11107
11072
  class SimulationGetSimulationUnitTestSetRunArtifactsResponse(BaseModel):
11108
11073
  presigned_url: str = Field(
11109
11074
  ...,
@@ -11226,13 +11191,34 @@ class SimulationSearchSimulationPersonasResponseSimulationPersonaInstance(BaseMo
11226
11191
  )
11227
11192
 
11228
11193
 
11229
- class SimulationSearchSimulationScenariosResponse(BaseModel):
11230
- simulation_scenarios: list[
11231
- SimulationGetSimulationScenariosResponseSimulationScenarioInstance
11232
- ] = Field(
11194
+ class SimulationSearchSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
11195
+ id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
11196
+ name: str = Field(
11197
+ ..., description='The name of the simulation scenario.', title='Name'
11198
+ )
11199
+ tags: dict[str, str | None] = Field(
11200
+ ..., description='The tags of the simulation scenario.', title='Tags'
11201
+ )
11202
+ is_deleted: bool = Field(
11233
11203
  ...,
11234
- description='The list of simulation scenarios.',
11235
- title='Simulation Scenarios',
11204
+ description='Whether the simulation scenario is deleted.',
11205
+ title='Is Deleted',
11206
+ )
11207
+ created_at: AwareDatetime = Field(
11208
+ ...,
11209
+ description='The timestamp when the simulation scenario was created.',
11210
+ title='Created At',
11211
+ )
11212
+ creator: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
11213
+ ..., description='The user who created the simulation scenario.'
11214
+ )
11215
+ updated_at: AwareDatetime = Field(
11216
+ ...,
11217
+ description='The timestamp when the simulation scenario was last updated.',
11218
+ title='Updated At',
11219
+ )
11220
+ updated_by: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
11221
+ ..., description='The user who last updated the simulation scenario.'
11236
11222
  )
11237
11223
 
11238
11224
 
@@ -11298,35 +11284,13 @@ class RunCount(RootModel[int]):
11298
11284
  )
11299
11285
 
11300
11286
 
11301
- class UnitTestRuns(
11302
- RootModel[list[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
11303
- ):
11304
- root: list[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
11305
- Field(
11306
- ...,
11307
- description='The unit test runs that are part of this set.',
11308
- min_length=1,
11309
- title='Unit Test Runs',
11310
- )
11311
- )
11312
-
11313
-
11314
- class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
11315
- name: PydanticBaseModelStrippedNonemptyString1 | None = Field(
11316
- None, description='The name of the simulation unit test set.'
11317
- )
11318
- description: PydanticBaseModelStrippedNonemptyString1 | FieldNotSet | None = Field(
11319
- default_factory=lambda: PydanticBaseModelStrippedNonemptyString1({}),
11320
- description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
11321
- title='Description',
11322
- )
11323
- unit_test_runs: UnitTestRuns | None = Field(
11324
- None,
11325
- description='The unit test runs that are part of this set.',
11326
- title='Unit Test Runs',
11327
- )
11328
- tags: dict[str, str | None] | None = Field(
11329
- None, description='The tags of the simulation unit test set.', title='Tags'
11287
+ class SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
11288
+ unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
11289
+ run_count: int = Field(
11290
+ ...,
11291
+ description='The number of times to run the unit test.',
11292
+ gt=0,
11293
+ title='Run Count',
11330
11294
  )
11331
11295
 
11332
11296
 
@@ -11941,7 +11905,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
11941
11905
  title='Id',
11942
11906
  )
11943
11907
  message_type: list[MessageType] | None = Field(
11944
- ['agent-message', 'external-event', 'user-message'],
11908
+ ['user-message', 'external-event', 'agent-message'],
11945
11909
  description='The type of messages to retrieve.',
11946
11910
  title='Message Type',
11947
11911
  )
@@ -13604,7 +13568,7 @@ class ServiceInstance(BaseModel):
13604
13568
  agent_id: str = Field(
13605
13569
  ..., description='The ID of the agent that this service uses.', title='Agent Id'
13606
13570
  )
13607
- tags: list[MongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
13571
+ tags: list[MongoCollectionsToolToolTag] = Field(
13608
13572
  ..., description='The tags of the service.', title='Tags'
13609
13573
  )
13610
13574
 
@@ -13657,7 +13621,7 @@ class SimulationUnitTestSet(BaseModel):
13657
13621
  description='Whether the unit test set has been deleted.',
13658
13622
  title='Is Deleted',
13659
13623
  )
13660
- tags: list[MongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
13624
+ tags: list[MongoCollectionsToolToolTag] = Field(
13661
13625
  ..., description='The tags of the simulation unit test set.', title='Tags'
13662
13626
  )
13663
13627
  creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -13694,7 +13658,7 @@ class SimulationUnitTestSetInstance(BaseModel):
13694
13658
  description='Whether the unit test set has been deleted.',
13695
13659
  title='Is Deleted',
13696
13660
  )
13697
- tags: list[MongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
13661
+ tags: list[MongoCollectionsToolToolTag] = Field(
13698
13662
  ..., description='The tags of the simulation unit test set.', title='Tags'
13699
13663
  )
13700
13664
  creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -13822,7 +13786,7 @@ class ToolInstance(BaseModel):
13822
13786
  description='A list of encrypted environment variables that some versions of this tool uses.',
13823
13787
  title='Secret Envvars',
13824
13788
  )
13825
- tags: list[MongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
13789
+ tags: list[MongoCollectionsToolToolTag] = Field(
13826
13790
  ..., description='The tags of the simulation persona.', title='Tags'
13827
13791
  )
13828
13792
 
@@ -13837,7 +13801,7 @@ class ToolVersionInstance(BaseModel):
13837
13801
  description='The ID of the tool that this version belongs to.',
13838
13802
  title='Tool Id',
13839
13803
  )
13840
- version: MongoCollectionsToolVersionToolVersionVersion = Field(
13804
+ version: MongoCollectionsToolInvocationToolInvocationVersion = Field(
13841
13805
  ..., description='The version of the tool.'
13842
13806
  )
13843
13807
  required_envvars: list[str] = Field(
@@ -14117,7 +14081,7 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestChangeToolCandidat
14117
14081
 
14118
14082
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14119
14083
  dynamic_behavior_sets: list[
14120
- DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14084
+ DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14121
14085
  ] = Field(
14122
14086
  ...,
14123
14087
  description='The retrieved dynamic behavior sets.',
@@ -14141,6 +14105,16 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14141
14105
  )
14142
14106
 
14143
14107
 
14108
+ class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
14109
+ dynamic_behavior_sets: list[
14110
+ DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14111
+ ] = Field(
14112
+ ...,
14113
+ description='The retrieved dynamic behavior sets.',
14114
+ title='Dynamic Behavior Sets',
14115
+ )
14116
+
14117
+
14144
14118
  class MetricCreateMetricRequest(BaseModel):
14145
14119
  name: str = Field(
14146
14120
  ...,
@@ -14462,20 +14436,41 @@ class RoleModifyRoleRequest(BaseModel):
14462
14436
  )
14463
14437
 
14464
14438
 
14465
- class ServiceCreateServiceRequestVersionSet(BaseModel):
14466
- agent_version_number: int | None = Field(
14439
+ class ServiceCreateServiceRequest(BaseModel):
14440
+ service_hierarchical_state_machine_id: str = Field(
14467
14441
  ...,
14468
- description='The version number of the agent to be used. If None, the latest agent version will be used.',
14469
- title='Agent Version Number',
14442
+ description='The ID of the state machine that this service uses.',
14443
+ pattern='^[a-f0-9]{24}$',
14444
+ title='Service Hierarchical State Machine Id',
14470
14445
  )
14471
- service_hierarchical_state_machine_version_number: int | None = Field(
14446
+ agent_id: str = Field(
14472
14447
  ...,
14473
- description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
14474
- title='Service Hierarchical State Machine Version Number',
14448
+ description='The ID of the agent that this service uses.',
14449
+ pattern='^[a-f0-9]{24}$',
14450
+ title='Agent Id',
14451
+ )
14452
+ name: str = Field(..., description='The name of this service.', min_length=1)
14453
+ description: str = Field(
14454
+ ..., description='A description of this service.', min_length=1
14455
+ )
14456
+ is_active: bool = Field(
14457
+ ...,
14458
+ 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.',
14459
+ title='Is Active',
14460
+ )
14461
+ release_version_set: ServiceUpsertServiceVersionSetRequestVersionSet | None = Field(
14462
+ None,
14463
+ 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.',
14464
+ )
14465
+ keyterms: list[StrippedNonemptyStringAZAZ02] | None = Field(
14466
+ default_factory=list,
14467
+ 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.',
14468
+ max_length=20,
14469
+ title='Keyterms',
14470
+ )
14471
+ tags: dict[StrippedNonemptyStringWS, StrippedNonemptyStringWS | None] = Field(
14472
+ ..., description='The tags of this service.', title='Tags'
14475
14473
  )
14476
- llm_model_preferences: dict[
14477
- str, ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig
14478
- ] = Field(..., title='Llm Model Preferences')
14479
14474
 
14480
14475
 
14481
14476
  class ServiceGetServicesResponse(BaseModel):
@@ -14499,7 +14494,7 @@ class ServiceGetServicesResponse(BaseModel):
14499
14494
 
14500
14495
 
14501
14496
  class ServiceUpsertServiceVersionSetRequest(BaseModel):
14502
- version_set: ServiceCreateServiceRequestVersionSet = Field(
14497
+ version_set: ServiceUpsertServiceVersionSetRequestVersionSet = Field(
14503
14498
  ..., description='The version set to upsert.'
14504
14499
  )
14505
14500
 
@@ -14553,7 +14548,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
14553
14548
  ..., description='The description of the simulation unit test set.'
14554
14549
  )
14555
14550
  unit_test_runs: list[
14556
- SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor
14551
+ SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor
14557
14552
  ] = Field(
14558
14553
  ...,
14559
14554
  description='The unit test runs that are part of this set.',
@@ -14589,7 +14584,7 @@ class SimulationGetSimulationPersonasResponse(BaseModel):
14589
14584
 
14590
14585
  class SimulationGetSimulationScenariosResponse(BaseModel):
14591
14586
  simulation_scenarios: list[
14592
- SimulationGetSimulationScenariosResponseSimulationScenarioInstance
14587
+ SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
14593
14588
  ] = Field(
14594
14589
  ...,
14595
14590
  description='The list of simulation scenarios.',
@@ -14643,6 +14638,16 @@ class SimulationSearchSimulationPersonasResponse(BaseModel):
14643
14638
  )
14644
14639
 
14645
14640
 
14641
+ class SimulationSearchSimulationScenariosResponse(BaseModel):
14642
+ simulation_scenarios: list[
14643
+ SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
14644
+ ] = Field(
14645
+ ...,
14646
+ description='The list of simulation scenarios.',
14647
+ title='Simulation Scenarios',
14648
+ )
14649
+
14650
+
14646
14651
  class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
14647
14652
  simulation_unit_test_sets: list[SimulationUnitTestSet] = Field(
14648
14653
  ...,
@@ -14657,6 +14662,38 @@ class SimulationUpdateSimulationUnitTestRequestSuccessCriterion(
14657
14662
  pass
14658
14663
 
14659
14664
 
14665
+ class UnitTestRuns(
14666
+ RootModel[list[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
14667
+ ):
14668
+ root: list[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
14669
+ Field(
14670
+ ...,
14671
+ description='The unit test runs that are part of this set.',
14672
+ min_length=1,
14673
+ title='Unit Test Runs',
14674
+ )
14675
+ )
14676
+
14677
+
14678
+ class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
14679
+ name: PydanticBaseModelStrippedNonemptyString1 | None = Field(
14680
+ None, description='The name of the simulation unit test set.'
14681
+ )
14682
+ description: PydanticBaseModelStrippedNonemptyString1 | FieldNotSet | None = Field(
14683
+ default_factory=lambda: PydanticBaseModelStrippedNonemptyString1({}),
14684
+ description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
14685
+ title='Description',
14686
+ )
14687
+ unit_test_runs: UnitTestRuns | None = Field(
14688
+ None,
14689
+ description='The unit test runs that are part of this set.',
14690
+ title='Unit Test Runs',
14691
+ )
14692
+ tags: dict[str, str | None] | None = Field(
14693
+ None, description='The tags of the simulation unit test set.', title='Tags'
14694
+ )
14695
+
14696
+
14660
14697
  class ToolGetToolVersionsResponse(BaseModel):
14661
14698
  tool_versions: list[ToolVersionInstance] = Field(
14662
14699
  ...,
@@ -14949,7 +14986,7 @@ class Metric(BaseModel):
14949
14986
  additional_notes: str | None = Field(
14950
14987
  ..., description='Additional notes about the metric.', title='Additional Notes'
14951
14988
  )
14952
- tags: list[MongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
14989
+ tags: list[MongoCollectionsToolToolTag] = Field(
14953
14990
  ..., description='The tags of the metric.', title='Tags'
14954
14991
  )
14955
14992
  creator: MongoCollectionsMetricMetricUserInfo = Field(
@@ -15022,7 +15059,7 @@ class MetricInstance(BaseModel):
15022
15059
  additional_notes: str | None = Field(
15023
15060
  ..., description='Additional notes about the metric.', title='Additional Notes'
15024
15061
  )
15025
- tags: list[MongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
15062
+ tags: list[MongoCollectionsToolToolTag] = Field(
15026
15063
  ..., description='The tags of the metric.', title='Tags'
15027
15064
  )
15028
15065
  creator: MongoCollectionsMetricMetricUserInfo = Field(
@@ -15118,7 +15155,7 @@ class SimulationUnitTest(BaseModel):
15118
15155
  is_deleted: bool = Field(
15119
15156
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15120
15157
  )
15121
- tags: list[MongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
15158
+ tags: list[MongoCollectionsToolToolTag] = Field(
15122
15159
  ..., description='The tags of the simulation persona.', title='Tags'
15123
15160
  )
15124
15161
  creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -15163,7 +15200,7 @@ class SimulationUnitTestInstance(BaseModel):
15163
15200
  is_deleted: bool = Field(
15164
15201
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15165
15202
  )
15166
- tags: list[MongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
15203
+ tags: list[MongoCollectionsToolToolTag] = Field(
15167
15204
  ..., description='The tags of the simulation persona.', title='Tags'
15168
15205
  )
15169
15206
  creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -15431,43 +15468,6 @@ class RoleGetRolesResponse(BaseModel):
15431
15468
  )
15432
15469
 
15433
15470
 
15434
- class ServiceCreateServiceRequest(BaseModel):
15435
- service_hierarchical_state_machine_id: str = Field(
15436
- ...,
15437
- description='The ID of the state machine that this service uses.',
15438
- pattern='^[a-f0-9]{24}$',
15439
- title='Service Hierarchical State Machine Id',
15440
- )
15441
- agent_id: str = Field(
15442
- ...,
15443
- description='The ID of the agent that this service uses.',
15444
- pattern='^[a-f0-9]{24}$',
15445
- title='Agent Id',
15446
- )
15447
- name: str = Field(..., description='The name of this service.', min_length=1)
15448
- description: str = Field(
15449
- ..., description='A description of this service.', min_length=1
15450
- )
15451
- is_active: bool = Field(
15452
- ...,
15453
- 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.',
15454
- title='Is Active',
15455
- )
15456
- release_version_set: ServiceCreateServiceRequestVersionSet | None = Field(
15457
- None,
15458
- 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.',
15459
- )
15460
- keyterms: list[StrippedNonemptyStringAZAZ02] | None = Field(
15461
- default_factory=list,
15462
- 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.',
15463
- max_length=20,
15464
- title='Keyterms',
15465
- )
15466
- tags: dict[StrippedNonemptyStringWS, StrippedNonemptyStringWS | None] = Field(
15467
- ..., description='The tags of this service.', title='Tags'
15468
- )
15469
-
15470
-
15471
15471
  class SimulationCreateSimulationUnitTestRequest(BaseModel):
15472
15472
  name: str = Field(..., description='The name of the unit test.', min_length=1)
15473
15473
  description: str = Field(
@@ -15617,7 +15617,7 @@ class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
15617
15617
  tool_id: str = Field(
15618
15618
  ..., description='The ID of the tool that was invoked.', title='Tool Id'
15619
15619
  )
15620
- tool_version: MongoCollectionsToolVersionToolVersionVersion = Field(
15620
+ tool_version: MongoCollectionsToolInvocationToolInvocationVersion = Field(
15621
15621
  ..., description='The version of the tool that was invoked.'
15622
15622
  )
15623
15623
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.102.0
3
+ Version: 0.103.0
4
4
  Summary: Amigo AI Python SDK
5
5
  Author: Amigo AI
6
6
  License-File: LICENSE
@@ -2,7 +2,7 @@ scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  scripts/aliases.json,sha256=c1_bkZyvNDQ8iMrKtUuZQqdP87GdLnRPrb3wjX533eQ,322
3
3
  scripts/check.py,sha256=ikFavw1IjX51FNjO-kIzXjYdep3on0dKZHYvPElPFtc,2872
4
4
  scripts/gen_models.py,sha256=c4J_gHYQIBL3CcKg5z8oUusLvPePytfvLdZ7STHBcNk,3553
5
- amigo_sdk/__init__.py,sha256=ixE1KvxMPLHcN32FvrfCrXNnwjLtlKINSUkicXOP6Sg,140
5
+ amigo_sdk/__init__.py,sha256=alcG7WzR2ZlGlcUfiPYGTcPdeQtDbFYiGL88Pv763dM,140
6
6
  amigo_sdk/_retry_utils.py,sha256=VbA_Uwv268J80d11R9XfnCjZiV-NwE1aXRsSlRjjRio,2108
7
7
  amigo_sdk/auth.py,sha256=WaM9PcEcnaC6CzNsgRKueHkdSAxNbRylzpR_3Q6guQ0,1765
8
8
  amigo_sdk/config.py,sha256=0eZIo-hcJ8ODftKAr-mwB-FGJxGO5PT5T4dRpyWPqAg,1491
@@ -10,13 +10,13 @@ amigo_sdk/errors.py,sha256=Yn12AxIQ6zE9jnGLWO0MUVbBsmw77Kzh82AijyreOkA,4818
10
10
  amigo_sdk/http_client.py,sha256=tfMXHqMTmlz2ja7aJhOVgbwAiJNlKCzPcK4UGNqXHO8,13488
11
11
  amigo_sdk/models.py,sha256=V-G6iL43_ZNOPDcatCJCSszGWGz-nzp_RSyGNm-rBAc,45
12
12
  amigo_sdk/sdk_client.py,sha256=5nj8hzjHSFRs9JMNabdYIhQAcFE2G1jI_r7SHVGr9No,6106
13
- amigo_sdk/generated/model.py,sha256=xJ2NaRKchd1YfaOpK1ZAfob9FEh069SJgFlU7Eoxefs,442821
13
+ amigo_sdk/generated/model.py,sha256=-6o9IrmpS_ENAnfvXP0xKnQ2V8bL4Gn8eppbQK5RFkg,442617
14
14
  amigo_sdk/resources/conversation.py,sha256=X47PbPA6NqdkqXgxAPOjlO1E0W7t695tn1tPWSikMOk,14807
15
15
  amigo_sdk/resources/organization.py,sha256=yX4UlOHNegRzFW4gCJrCxjiLCAGnGegasjviR1yad_Q,1211
16
16
  amigo_sdk/resources/service.py,sha256=t1iA3nS9co-wuR-x5jBhAXXTWfMeGsLwfQcLycwVrCA,1536
17
17
  amigo_sdk/resources/user.py,sha256=P14lN-3fmIvELUjn_vpSaYpNsK-xd8zNmUV_KfcZPAU,4138
18
- amigo_sdk-0.102.0.dist-info/METADATA,sha256=kMVedcC1hG-TID0TkvUc1lrRzScITRWCzSmHKoW6jQY,8500
19
- amigo_sdk-0.102.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
20
- amigo_sdk-0.102.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
21
- amigo_sdk-0.102.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
22
- amigo_sdk-0.102.0.dist-info/RECORD,,
18
+ amigo_sdk-0.103.0.dist-info/METADATA,sha256=Hdx6Ol0pB4nphqDk6QulKTNGd_7svOge-6sRy6qekVY,8500
19
+ amigo_sdk-0.103.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
20
+ amigo_sdk-0.103.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
21
+ amigo_sdk-0.103.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
22
+ amigo_sdk-0.103.0.dist-info/RECORD,,