amigo_sdk 0.108.0__py3-none-any.whl → 0.110.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.108.0"
1
+ __version__ = "0.110.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-02-03T19:01:46+00:00
3
+ # timestamp: 2026-02-03T20:14:33+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -468,6 +468,7 @@ class LLMType(Enum):
468
468
  azure_gpt_5_nano_2025_08_07 = 'azure_gpt-5-nano-2025-08-07'
469
469
  azure_gpt_5_1_2025_11_13 = 'azure_gpt-5.1-2025-11-13'
470
470
  azure_gpt_5_2_2025_12_11 = 'azure_gpt-5.2-2025-12-11'
471
+ openai_gpt_5_nano_2025_08_07 = 'openai_gpt-5-nano-2025-08-07'
471
472
  openai_gpt_5_2_2025_12_11 = 'openai_gpt-5.2-2025-12-11'
472
473
  google_claude_sonnet_4_5_20250929 = 'google_claude-sonnet-4-5@20250929'
473
474
  aws_claude_sonnet_4_5_20250929 = 'aws_claude-sonnet-4-5-20250929'
@@ -1388,11 +1389,6 @@ class MongoCollectionsMetricEvaluationResultMetricEvaluationResultManualEvaluati
1388
1389
  pass
1389
1390
 
1390
1391
 
1391
- class MongoCollectionsServiceServiceTag(BaseModel):
1392
- key: str = Field(..., title='Key')
1393
- value: str | None = Field(..., title='Value')
1394
-
1395
-
1396
1392
  class MongoCollectionsServiceServiceVersionSet(BaseModel):
1397
1393
  agent_version_number: int | None = Field(
1398
1394
  ...,
@@ -1459,6 +1455,11 @@ class MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo(
1459
1455
  pass
1460
1456
 
1461
1457
 
1458
+ class MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag(BaseModel):
1459
+ key: str = Field(..., title='Key')
1460
+ value: str | None = Field(..., title='Value')
1461
+
1462
+
1462
1463
  class MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUnitTestRunDescriptor(
1463
1464
  BaseModel
1464
1465
  ):
@@ -1499,12 +1500,6 @@ class MongoCollectionsTemporaryPermissionGrantTemporaryPermissionGrantUserInfo(
1499
1500
  pass
1500
1501
 
1501
1502
 
1502
- class MongoCollectionsToolInvocationToolInvocationVersion(BaseModel):
1503
- major: int = Field(..., title='Major')
1504
- minor: int = Field(..., title='Minor')
1505
- patch: int = Field(..., title='Patch')
1506
-
1507
-
1508
1503
  class MongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
1509
1504
  user_id: str = Field(..., description='The ID of the user.', title='User Id')
1510
1505
  user_org_id: str = Field(
@@ -1512,6 +1507,12 @@ class MongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
1512
1507
  )
1513
1508
 
1514
1509
 
1510
+ class MongoCollectionsToolVersionToolVersionVersion(BaseModel):
1511
+ major: int = Field(..., title='Major')
1512
+ minor: int = Field(..., title='Minor')
1513
+ patch: int = Field(..., title='Patch')
1514
+
1515
+
1515
1516
  class MongoCollectionsUserUserPreferences(BaseModel):
1516
1517
  enable_response_recommendation: bool | None = Field(
1517
1518
  False,
@@ -1763,18 +1764,6 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersionChangeToolC
1763
1764
  )
1764
1765
 
1765
1766
 
1766
- class DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersionInjectInstructionAction(
1767
- BaseModel
1768
- ):
1769
- type: Literal['inject-instruction'] = Field(..., title='Type')
1770
- instruction: str = Field(..., min_length=1)
1771
- overrides_instructions: bool = Field(
1772
- ...,
1773
- description='During injection, whether the original instruction of the state is overriden with this instruction.',
1774
- title='Overrides Instructions',
1775
- )
1776
-
1777
-
1778
1767
  class DynamicBehaviorSetCreateDynamicBehaviorSetResponse(BaseModel):
1779
1768
  dynamic_behavior_set_id: str = Field(
1780
1769
  ...,
@@ -1789,6 +1778,18 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestChangeToolCandidat
1789
1778
  pass
1790
1779
 
1791
1780
 
1781
+ class DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestInjectInstructionAction(
1782
+ BaseModel
1783
+ ):
1784
+ type: Literal['inject-instruction'] = Field(..., title='Type')
1785
+ instruction: str = Field(..., min_length=1)
1786
+ overrides_instructions: bool = Field(
1787
+ ...,
1788
+ description='During injection, whether the original instruction of the state is overriden with this instruction.',
1789
+ title='Overrides Instructions',
1790
+ )
1791
+
1792
+
1792
1793
  class DynamicBehaviorSetCreateDynamicBehaviorSetVersionResponse(BaseModel):
1793
1794
  new_version_number: int = Field(
1794
1795
  ...,
@@ -1815,20 +1816,6 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
1815
1816
  )
1816
1817
 
1817
1818
 
1818
- class DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
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
1830
-
1831
-
1832
1819
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1833
1820
  applied_to_services_ids: list[str] = Field(
1834
1821
  ...,
@@ -1849,14 +1836,18 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1849
1836
  )
1850
1837
 
1851
1838
 
1852
- class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
1853
- dynamic_behavior_sets: list[
1854
- DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
1855
- ] = Field(
1856
- ...,
1857
- description='The retrieved dynamic behavior sets.',
1858
- title='Dynamic Behavior Sets',
1859
- )
1839
+ class DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
1840
+ BaseModel
1841
+ ):
1842
+ id: str = Field(..., title='Id')
1843
+ name: str = Field(..., title='Name')
1844
+ is_active: bool = Field(..., title='Is Active')
1845
+ applied_to_services: list[str] = Field(..., title='Applied To Services')
1846
+ tags: dict[str, str | None] = Field(..., title='Tags')
1847
+ created_at: AwareDatetime = Field(..., title='Created At')
1848
+ creator: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1849
+ updated_at: AwareDatetime = Field(..., title='Updated At')
1850
+ updated_by: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1860
1851
 
1861
1852
 
1862
1853
  class DynamicBehaviorSetUpdateDynamicBehaviorSetRequest(BaseModel):
@@ -10816,6 +10807,13 @@ class RoleModifyRoleResponse(BaseModel):
10816
10807
  )
10817
10808
 
10818
10809
 
10810
+ class ServiceCreateServiceRequestVersionSetLLMConfig(BaseModel):
10811
+ llm_name: LLMType
10812
+ params: dict[str, Any] | None = Field(
10813
+ {}, description='LLM-specific parameters to use.', title='Params'
10814
+ )
10815
+
10816
+
10819
10817
  class ServiceCreateServiceResponse(BaseModel):
10820
10818
  id: str = Field(..., description='The ID of the newly created service.', title='Id')
10821
10819
 
@@ -10891,10 +10889,19 @@ class ServiceUpdateServiceRequest(BaseModel):
10891
10889
  )
10892
10890
 
10893
10891
 
10894
- class ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig(BaseModel):
10895
- llm_name: LLMType
10896
- params: dict[str, Any] | None = Field(
10897
- {}, description='LLM-specific parameters to use.', title='Params'
10892
+ class ServiceUpsertServiceVersionSetRequestVersionSet(BaseModel):
10893
+ agent_version_number: int | None = Field(
10894
+ ...,
10895
+ description='The version number of the agent to be used. If None, the latest agent version will be used.',
10896
+ title='Agent Version Number',
10897
+ )
10898
+ service_hierarchical_state_machine_version_number: int | None = Field(
10899
+ ...,
10900
+ description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
10901
+ title='Service Hierarchical State Machine Version Number',
10902
+ )
10903
+ llm_model_preferences: dict[str, ServiceCreateServiceRequestVersionSetLLMConfig] = (
10904
+ Field(..., title='Llm Model Preferences')
10898
10905
  )
10899
10906
 
10900
10907
 
@@ -11070,40 +11077,6 @@ class SimulationGetSimulationPersonasResponseFilterValues(BaseModel):
11070
11077
  )
11071
11078
 
11072
11079
 
11073
- class SimulationGetSimulationPersonasResponseSimulationPersonaInstance(BaseModel):
11074
- id: str = Field(..., description='The ID of the simulation persona.', title='Id')
11075
- name: str = Field(
11076
- ..., description='The name of the simulation persona.', title='Name'
11077
- )
11078
- role: str = Field(
11079
- ..., description='The role of the simulation persona.', title='Role'
11080
- )
11081
- tags: dict[str, str | None] = Field(
11082
- ..., description='The tags of the simulation persona.', title='Tags'
11083
- )
11084
- is_deleted: bool = Field(
11085
- ...,
11086
- description='Whether the simulation persona is deleted.',
11087
- title='Is Deleted',
11088
- )
11089
- created_at: AwareDatetime = Field(
11090
- ...,
11091
- description='The timestamp when the simulation persona was created.',
11092
- title='Created At',
11093
- )
11094
- creator: MongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
11095
- ..., description='The user who created the simulation persona.'
11096
- )
11097
- updated_at: AwareDatetime = Field(
11098
- ...,
11099
- description='The timestamp when the simulation persona was last updated.',
11100
- title='Updated At',
11101
- )
11102
- updated_by: MongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
11103
- ..., description='The user who last updated the simulation persona.'
11104
- )
11105
-
11106
-
11107
11080
  class SimulationGetSimulationScenarioVersionsResponse(BaseModel):
11108
11081
  simulation_scenario_versions: list[SimulationScenarioVersion] = Field(
11109
11082
  ...,
@@ -11135,6 +11108,37 @@ class SimulationGetSimulationScenariosResponseFilterValues(BaseModel):
11135
11108
  )
11136
11109
 
11137
11110
 
11111
+ class SimulationGetSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
11112
+ id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
11113
+ name: str = Field(
11114
+ ..., description='The name of the simulation scenario.', title='Name'
11115
+ )
11116
+ tags: dict[str, str | None] = Field(
11117
+ ..., description='The tags of the simulation scenario.', title='Tags'
11118
+ )
11119
+ is_deleted: bool = Field(
11120
+ ...,
11121
+ description='Whether the simulation scenario is deleted.',
11122
+ title='Is Deleted',
11123
+ )
11124
+ created_at: AwareDatetime = Field(
11125
+ ...,
11126
+ description='The timestamp when the simulation scenario was created.',
11127
+ title='Created At',
11128
+ )
11129
+ creator: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
11130
+ ..., description='The user who created the simulation scenario.'
11131
+ )
11132
+ updated_at: AwareDatetime = Field(
11133
+ ...,
11134
+ description='The timestamp when the simulation scenario was last updated.',
11135
+ title='Updated At',
11136
+ )
11137
+ updated_by: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
11138
+ ..., description='The user who last updated the simulation scenario.'
11139
+ )
11140
+
11141
+
11138
11142
  class SimulationGetSimulationUnitTestSetRunArtifactsResponse(BaseModel):
11139
11143
  presigned_url: str = Field(
11140
11144
  ...,
@@ -11223,42 +11227,47 @@ class SimulationGetSimulationUnitTestsResponseFilterValues(BaseModel):
11223
11227
  )
11224
11228
 
11225
11229
 
11226
- class SimulationSearchSimulationPersonasResponse(BaseModel):
11227
- simulation_personas: list[
11228
- SimulationGetSimulationPersonasResponseSimulationPersonaInstance
11229
- ] = Field(
11230
- ..., description='The list of simulation personas.', title='Simulation Personas'
11231
- )
11232
-
11233
-
11234
- class SimulationSearchSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
11235
- id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
11230
+ class SimulationSearchSimulationPersonasResponseSimulationPersonaInstance(BaseModel):
11231
+ id: str = Field(..., description='The ID of the simulation persona.', title='Id')
11236
11232
  name: str = Field(
11237
- ..., description='The name of the simulation scenario.', title='Name'
11233
+ ..., description='The name of the simulation persona.', title='Name'
11234
+ )
11235
+ role: str = Field(
11236
+ ..., description='The role of the simulation persona.', title='Role'
11238
11237
  )
11239
11238
  tags: dict[str, str | None] = Field(
11240
- ..., description='The tags of the simulation scenario.', title='Tags'
11239
+ ..., description='The tags of the simulation persona.', title='Tags'
11241
11240
  )
11242
11241
  is_deleted: bool = Field(
11243
11242
  ...,
11244
- description='Whether the simulation scenario is deleted.',
11243
+ description='Whether the simulation persona is deleted.',
11245
11244
  title='Is Deleted',
11246
11245
  )
11247
11246
  created_at: AwareDatetime = Field(
11248
11247
  ...,
11249
- description='The timestamp when the simulation scenario was created.',
11248
+ description='The timestamp when the simulation persona was created.',
11250
11249
  title='Created At',
11251
11250
  )
11252
- creator: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
11253
- ..., description='The user who created the simulation scenario.'
11251
+ creator: MongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
11252
+ ..., description='The user who created the simulation persona.'
11254
11253
  )
11255
11254
  updated_at: AwareDatetime = Field(
11256
11255
  ...,
11257
- description='The timestamp when the simulation scenario was last updated.',
11256
+ description='The timestamp when the simulation persona was last updated.',
11258
11257
  title='Updated At',
11259
11258
  )
11260
- updated_by: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
11261
- ..., description='The user who last updated the simulation scenario.'
11259
+ updated_by: MongoCollectionsSimulationPersonaSimulationPersonaUserInfo = Field(
11260
+ ..., description='The user who last updated the simulation persona.'
11261
+ )
11262
+
11263
+
11264
+ class SimulationSearchSimulationScenariosResponse(BaseModel):
11265
+ simulation_scenarios: list[
11266
+ SimulationGetSimulationScenariosResponseSimulationScenarioInstance
11267
+ ] = Field(
11268
+ ...,
11269
+ description='The list of simulation scenarios.',
11270
+ title='Simulation Scenarios',
11262
11271
  )
11263
11272
 
11264
11273
 
@@ -11528,6 +11537,31 @@ class UserGetUsersResponseUserInstanceUserStats(BaseModel):
11528
11537
  )
11529
11538
 
11530
11539
 
11540
+ class UserSearchUsersResponseUserInstance(BaseModel):
11541
+ org_id: str = Field(
11542
+ ...,
11543
+ description='The ID of the organization that this user belongs to.',
11544
+ title='Org Id',
11545
+ )
11546
+ user_id: str = Field(
11547
+ ..., description='The identifier of the user.', title='User Id'
11548
+ )
11549
+ first_name: str = Field(
11550
+ ..., description='The first name of the user.', title='First Name'
11551
+ )
11552
+ last_name: str = Field(
11553
+ ..., description='The last name of the user.', title='Last Name'
11554
+ )
11555
+ email: str = Field(..., description='Email of the user.', title='Email')
11556
+ user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
11557
+ ..., description="Statistics about the user's usage of the Amigo platform."
11558
+ )
11559
+ role: str = Field(..., description='The ID of the role of the user.', title='Role')
11560
+ preferences: MongoCollectionsUserUserPreferences = Field(
11561
+ ..., description='The preferences of the user.'
11562
+ )
11563
+
11564
+
11531
11565
  class UserSignInWithApiKeyResponse(BaseModel):
11532
11566
  id_token: str = Field(
11533
11567
  ...,
@@ -11937,7 +11971,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
11937
11971
  title='Id',
11938
11972
  )
11939
11973
  message_type: list[MessageType] | None = Field(
11940
- ['external-event', 'agent-message', 'user-message'],
11974
+ ['agent-message', 'user-message', 'external-event'],
11941
11975
  description='The type of messages to retrieve.',
11942
11976
  title='Message Type',
11943
11977
  )
@@ -13682,7 +13716,7 @@ class ServiceInstance(BaseModel):
13682
13716
  agent_id: str = Field(
13683
13717
  ..., description='The ID of the agent that this service uses.', title='Agent Id'
13684
13718
  )
13685
- tags: list[MongoCollectionsServiceServiceTag] = Field(
13719
+ tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
13686
13720
  ..., description='The tags of the service.', title='Tags'
13687
13721
  )
13688
13722
  keyterms: list[str] = Field(
@@ -13740,7 +13774,7 @@ class SimulationUnitTestSet(BaseModel):
13740
13774
  description='Whether the unit test set has been deleted.',
13741
13775
  title='Is Deleted',
13742
13776
  )
13743
- tags: list[MongoCollectionsServiceServiceTag] = Field(
13777
+ tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
13744
13778
  ..., description='The tags of the simulation unit test set.', title='Tags'
13745
13779
  )
13746
13780
  creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -13777,7 +13811,7 @@ class SimulationUnitTestSetInstance(BaseModel):
13777
13811
  description='Whether the unit test set has been deleted.',
13778
13812
  title='Is Deleted',
13779
13813
  )
13780
- tags: list[MongoCollectionsServiceServiceTag] = Field(
13814
+ tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
13781
13815
  ..., description='The tags of the simulation unit test set.', title='Tags'
13782
13816
  )
13783
13817
  creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -13905,7 +13939,7 @@ class ToolInstance(BaseModel):
13905
13939
  description='A list of encrypted environment variables that some versions of this tool uses.',
13906
13940
  title='Secret Envvars',
13907
13941
  )
13908
- tags: list[MongoCollectionsServiceServiceTag] = Field(
13942
+ tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
13909
13943
  ..., description='The tags of the simulation persona.', title='Tags'
13910
13944
  )
13911
13945
 
@@ -13920,7 +13954,7 @@ class ToolVersionInstance(BaseModel):
13920
13954
  description='The ID of the tool that this version belongs to.',
13921
13955
  title='Tool Id',
13922
13956
  )
13923
- version: MongoCollectionsToolInvocationToolInvocationVersion = Field(
13957
+ version: MongoCollectionsToolVersionToolVersionVersion = Field(
13924
13958
  ..., description='The version of the tool.'
13925
13959
  )
13926
13960
  required_envvars: list[str] = Field(
@@ -14184,7 +14218,7 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestChangeToolCandidat
14184
14218
 
14185
14219
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14186
14220
  dynamic_behavior_sets: list[
14187
- DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14221
+ DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14188
14222
  ] = Field(
14189
14223
  ...,
14190
14224
  description='The retrieved dynamic behavior sets.',
@@ -14208,6 +14242,16 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14208
14242
  )
14209
14243
 
14210
14244
 
14245
+ class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
14246
+ dynamic_behavior_sets: list[
14247
+ DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14248
+ ] = Field(
14249
+ ...,
14250
+ description='The retrieved dynamic behavior sets.',
14251
+ title='Dynamic Behavior Sets',
14252
+ )
14253
+
14254
+
14211
14255
  class MetricCreateMetricRequest(BaseModel):
14212
14256
  name: str = Field(
14213
14257
  ...,
@@ -14542,6 +14586,43 @@ class RoleModifyRoleRequest(BaseModel):
14542
14586
  )
14543
14587
 
14544
14588
 
14589
+ class ServiceCreateServiceRequest(BaseModel):
14590
+ service_hierarchical_state_machine_id: str = Field(
14591
+ ...,
14592
+ description='The ID of the state machine that this service uses.',
14593
+ pattern='^[a-f0-9]{24}$',
14594
+ title='Service Hierarchical State Machine Id',
14595
+ )
14596
+ agent_id: str = Field(
14597
+ ...,
14598
+ description='The ID of the agent that this service uses.',
14599
+ pattern='^[a-f0-9]{24}$',
14600
+ title='Agent Id',
14601
+ )
14602
+ name: str = Field(..., description='The name of this service.', min_length=1)
14603
+ description: str = Field(
14604
+ ..., description='A description of this service.', min_length=1
14605
+ )
14606
+ is_active: bool = Field(
14607
+ ...,
14608
+ 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.',
14609
+ title='Is Active',
14610
+ )
14611
+ release_version_set: ServiceUpsertServiceVersionSetRequestVersionSet | None = Field(
14612
+ None,
14613
+ 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.',
14614
+ )
14615
+ keyterms: list[StrippedNonemptyStringAZAZ02] = Field(
14616
+ ...,
14617
+ 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.',
14618
+ max_length=20,
14619
+ title='Keyterms',
14620
+ )
14621
+ tags: dict[StrippedNonemptyStringWS, StrippedNonemptyStringWS | None] = Field(
14622
+ ..., description='The tags of this service.', title='Tags'
14623
+ )
14624
+
14625
+
14545
14626
  class ServiceGetServicesResponse(BaseModel):
14546
14627
  services: list[ServiceInstance] = Field(
14547
14628
  ..., description='The services that are found.', title='Services'
@@ -14562,20 +14643,10 @@ class ServiceGetServicesResponse(BaseModel):
14562
14643
  )
14563
14644
 
14564
14645
 
14565
- class ServiceUpsertServiceVersionSetRequestVersionSet(BaseModel):
14566
- agent_version_number: int | None = Field(
14567
- ...,
14568
- description='The version number of the agent to be used. If None, the latest agent version will be used.',
14569
- title='Agent Version Number',
14570
- )
14571
- service_hierarchical_state_machine_version_number: int | None = Field(
14572
- ...,
14573
- description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
14574
- title='Service Hierarchical State Machine Version Number',
14646
+ class ServiceUpsertServiceVersionSetRequest(BaseModel):
14647
+ version_set: ServiceUpsertServiceVersionSetRequestVersionSet = Field(
14648
+ ..., description='The version set to upsert.'
14575
14649
  )
14576
- llm_model_preferences: dict[
14577
- str, ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig
14578
- ] = Field(..., title='Llm Model Preferences')
14579
14650
 
14580
14651
 
14581
14652
  class SimulationCreateSimulationPersonaRequest(BaseModel):
@@ -14641,7 +14712,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
14641
14712
 
14642
14713
  class SimulationGetSimulationPersonasResponse(BaseModel):
14643
14714
  simulation_personas: list[
14644
- SimulationGetSimulationPersonasResponseSimulationPersonaInstance
14715
+ SimulationSearchSimulationPersonasResponseSimulationPersonaInstance
14645
14716
  ] = Field(
14646
14717
  ..., description='The list of simulation personas.', title='Simulation Personas'
14647
14718
  )
@@ -14663,7 +14734,7 @@ class SimulationGetSimulationPersonasResponse(BaseModel):
14663
14734
 
14664
14735
  class SimulationGetSimulationScenariosResponse(BaseModel):
14665
14736
  simulation_scenarios: list[
14666
- SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
14737
+ SimulationGetSimulationScenariosResponseSimulationScenarioInstance
14667
14738
  ] = Field(
14668
14739
  ...,
14669
14740
  description='The list of simulation scenarios.',
@@ -14709,13 +14780,11 @@ class SimulationGetSimulationUnitTestSetsResponse(BaseModel):
14709
14780
  )
14710
14781
 
14711
14782
 
14712
- class SimulationSearchSimulationScenariosResponse(BaseModel):
14713
- simulation_scenarios: list[
14714
- SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
14783
+ class SimulationSearchSimulationPersonasResponse(BaseModel):
14784
+ simulation_personas: list[
14785
+ SimulationSearchSimulationPersonasResponseSimulationPersonaInstance
14715
14786
  ] = Field(
14716
- ...,
14717
- description='The list of simulation scenarios.',
14718
- title='Simulation Scenarios',
14787
+ ..., description='The list of simulation personas.', title='Simulation Personas'
14719
14788
  )
14720
14789
 
14721
14790
 
@@ -14870,33 +14939,22 @@ class UserGetUserModelResponse(BaseModel):
14870
14939
  )
14871
14940
 
14872
14941
 
14873
- class UserGetUsersResponseUserInstance(BaseModel):
14874
- org_id: str = Field(
14875
- ...,
14876
- description='The ID of the organization that this user belongs to.',
14877
- title='Org Id',
14878
- )
14879
- user_id: str = Field(
14880
- ..., description='The identifier of the user.', title='User Id'
14881
- )
14882
- first_name: str = Field(
14883
- ..., description='The first name of the user.', title='First Name'
14884
- )
14885
- last_name: str = Field(
14886
- ..., description='The last name of the user.', title='Last Name'
14942
+ class UserGetUsersResponse(BaseModel):
14943
+ users: list[UserSearchUsersResponseUserInstance] = Field(
14944
+ ..., description='Users in this organization.', title='Users'
14887
14945
  )
14888
- email: str = Field(..., description='Email of the user.', title='Email')
14889
- user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
14890
- ..., description="Statistics about the user's usage of the Amigo platform."
14946
+ has_more: bool = Field(
14947
+ ..., description='Whether there are more users to retrieve.', title='Has More'
14891
14948
  )
14892
- role: str = Field(..., description='The ID of the role of the user.', title='Role')
14893
- preferences: MongoCollectionsUserUserPreferences = Field(
14894
- ..., description='The preferences of the user.'
14949
+ continuation_token: int | None = Field(
14950
+ ...,
14951
+ description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
14952
+ title='Continuation Token',
14895
14953
  )
14896
14954
 
14897
14955
 
14898
14956
  class UserSearchUsersResponse(BaseModel):
14899
- users: list[UserGetUsersResponseUserInstance] = Field(
14957
+ users: list[UserSearchUsersResponseUserInstance] = Field(
14900
14958
  ..., description='Users in this organization.', title='Users'
14901
14959
  )
14902
14960
 
@@ -15039,7 +15097,7 @@ class Metric(BaseModel):
15039
15097
  additional_notes: str | None = Field(
15040
15098
  ..., description='Additional notes about the metric.', title='Additional Notes'
15041
15099
  )
15042
- tags: list[MongoCollectionsServiceServiceTag] = Field(
15100
+ tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
15043
15101
  ..., description='The tags of the metric.', title='Tags'
15044
15102
  )
15045
15103
  creator: MongoCollectionsMetricMetricUserInfo = Field(
@@ -15112,7 +15170,7 @@ class MetricInstance(BaseModel):
15112
15170
  additional_notes: str | None = Field(
15113
15171
  ..., description='Additional notes about the metric.', title='Additional Notes'
15114
15172
  )
15115
- tags: list[MongoCollectionsServiceServiceTag] = Field(
15173
+ tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
15116
15174
  ..., description='The tags of the metric.', title='Tags'
15117
15175
  )
15118
15176
  creator: MongoCollectionsMetricMetricUserInfo = Field(
@@ -15208,7 +15266,7 @@ class SimulationUnitTest(BaseModel):
15208
15266
  is_deleted: bool = Field(
15209
15267
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15210
15268
  )
15211
- tags: list[MongoCollectionsServiceServiceTag] = Field(
15269
+ tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
15212
15270
  ..., description='The tags of the simulation persona.', title='Tags'
15213
15271
  )
15214
15272
  creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -15253,7 +15311,7 @@ class SimulationUnitTestInstance(BaseModel):
15253
15311
  is_deleted: bool = Field(
15254
15312
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15255
15313
  )
15256
- tags: list[MongoCollectionsServiceServiceTag] = Field(
15314
+ tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
15257
15315
  ..., description='The tags of the simulation persona.', title='Tags'
15258
15316
  )
15259
15317
  creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -15388,7 +15446,7 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersion(BaseModel)
15388
15446
  )
15389
15447
  actions: list[
15390
15448
  Annotated[
15391
- DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersionInjectInstructionAction
15449
+ DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestInjectInstructionAction
15392
15450
  | DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersionChangeToolCandidatesAction,
15393
15451
  Field(discriminator='type'),
15394
15452
  ]
@@ -15409,7 +15467,7 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequest(BaseModel):
15409
15467
  )
15410
15468
  actions: list[
15411
15469
  Annotated[
15412
- DynamicBehaviorSetCreateDynamicBehaviorSetRequestInitialVersionInjectInstructionAction
15470
+ DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestInjectInstructionAction
15413
15471
  | DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestChangeToolCandidatesAction,
15414
15472
  Field(discriminator='type'),
15415
15473
  ]
@@ -15572,49 +15630,6 @@ class RoleGetTemporaryPermissionGrantsResponse(BaseModel):
15572
15630
  )
15573
15631
 
15574
15632
 
15575
- class ServiceCreateServiceRequest(BaseModel):
15576
- service_hierarchical_state_machine_id: str = Field(
15577
- ...,
15578
- description='The ID of the state machine that this service uses.',
15579
- pattern='^[a-f0-9]{24}$',
15580
- title='Service Hierarchical State Machine Id',
15581
- )
15582
- agent_id: str = Field(
15583
- ...,
15584
- description='The ID of the agent that this service uses.',
15585
- pattern='^[a-f0-9]{24}$',
15586
- title='Agent Id',
15587
- )
15588
- name: str = Field(..., description='The name of this service.', min_length=1)
15589
- description: str = Field(
15590
- ..., description='A description of this service.', min_length=1
15591
- )
15592
- is_active: bool = Field(
15593
- ...,
15594
- 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.',
15595
- title='Is Active',
15596
- )
15597
- release_version_set: ServiceUpsertServiceVersionSetRequestVersionSet | None = Field(
15598
- None,
15599
- 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.',
15600
- )
15601
- keyterms: list[StrippedNonemptyStringAZAZ02] = Field(
15602
- ...,
15603
- 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.',
15604
- max_length=20,
15605
- title='Keyterms',
15606
- )
15607
- tags: dict[StrippedNonemptyStringWS, StrippedNonemptyStringWS | None] = Field(
15608
- ..., description='The tags of this service.', title='Tags'
15609
- )
15610
-
15611
-
15612
- class ServiceUpsertServiceVersionSetRequest(BaseModel):
15613
- version_set: ServiceUpsertServiceVersionSetRequestVersionSet = Field(
15614
- ..., description='The version set to upsert.'
15615
- )
15616
-
15617
-
15618
15633
  class SimulationCreateSimulationUnitTestRequest(BaseModel):
15619
15634
  name: str = Field(..., description='The name of the unit test.', min_length=1)
15620
15635
  description: str = Field(
@@ -15764,7 +15779,7 @@ class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
15764
15779
  tool_id: str = Field(
15765
15780
  ..., description='The ID of the tool that was invoked.', title='Tool Id'
15766
15781
  )
15767
- tool_version: MongoCollectionsToolInvocationToolInvocationVersion = Field(
15782
+ tool_version: MongoCollectionsToolVersionToolVersionVersion = Field(
15768
15783
  ..., description='The version of the tool that was invoked.'
15769
15784
  )
15770
15785
 
@@ -15777,20 +15792,6 @@ class ToolSearchToolInvocationsResponse(BaseModel):
15777
15792
  )
15778
15793
 
15779
15794
 
15780
- class UserGetUsersResponse(BaseModel):
15781
- users: list[UserGetUsersResponseUserInstance] = Field(
15782
- ..., description='Users in this organization.', title='Users'
15783
- )
15784
- has_more: bool = Field(
15785
- ..., description='Whether there are more users to retrieve.', title='Has More'
15786
- )
15787
- continuation_token: int | None = Field(
15788
- ...,
15789
- description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
15790
- title='Continuation Token',
15791
- )
15792
-
15793
-
15794
15795
  class ServiceHierarchicalStateMachineInstance(BaseModel):
15795
15796
  id: str = Field(..., description='The ID of the state machine version.', title='Id')
15796
15797
  org_id: str = Field(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.108.0
3
+ Version: 0.110.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=byESMm4cj5NxKcMw9_FZaagSYSxtMYiw3VC8aUykd5Y,140
5
+ amigo_sdk/__init__.py,sha256=oA8x4VRgQqZkmVQYtLBz3SgClE1vn3xjU4dGCNa4fMk,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=RPlpd9p-57eN8tcRlSGbUvkXrBYv_WizD3pzuFwPRlM,448694
13
+ amigo_sdk/generated/model.py,sha256=R4Zq0T1A5_De40MeeLBuLuGZAGnhmlFMxp27QCH_Ak8,448973
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.108.0.dist-info/METADATA,sha256=rCwBKZxJ2ydNksuC22LFF03mOXgQKT2TH95u9OxtiZw,8500
19
- amigo_sdk-0.108.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
20
- amigo_sdk-0.108.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
21
- amigo_sdk-0.108.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
22
- amigo_sdk-0.108.0.dist-info/RECORD,,
18
+ amigo_sdk-0.110.0.dist-info/METADATA,sha256=b9g0l7QjoDelmUJnSj4axx7XI5yXEgxWI-bgULzb8J8,8500
19
+ amigo_sdk-0.110.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
20
+ amigo_sdk-0.110.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
21
+ amigo_sdk-0.110.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
22
+ amigo_sdk-0.110.0.dist-info/RECORD,,