amigo_sdk 0.104.0__py3-none-any.whl → 0.106.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.104.0"
1
+ __version__ = "0.106.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-12T16:41:39+00:00
3
+ # timestamp: 2026-01-25T17:11:35+00:00
4
4
 
5
5
  from __future__ import annotations
6
6
 
@@ -198,10 +198,15 @@ class EngageUserDynamicBehaviorOverrideEvent(BaseModel):
198
198
  type: Literal['engage-user-dynamic-behavior-override'] = Field(
199
199
  'engage-user-dynamic-behavior-override', title='Type'
200
200
  )
201
- overriding: bool = Field(
201
+ overriding_instructions: bool = Field(
202
202
  ...,
203
- description="Whether the dynamic behavior set's instructions are overriding the existing instructions of the current state.",
204
- title='Overriding',
203
+ description='Whether the dynamic behavior set is overriding instructions during this interaction.',
204
+ title='Overriding Instructions',
205
+ )
206
+ overriding_tool_candidates: bool = Field(
207
+ ...,
208
+ description='Whether the dynamic behavior set is overriding the tool candidates during this interaction.',
209
+ title='Overriding Tool Candidates',
205
210
  )
206
211
 
207
212
 
@@ -547,10 +552,15 @@ class NavigateStateMachineDynamicBehaviorOverrideEvent(BaseModel):
547
552
  type: Literal['navigate-state-machine-dynamic-behavior-override'] = Field(
548
553
  'navigate-state-machine-dynamic-behavior-override', title='Type'
549
554
  )
550
- overriding: bool = Field(
555
+ overriding_instructions: bool = Field(
556
+ ...,
557
+ description='Whether the dynamic behavior set is overriding instructions during this interaction.',
558
+ title='Overriding Instructions',
559
+ )
560
+ overriding_tool_candidates: bool = Field(
551
561
  ...,
552
- description="Whether the dynamic behavior set's instructions are overriding the existing instructions of the current state.",
553
- title='Overriding',
562
+ description='Whether the dynamic behavior set is overriding the tool candidates during this interaction.',
563
+ title='Overriding Tool Candidates',
554
564
  )
555
565
 
556
566
 
@@ -759,10 +769,6 @@ class Prompt(BaseModel):
759
769
  )
760
770
 
761
771
 
762
- class Queries(RootModel[list[str]]):
763
- root: list[str] = Field(..., min_length=1, title='Queries')
764
-
765
-
766
772
  class NextState4(RootModel[tuple[str, str]]):
767
773
  root: tuple[str, str] = Field(
768
774
  ...,
@@ -1160,11 +1166,6 @@ class ToolCallStateTransitionLog(BaseModel):
1160
1166
  )
1161
1167
 
1162
1168
 
1163
- class ToolRepo(Enum):
1164
- main = 'main'
1165
- team = 'team'
1166
-
1167
-
1168
1169
  class ScenarioVersionInfo(RootModel[tuple[str, int]]):
1169
1170
  root: tuple[str, int] = Field(
1170
1171
  ...,
@@ -1397,11 +1398,6 @@ class Action(Enum):
1397
1398
  deny = 'Deny'
1398
1399
 
1399
1400
 
1400
- class MongoCollectionsServiceServiceTag(BaseModel):
1401
- key: str = Field(..., title='Key')
1402
- value: str | None = Field(..., title='Value')
1403
-
1404
-
1405
1401
  class MongoCollectionsServiceServiceVersionSet(BaseModel):
1406
1402
  agent_version_number: int | None = Field(
1407
1403
  ...,
@@ -1468,6 +1464,11 @@ class MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo(
1468
1464
  pass
1469
1465
 
1470
1466
 
1467
+ class MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag(BaseModel):
1468
+ key: str = Field(..., title='Key')
1469
+ value: str | None = Field(..., title='Value')
1470
+
1471
+
1471
1472
  class MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUnitTestRunDescriptor(
1472
1473
  BaseModel
1473
1474
  ):
@@ -1624,6 +1625,13 @@ class ConversationCreateConversationRequest(BaseModel):
1624
1625
  description='The type of the `initial_message`. Can only be specified if `initial_message` is provided.',
1625
1626
  title='Initial Message Type',
1626
1627
  )
1628
+ tags: dict[StrippedNonemptyStringWS, StrippedNonemptyStringWS | None] | None = (
1629
+ Field(
1630
+ {},
1631
+ description='A list of tags for the conversation. Both the key and the value can only contain alphanumeric characters, underscores, or spaces.',
1632
+ title='Tags',
1633
+ )
1634
+ )
1627
1635
 
1628
1636
 
1629
1637
  class ConversationGenerateConversationStarterRequest(BaseModel):
@@ -1681,6 +1689,21 @@ class TriggeredDynamicBehaviorSetVersionInfo(RootModel[tuple[str, int]]):
1681
1689
  )
1682
1690
 
1683
1691
 
1692
+ class ConversationModifyTagsOfConversationRequest(BaseModel):
1693
+ updates: dict[StrippedNonemptyStringWS, StrippedNonemptyStringWS | None] | None = (
1694
+ Field(
1695
+ {},
1696
+ description='A mapping of tags to add or update on the conversation. Existing tags not included here remain unchanged.',
1697
+ title='Updates',
1698
+ )
1699
+ )
1700
+ deletes: list[PydanticBaseModelStrippedNonemptyString1] | None = Field(
1701
+ default_factory=list,
1702
+ description='A list of tags to remove from the conversation.',
1703
+ title='Deletes',
1704
+ )
1705
+
1706
+
1684
1707
  class ConversationRecommendResponsesForInteractionRequest(BaseModel):
1685
1708
  context: str | None = Field(
1686
1709
  '\nPERSONA:\nName: User\nBackground: A typical person seeking this service.\n---\nSCENARIO:\nName: Complete Service\nObjective: Successfully complete the service interaction.\nInstructions: Engage naturally with the agent to achieve the service objective.\n',
@@ -1796,20 +1819,6 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
1796
1819
  )
1797
1820
 
1798
1821
 
1799
- class DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
1800
- BaseModel
1801
- ):
1802
- id: str = Field(..., title='Id')
1803
- name: str = Field(..., title='Name')
1804
- is_active: bool = Field(..., title='Is Active')
1805
- applied_to_services: list[str] = Field(..., title='Applied To Services')
1806
- tags: dict[str, str | None] = Field(..., title='Tags')
1807
- created_at: AwareDatetime = Field(..., title='Created At')
1808
- creator: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1809
- updated_at: AwareDatetime = Field(..., title='Updated At')
1810
- updated_by: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1811
-
1812
-
1813
1822
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1814
1823
  applied_to_services_ids: list[str] = Field(
1815
1824
  ...,
@@ -1830,14 +1839,18 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
1830
1839
  )
1831
1840
 
1832
1841
 
1833
- class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
1834
- dynamic_behavior_sets: list[
1835
- DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
1836
- ] = Field(
1837
- ...,
1838
- description='The retrieved dynamic behavior sets.',
1839
- title='Dynamic Behavior Sets',
1840
- )
1842
+ class DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
1843
+ BaseModel
1844
+ ):
1845
+ id: str = Field(..., title='Id')
1846
+ name: str = Field(..., title='Name')
1847
+ is_active: bool = Field(..., title='Is Active')
1848
+ applied_to_services: list[str] = Field(..., title='Applied To Services')
1849
+ tags: dict[str, str | None] = Field(..., title='Tags')
1850
+ created_at: AwareDatetime = Field(..., title='Created At')
1851
+ creator: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1852
+ updated_at: AwareDatetime = Field(..., title='Updated At')
1853
+ updated_by: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
1841
1854
 
1842
1855
 
1843
1856
  class DynamicBehaviorSetUpdateDynamicBehaviorSetRequest(BaseModel):
@@ -10576,11 +10589,6 @@ class OrganizationCreateOrganizationRequestPreferences(BaseModel):
10576
10589
  )
10577
10590
 
10578
10591
 
10579
- class OrganizationCreateOrganizationRequestUserDimension(BaseModel):
10580
- description: str = Field(..., min_length=1)
10581
- tags: list[PydanticBaseModelStrippedNonemptyString1] = Field(..., title='Tags')
10582
-
10583
-
10584
10592
  class OrganizationCreateOrganizationResponse(BaseModel):
10585
10593
  org_id: str = Field(
10586
10594
  ...,
@@ -10612,7 +10620,7 @@ class NextState9(NextState7):
10612
10620
  pass
10613
10621
 
10614
10622
 
10615
- class OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition(
10623
+ class OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition(
10616
10624
  BaseModel
10617
10625
  ):
10618
10626
  description: str = Field(..., min_length=1)
@@ -10755,23 +10763,17 @@ class OrganizationGetUserDimensionsResponse(BaseModel):
10755
10763
  )
10756
10764
 
10757
10765
 
10758
- class UserDimensions(
10759
- RootModel[list[OrganizationCreateOrganizationRequestUserDimension]]
10760
- ):
10761
- root: list[OrganizationCreateOrganizationRequestUserDimension] = Field(
10762
- ...,
10763
- description='User dimensions for the organization. If not set or `null`, this field is not updated.',
10764
- min_length=1,
10765
- title='User Dimensions',
10766
- )
10767
-
10768
-
10769
10766
  class OrganizationModifyOrganizationRequestPreferences(
10770
10767
  OrganizationCreateOrganizationRequestPreferences
10771
10768
  ):
10772
10769
  pass
10773
10770
 
10774
10771
 
10772
+ class OrganizationModifyOrganizationRequestUserDimension(BaseModel):
10773
+ description: str = Field(..., min_length=1)
10774
+ tags: list[PydanticBaseModelStrippedNonemptyString1] = Field(..., title='Tags')
10775
+
10776
+
10775
10777
  class RoleAssignRoleRequest(BaseModel):
10776
10778
  user_id: str = Field(
10777
10779
  ...,
@@ -10987,16 +10989,6 @@ class SimulationCreateSimulationUnitTestResponse(BaseModel):
10987
10989
  )
10988
10990
 
10989
10991
 
10990
- class SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
10991
- unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
10992
- run_count: int = Field(
10993
- ...,
10994
- description='The number of times to run the unit test.',
10995
- gt=0,
10996
- title='Run Count',
10997
- )
10998
-
10999
-
11000
10992
  class SimulationCreateSimulationUnitTestSetResponse(BaseModel):
11001
10993
  simulation_unit_test_set_id: str = Field(
11002
10994
  ...,
@@ -11310,35 +11302,13 @@ class RunCount(RootModel[int]):
11310
11302
  )
11311
11303
 
11312
11304
 
11313
- class UnitTestRuns(
11314
- RootModel[list[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
11315
- ):
11316
- root: list[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
11317
- Field(
11318
- ...,
11319
- description='The unit test runs that are part of this set.',
11320
- min_length=1,
11321
- title='Unit Test Runs',
11322
- )
11323
- )
11324
-
11325
-
11326
- class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
11327
- name: PydanticBaseModelStrippedNonemptyString1 | None = Field(
11328
- None, description='The name of the simulation unit test set.'
11329
- )
11330
- description: PydanticBaseModelStrippedNonemptyString1 | FieldNotSet | None = Field(
11331
- default_factory=lambda: PydanticBaseModelStrippedNonemptyString1({}),
11332
- description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
11333
- title='Description',
11334
- )
11335
- unit_test_runs: UnitTestRuns | None = Field(
11336
- None,
11337
- description='The unit test runs that are part of this set.',
11338
- title='Unit Test Runs',
11339
- )
11340
- tags: dict[str, str | None] | None = Field(
11341
- None, description='The tags of the simulation unit test set.', title='Tags'
11305
+ class SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
11306
+ unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
11307
+ run_count: int = Field(
11308
+ ...,
11309
+ description='The number of times to run the unit test.',
11310
+ gt=0,
11311
+ title='Run Count',
11342
11312
  )
11343
11313
 
11344
11314
 
@@ -11411,11 +11381,6 @@ class BumpType(Enum):
11411
11381
 
11412
11382
 
11413
11383
  class ToolPublishToolVersionRequest(BaseModel):
11414
- repo: ToolRepo = Field(
11415
- ...,
11416
- description="The repo to publish the tool version from. If `team`, then it's published from the repo of the organization's Azure DevOps team. If `main`, then it's published\nfrom the `tools-main` repo.",
11417
- title='Repo',
11418
- )
11419
11384
  project_path: str = Field(
11420
11385
  ...,
11421
11386
  description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
@@ -11946,6 +11911,11 @@ class GetConversationsParametersQuery(BaseModel):
11946
11911
  description='The field to sort the conversations by. Supported fields are `created_at`. Specify a `+` before the field name to indicate ascending sorting and `-` for descending sorting. Multiple fields can be specified to break ties.',
11947
11912
  title='Sort By',
11948
11913
  )
11914
+ tag: list[str] | None = Field(
11915
+ [],
11916
+ description='The tags of the dynamic behavior sets. Must be specified using the syntax `key:value`, which means to match all sets with the given `key` and `value` pair among its tags. If `value` is `*`, it means the `value` does not matter. If `value` is empty, it matches against when the value is `None`.',
11917
+ title='Tag',
11918
+ )
11949
11919
 
11950
11920
 
11951
11921
  class InteractionIdItem(AppliedToService):
@@ -11959,7 +11929,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
11959
11929
  title='Id',
11960
11930
  )
11961
11931
  message_type: list[MessageType] | None = Field(
11962
- ['agent-message', 'user-message', 'external-event'],
11932
+ ['user-message', 'agent-message', 'external-event'],
11963
11933
  description='The type of messages to retrieve.',
11964
11934
  title='Message Type',
11965
11935
  )
@@ -13144,7 +13114,7 @@ class ActionStateInput(BaseModel):
13144
13114
  ..., title='Boundary Constraints'
13145
13115
  )
13146
13116
  exit_conditions: list[
13147
- OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition
13117
+ OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition
13148
13118
  ] = Field(..., title='Exit Conditions')
13149
13119
  action_tool_call_specs: list[
13150
13120
  OrganizationCreateServiceHierarchicalStateMachineVersionRequestToolCallSpec
@@ -13290,12 +13260,16 @@ class DecisionStateInput(BaseModel):
13290
13260
  type: Literal['decision'] = Field(..., title='Type')
13291
13261
  name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
13292
13262
  exit_conditions: list[
13293
- OrganizationCreateServiceHierarchicalStateMachineVersionRequestActionStateExitCondition
13263
+ OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition
13294
13264
  ] = Field(..., title='Exit Conditions')
13295
13265
  decision_guidelines: list[PydanticBaseModelStrippedNonemptyString1] = Field(
13296
13266
  ..., title='Decision Guidelines'
13297
13267
  )
13298
- objective: str = Field(..., min_length=1)
13268
+ objective: str = Field(
13269
+ ...,
13270
+ description='The objective the agent is trying to achieve in this decision state.',
13271
+ min_length=1,
13272
+ )
13299
13273
  tool_call_specs: list[
13300
13274
  OrganizationCreateServiceHierarchicalStateMachineVersionRequestToolCallSpec
13301
13275
  ] = Field(..., title='Tool Call Specs')
@@ -13473,6 +13447,12 @@ class NumericalMetricSuccessCriterion(BaseModel):
13473
13447
  threshold: float = Field(..., title='Threshold')
13474
13448
 
13475
13449
 
13450
+ class Queries(RootModel[list[PydanticBaseModelStrippedNonemptyString1]]):
13451
+ root: list[PydanticBaseModelStrippedNonemptyString1] = Field(
13452
+ ..., min_length=1, title='Queries'
13453
+ )
13454
+
13455
+
13476
13456
  class RecallStateInput(BaseModel):
13477
13457
  type: Literal['recall'] = Field(..., title='Type')
13478
13458
  name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
@@ -13622,9 +13602,14 @@ class ServiceInstance(BaseModel):
13622
13602
  agent_id: str = Field(
13623
13603
  ..., description='The ID of the agent that this service uses.', title='Agent Id'
13624
13604
  )
13625
- tags: list[MongoCollectionsServiceServiceTag] = Field(
13605
+ tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
13626
13606
  ..., description='The tags of the service.', title='Tags'
13627
13607
  )
13608
+ keyterms: list[str] = Field(
13609
+ ...,
13610
+ 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.',
13611
+ title='Keyterms',
13612
+ )
13628
13613
 
13629
13614
 
13630
13615
  class SimulationConversationInvocationSource(BaseModel):
@@ -13675,7 +13660,7 @@ class SimulationUnitTestSet(BaseModel):
13675
13660
  description='Whether the unit test set has been deleted.',
13676
13661
  title='Is Deleted',
13677
13662
  )
13678
- tags: list[MongoCollectionsServiceServiceTag] = Field(
13663
+ tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
13679
13664
  ..., description='The tags of the simulation unit test set.', title='Tags'
13680
13665
  )
13681
13666
  creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -13712,7 +13697,7 @@ class SimulationUnitTestSetInstance(BaseModel):
13712
13697
  description='Whether the unit test set has been deleted.',
13713
13698
  title='Is Deleted',
13714
13699
  )
13715
- tags: list[MongoCollectionsServiceServiceTag] = Field(
13700
+ tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
13716
13701
  ..., description='The tags of the simulation unit test set.', title='Tags'
13717
13702
  )
13718
13703
  creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
@@ -13840,7 +13825,7 @@ class ToolInstance(BaseModel):
13840
13825
  description='A list of encrypted environment variables that some versions of this tool uses.',
13841
13826
  title='Secret Envvars',
13842
13827
  )
13843
- tags: list[MongoCollectionsServiceServiceTag] = Field(
13828
+ tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
13844
13829
  ..., description='The tags of the simulation persona.', title='Tags'
13845
13830
  )
13846
13831
 
@@ -13871,11 +13856,6 @@ class ToolVersionInstance(BaseModel):
13871
13856
  input_schema: dict[str, Any] = Field(
13872
13857
  ..., description='The input schema of the tool.', title='Input Schema'
13873
13858
  )
13874
- tool_repo: ToolRepo = Field(
13875
- ...,
13876
- description='Whether this tool is published from the main repository or the team-specific repository.',
13877
- title='Tool Repo',
13878
- )
13879
13859
  tool_commit_hash: str = Field(
13880
13860
  ...,
13881
13861
  description='The commit hash of the tool within the repository.',
@@ -13902,6 +13882,7 @@ class ToolVersionInstance(BaseModel):
13902
13882
  description='Whether the tool version is deprecated. Deprecated tool versions are not usable and do not participate in version resolution.',
13903
13883
  title='Deprecated',
13904
13884
  )
13885
+ tool_repo: Literal['team'] = Field('team', title='Tool Repo')
13905
13886
 
13906
13887
 
13907
13888
  class UnitTestRunResult(BaseModel):
@@ -14135,7 +14116,7 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestChangeToolCandidat
14135
14116
 
14136
14117
  class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14137
14118
  dynamic_behavior_sets: list[
14138
- DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14119
+ DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14139
14120
  ] = Field(
14140
14121
  ...,
14141
14122
  description='The retrieved dynamic behavior sets.',
@@ -14159,6 +14140,16 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
14159
14140
  )
14160
14141
 
14161
14142
 
14143
+ class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
14144
+ dynamic_behavior_sets: list[
14145
+ DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
14146
+ ] = Field(
14147
+ ...,
14148
+ description='The retrieved dynamic behavior sets.',
14149
+ title='Dynamic Behavior Sets',
14150
+ )
14151
+
14152
+
14162
14153
  class MetricCreateMetricRequest(BaseModel):
14163
14154
  name: str = Field(
14164
14155
  ...,
@@ -14215,7 +14206,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
14215
14206
  description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
14216
14207
  min_length=1,
14217
14208
  )
14218
- user_dimensions: list[OrganizationCreateOrganizationRequestUserDimension] = Field(
14209
+ user_dimensions: list[OrganizationModifyOrganizationRequestUserDimension] = Field(
14219
14210
  ...,
14220
14211
  description='User dimensions for the organization.',
14221
14212
  title='User Dimensions',
@@ -14385,6 +14376,17 @@ class OrganizationGetApiKeysResponse(BaseModel):
14385
14376
  )
14386
14377
 
14387
14378
 
14379
+ class UserDimensions(
14380
+ RootModel[list[OrganizationModifyOrganizationRequestUserDimension]]
14381
+ ):
14382
+ root: list[OrganizationModifyOrganizationRequestUserDimension] = Field(
14383
+ ...,
14384
+ description='User dimensions for the organization. If not set or `null`, this field is not updated.',
14385
+ min_length=1,
14386
+ title='User Dimensions',
14387
+ )
14388
+
14389
+
14388
14390
  class OrganizationModifyOrganizationRequest(BaseModel):
14389
14391
  title: PydanticBaseModelStrippedNonemptyString1 | None = Field(
14390
14392
  None,
@@ -14560,7 +14562,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
14560
14562
  ..., description='The description of the simulation unit test set.'
14561
14563
  )
14562
14564
  unit_test_runs: list[
14563
- SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor
14565
+ SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor
14564
14566
  ] = Field(
14565
14567
  ...,
14566
14568
  description='The unit test runs that are part of this set.',
@@ -14664,6 +14666,38 @@ class SimulationUpdateSimulationUnitTestRequestSuccessCriterion(
14664
14666
  pass
14665
14667
 
14666
14668
 
14669
+ class UnitTestRuns(
14670
+ RootModel[list[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
14671
+ ):
14672
+ root: list[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
14673
+ Field(
14674
+ ...,
14675
+ description='The unit test runs that are part of this set.',
14676
+ min_length=1,
14677
+ title='Unit Test Runs',
14678
+ )
14679
+ )
14680
+
14681
+
14682
+ class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
14683
+ name: PydanticBaseModelStrippedNonemptyString1 | None = Field(
14684
+ None, description='The name of the simulation unit test set.'
14685
+ )
14686
+ description: PydanticBaseModelStrippedNonemptyString1 | FieldNotSet | None = Field(
14687
+ default_factory=lambda: PydanticBaseModelStrippedNonemptyString1({}),
14688
+ description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
14689
+ title='Description',
14690
+ )
14691
+ unit_test_runs: UnitTestRuns | None = Field(
14692
+ None,
14693
+ description='The unit test runs that are part of this set.',
14694
+ title='Unit Test Runs',
14695
+ )
14696
+ tags: dict[str, str | None] | None = Field(
14697
+ None, description='The tags of the simulation unit test set.', title='Tags'
14698
+ )
14699
+
14700
+
14667
14701
  class ToolGetToolVersionsResponse(BaseModel):
14668
14702
  tool_versions: list[ToolVersionInstance] = Field(
14669
14703
  ...,
@@ -14855,6 +14889,9 @@ class ConversationInstance(BaseModel):
14855
14889
  description='The number of messages in this conversation.',
14856
14890
  title='Num Messages',
14857
14891
  )
14892
+ tags: dict[str, str | None] = Field(
14893
+ ..., description='The tags associated with this conversation.', title='Tags'
14894
+ )
14858
14895
 
14859
14896
 
14860
14897
  class CurrentAgentActionEvent(BaseModel):
@@ -14930,7 +14967,7 @@ class Metric(BaseModel):
14930
14967
  additional_notes: str | None = Field(
14931
14968
  ..., description='Additional notes about the metric.', title='Additional Notes'
14932
14969
  )
14933
- tags: list[MongoCollectionsServiceServiceTag] = Field(
14970
+ tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
14934
14971
  ..., description='The tags of the metric.', title='Tags'
14935
14972
  )
14936
14973
  creator: MongoCollectionsMetricMetricUserInfo = Field(
@@ -15003,7 +15040,7 @@ class MetricInstance(BaseModel):
15003
15040
  additional_notes: str | None = Field(
15004
15041
  ..., description='Additional notes about the metric.', title='Additional Notes'
15005
15042
  )
15006
- tags: list[MongoCollectionsServiceServiceTag] = Field(
15043
+ tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
15007
15044
  ..., description='The tags of the metric.', title='Tags'
15008
15045
  )
15009
15046
  creator: MongoCollectionsMetricMetricUserInfo = Field(
@@ -15099,7 +15136,7 @@ class SimulationUnitTest(BaseModel):
15099
15136
  is_deleted: bool = Field(
15100
15137
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15101
15138
  )
15102
- tags: list[MongoCollectionsServiceServiceTag] = Field(
15139
+ tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
15103
15140
  ..., description='The tags of the simulation persona.', title='Tags'
15104
15141
  )
15105
15142
  creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -15144,7 +15181,7 @@ class SimulationUnitTestInstance(BaseModel):
15144
15181
  is_deleted: bool = Field(
15145
15182
  ..., description='Whether the unit test has been deleted.', title='Is Deleted'
15146
15183
  )
15147
- tags: list[MongoCollectionsServiceServiceTag] = Field(
15184
+ tags: list[MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag] = Field(
15148
15185
  ..., description='The tags of the simulation persona.', title='Tags'
15149
15186
  )
15150
15187
  creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
@@ -15438,8 +15475,8 @@ class ServiceCreateServiceRequest(BaseModel):
15438
15475
  None,
15439
15476
  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.',
15440
15477
  )
15441
- keyterms: list[StrippedNonemptyStringAZAZ02] | None = Field(
15442
- default_factory=list,
15478
+ keyterms: list[StrippedNonemptyStringAZAZ02] = Field(
15479
+ ...,
15443
15480
  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.',
15444
15481
  max_length=20,
15445
15482
  title='Keyterms',
@@ -15576,7 +15613,7 @@ class SimulationUpdateSimulationUnitTestRequest(BaseModel):
15576
15613
  )
15577
15614
 
15578
15615
 
15579
- class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
15616
+ class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
15580
15617
  id: str = Field(..., description='The ID of the tool invocation.', title='Id')
15581
15618
  org_id: str = Field(..., description='The ID of the organization.', title='Org Id')
15582
15619
  created_at: AwareDatetime | None = Field(None, title='Created At')
@@ -15603,6 +15640,14 @@ class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
15603
15640
  )
15604
15641
 
15605
15642
 
15643
+ class ToolSearchToolInvocationsResponse(BaseModel):
15644
+ tool_invocations: list[ToolGetToolInvocationsResponseToolInvocationInstance] = (
15645
+ Field(
15646
+ ..., description='The list of tool invocations.', title='Tool Invocations'
15647
+ )
15648
+ )
15649
+
15650
+
15606
15651
  class UserGetUsersResponse(BaseModel):
15607
15652
  users: list[UserSearchUsersResponseUserInstance] = Field(
15608
15653
  ..., description='Users in this organization.', title='Users'
@@ -15827,7 +15872,7 @@ class SimulationGetSimulationUnitTestSetRunsResponse(BaseModel):
15827
15872
 
15828
15873
 
15829
15874
  class ToolGetToolInvocationsResponse(BaseModel):
15830
- tool_invocations: list[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
15875
+ tool_invocations: list[ToolGetToolInvocationsResponseToolInvocationInstance] = (
15831
15876
  Field(
15832
15877
  ..., description='The list of tool invocations.', title='Tool Invocations'
15833
15878
  )
@@ -15842,11 +15887,3 @@ class ToolGetToolInvocationsResponse(BaseModel):
15842
15887
  description='The continuation token to retrieve the next page of tool invocations, or null if there are no more tool invocations.',
15843
15888
  title='Continuation Token',
15844
15889
  )
15845
-
15846
-
15847
- class ToolSearchToolInvocationsResponse(BaseModel):
15848
- tool_invocations: list[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
15849
- Field(
15850
- ..., description='The list of tool invocations.', title='Tool Invocations'
15851
- )
15852
- )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: amigo_sdk
3
- Version: 0.104.0
3
+ Version: 0.106.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=iolFD9HiwaCApwA9XPByWngpt0x-TKchVyAi54_jF9g,140
5
+ amigo_sdk/__init__.py,sha256=wLIyTbS6p1AORzx4gRJcJU7p1ouM_onLrEYPLCslyCc,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=bCMB3cgF9NlJMhN1FB30GFMOUDHKDOpMKLz58TirWxE,442696
13
+ amigo_sdk/generated/model.py,sha256=YCZMdsuAettY2KGlFfn0sWifwqeZPYyf627ruLE7RkY,444763
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.104.0.dist-info/METADATA,sha256=OmL3cpSgmbOHoaG39xbqN263nnr4t3nhQ05IvFDP9WI,8500
19
- amigo_sdk-0.104.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
20
- amigo_sdk-0.104.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
21
- amigo_sdk-0.104.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
22
- amigo_sdk-0.104.0.dist-info/RECORD,,
18
+ amigo_sdk-0.106.0.dist-info/METADATA,sha256=C-PJznKtpNcPzQGYjybBsojkM7bV1zjhJ3hrKsKYGqs,8500
19
+ amigo_sdk-0.106.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
20
+ amigo_sdk-0.106.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
21
+ amigo_sdk-0.106.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
22
+ amigo_sdk-0.106.0.dist-info/RECORD,,