amigo_sdk 0.100.0__py3-none-any.whl → 0.102.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- amigo_sdk/__init__.py +1 -1
- amigo_sdk/generated/model.py +181 -233
- {amigo_sdk-0.100.0.dist-info → amigo_sdk-0.102.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.100.0.dist-info → amigo_sdk-0.102.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.100.0.dist-info → amigo_sdk-0.102.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.100.0.dist-info → amigo_sdk-0.102.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.100.0.dist-info → amigo_sdk-0.102.0.dist-info}/licenses/LICENSE +0 -0
amigo_sdk/__init__.py
CHANGED
amigo_sdk/generated/model.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# generated by datamodel-codegen:
|
|
2
2
|
# filename: <stdin>
|
|
3
|
-
# timestamp: 2026-01-
|
|
3
|
+
# timestamp: 2026-01-11T17:03:09+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -1224,33 +1224,6 @@ class VersionComponent(RootModel[int | Literal['latest']]):
|
|
|
1224
1224
|
root: int | Literal['latest']
|
|
1225
1225
|
|
|
1226
1226
|
|
|
1227
|
-
class SampleRate(IntEnum):
|
|
1228
|
-
integer_22050 = 22050
|
|
1229
|
-
integer_44100 = 44100
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
class SampleWidth1(IntEnum):
|
|
1233
|
-
integer_4 = 4
|
|
1234
|
-
integer_8 = 8
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
class VoiceResponseMP3AudioFormat(BaseModel):
|
|
1238
|
-
type: Literal['mp3'] = Field('mp3', title='Type')
|
|
1239
|
-
sample_rate: SampleRate = Field(..., title='Sample Rate')
|
|
1240
|
-
sample_width: SampleWidth1 = Field(..., title='Sample Width')
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
class SampleRate1(IntEnum):
|
|
1244
|
-
integer_8000 = 8000
|
|
1245
|
-
integer_16000 = 16000
|
|
1246
|
-
integer_44100 = 44100
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
class VoiceResponsePCMAudioFormat(BaseModel):
|
|
1250
|
-
type: Literal['pcm'] = Field('pcm', title='Type')
|
|
1251
|
-
sample_rate: SampleRate1 = Field(..., title='Sample Rate')
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
1227
|
class WebhookDeliveryStatus(Enum):
|
|
1255
1228
|
success = 'success'
|
|
1256
1229
|
failed = 'failed'
|
|
@@ -1484,6 +1457,11 @@ class MongoCollectionsSimulationScenarioSimulationScenarioUserInfo(
|
|
|
1484
1457
|
pass
|
|
1485
1458
|
|
|
1486
1459
|
|
|
1460
|
+
class MongoCollectionsSimulationUnitTestSimulationUnitTestTag(BaseModel):
|
|
1461
|
+
key: str = Field(..., title='Key')
|
|
1462
|
+
value: str | None = Field(..., title='Value')
|
|
1463
|
+
|
|
1464
|
+
|
|
1487
1465
|
class MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo(
|
|
1488
1466
|
MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1489
1467
|
):
|
|
@@ -1524,11 +1502,6 @@ class MongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUserInfo(
|
|
|
1524
1502
|
pass
|
|
1525
1503
|
|
|
1526
1504
|
|
|
1527
|
-
class MongoCollectionsToolToolTag(BaseModel):
|
|
1528
|
-
key: str = Field(..., title='Key')
|
|
1529
|
-
value: str | None = Field(..., title='Value')
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
1505
|
class MongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
|
|
1533
1506
|
user_id: str = Field(..., description='The ID of the user.', title='User Id')
|
|
1534
1507
|
user_org_id: str = Field(
|
|
@@ -1822,6 +1795,20 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
|
|
|
1822
1795
|
)
|
|
1823
1796
|
|
|
1824
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
|
+
|
|
1825
1812
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
1826
1813
|
applied_to_services_ids: list[str] = Field(
|
|
1827
1814
|
...,
|
|
@@ -1842,18 +1829,14 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
|
1842
1829
|
)
|
|
1843
1830
|
|
|
1844
1831
|
|
|
1845
|
-
class
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
created_at: AwareDatetime = Field(..., title='Created At')
|
|
1854
|
-
creator: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1855
|
-
updated_at: AwareDatetime = Field(..., title='Updated At')
|
|
1856
|
-
updated_by: MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
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
|
+
)
|
|
1857
1840
|
|
|
1858
1841
|
|
|
1859
1842
|
class DynamicBehaviorSetUpdateDynamicBehaviorSetRequest(BaseModel):
|
|
@@ -10592,11 +10575,6 @@ class OrganizationCreateOrganizationRequestPreferences(BaseModel):
|
|
|
10592
10575
|
)
|
|
10593
10576
|
|
|
10594
10577
|
|
|
10595
|
-
class OrganizationCreateOrganizationRequestUserDimension(BaseModel):
|
|
10596
|
-
description: str = Field(..., min_length=1)
|
|
10597
|
-
tags: list[PydanticBaseModelStrippedNonemptyString1] = Field(..., title='Tags')
|
|
10598
|
-
|
|
10599
|
-
|
|
10600
10578
|
class OrganizationCreateOrganizationResponse(BaseModel):
|
|
10601
10579
|
org_id: str = Field(
|
|
10602
10580
|
...,
|
|
@@ -10771,23 +10749,17 @@ class OrganizationGetUserDimensionsResponse(BaseModel):
|
|
|
10771
10749
|
)
|
|
10772
10750
|
|
|
10773
10751
|
|
|
10774
|
-
class UserDimensions(
|
|
10775
|
-
RootModel[list[OrganizationCreateOrganizationRequestUserDimension]]
|
|
10776
|
-
):
|
|
10777
|
-
root: list[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
10778
|
-
...,
|
|
10779
|
-
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
10780
|
-
min_length=1,
|
|
10781
|
-
title='User Dimensions',
|
|
10782
|
-
)
|
|
10783
|
-
|
|
10784
|
-
|
|
10785
10752
|
class OrganizationModifyOrganizationRequestPreferences(
|
|
10786
10753
|
OrganizationCreateOrganizationRequestPreferences
|
|
10787
10754
|
):
|
|
10788
10755
|
pass
|
|
10789
10756
|
|
|
10790
10757
|
|
|
10758
|
+
class OrganizationModifyOrganizationRequestUserDimension(BaseModel):
|
|
10759
|
+
description: str = Field(..., min_length=1)
|
|
10760
|
+
tags: list[PydanticBaseModelStrippedNonemptyString1] = Field(..., title='Tags')
|
|
10761
|
+
|
|
10762
|
+
|
|
10791
10763
|
class RoleAssignRoleRequest(BaseModel):
|
|
10792
10764
|
user_id: str = Field(
|
|
10793
10765
|
...,
|
|
@@ -11101,6 +11073,37 @@ class SimulationGetSimulationScenariosResponseFilterValues(BaseModel):
|
|
|
11101
11073
|
)
|
|
11102
11074
|
|
|
11103
11075
|
|
|
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
|
+
|
|
11104
11107
|
class SimulationGetSimulationUnitTestSetRunArtifactsResponse(BaseModel):
|
|
11105
11108
|
presigned_url: str = Field(
|
|
11106
11109
|
...,
|
|
@@ -11223,34 +11226,13 @@ class SimulationSearchSimulationPersonasResponseSimulationPersonaInstance(BaseMo
|
|
|
11223
11226
|
)
|
|
11224
11227
|
|
|
11225
11228
|
|
|
11226
|
-
class
|
|
11227
|
-
|
|
11228
|
-
|
|
11229
|
-
|
|
11230
|
-
)
|
|
11231
|
-
tags: dict[str, str | None] = Field(
|
|
11232
|
-
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11233
|
-
)
|
|
11234
|
-
is_deleted: bool = Field(
|
|
11235
|
-
...,
|
|
11236
|
-
description='Whether the simulation scenario is deleted.',
|
|
11237
|
-
title='Is Deleted',
|
|
11238
|
-
)
|
|
11239
|
-
created_at: AwareDatetime = Field(
|
|
11240
|
-
...,
|
|
11241
|
-
description='The timestamp when the simulation scenario was created.',
|
|
11242
|
-
title='Created At',
|
|
11243
|
-
)
|
|
11244
|
-
creator: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
|
|
11245
|
-
..., description='The user who created the simulation scenario.'
|
|
11246
|
-
)
|
|
11247
|
-
updated_at: AwareDatetime = Field(
|
|
11229
|
+
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
11230
|
+
simulation_scenarios: list[
|
|
11231
|
+
SimulationGetSimulationScenariosResponseSimulationScenarioInstance
|
|
11232
|
+
] = Field(
|
|
11248
11233
|
...,
|
|
11249
|
-
description='The
|
|
11250
|
-
title='
|
|
11251
|
-
)
|
|
11252
|
-
updated_by: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
|
|
11253
|
-
..., description='The user who last updated the simulation scenario.'
|
|
11234
|
+
description='The list of simulation scenarios.',
|
|
11235
|
+
title='Simulation Scenarios',
|
|
11254
11236
|
)
|
|
11255
11237
|
|
|
11256
11238
|
|
|
@@ -11381,22 +11363,6 @@ class ToolGetToolsResponseFilterValues(BaseModel):
|
|
|
11381
11363
|
)
|
|
11382
11364
|
|
|
11383
11365
|
|
|
11384
|
-
class InvocationMode(Enum):
|
|
11385
|
-
regular = 'regular'
|
|
11386
|
-
conversation_simulation = 'conversation-simulation'
|
|
11387
|
-
|
|
11388
|
-
|
|
11389
|
-
class ToolInvokeToolVersionRequestInput(BaseModel):
|
|
11390
|
-
input_parameters: dict[str, Any] = Field(
|
|
11391
|
-
...,
|
|
11392
|
-
description='The input parameters for the tool invocation.',
|
|
11393
|
-
title='Input Parameters',
|
|
11394
|
-
)
|
|
11395
|
-
invocation_mode: InvocationMode = Field(
|
|
11396
|
-
..., description='The mode of invocation.', title='Invocation Mode'
|
|
11397
|
-
)
|
|
11398
|
-
|
|
11399
|
-
|
|
11400
11366
|
class ToolModifyToolRequest(BaseModel):
|
|
11401
11367
|
description: PydanticBaseModelStrippedNonemptyString1 | None = Field(
|
|
11402
11368
|
None, description='A description of this tool. Only updates if not-null.'
|
|
@@ -11441,34 +11407,19 @@ class ToolPublishToolVersionResponse(BaseModel):
|
|
|
11441
11407
|
)
|
|
11442
11408
|
|
|
11443
11409
|
|
|
11444
|
-
class
|
|
11445
|
-
|
|
11446
|
-
|
|
11447
|
-
|
|
11448
|
-
|
|
11449
|
-
|
|
11450
|
-
|
|
11451
|
-
)
|
|
11452
|
-
commit_branch: str = Field(
|
|
11453
|
-
...,
|
|
11454
|
-
description='The branch in the tools repo whose tip will be tested.',
|
|
11455
|
-
title='Commit Branch',
|
|
11456
|
-
)
|
|
11457
|
-
project_path: str = Field(
|
|
11458
|
-
...,
|
|
11459
|
-
description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
|
|
11460
|
-
pattern='^[-\\w\\d_/]+$',
|
|
11461
|
-
title='Project Path',
|
|
11462
|
-
)
|
|
11463
|
-
required_envvars: dict[str, str] = Field(
|
|
11410
|
+
class InvocationMode(Enum):
|
|
11411
|
+
regular = 'regular'
|
|
11412
|
+
conversation_simulation = 'conversation-simulation'
|
|
11413
|
+
|
|
11414
|
+
|
|
11415
|
+
class ToolTestToolRequestInput(BaseModel):
|
|
11416
|
+
input_parameters: dict[str, Any] = Field(
|
|
11464
11417
|
...,
|
|
11465
|
-
description='The
|
|
11466
|
-
title='
|
|
11418
|
+
description='The input parameters for the tool invocation.',
|
|
11419
|
+
title='Input Parameters',
|
|
11467
11420
|
)
|
|
11468
|
-
|
|
11469
|
-
...,
|
|
11470
|
-
description='The secret environment variables required for the tool to run.',
|
|
11471
|
-
title='Required Secret Envvars',
|
|
11421
|
+
invocation_mode: InvocationMode = Field(
|
|
11422
|
+
..., description='The mode of invocation.', title='Invocation Mode'
|
|
11472
11423
|
)
|
|
11473
11424
|
|
|
11474
11425
|
|
|
@@ -11924,9 +11875,17 @@ class GetServicesParametersQuery(BaseModel):
|
|
|
11924
11875
|
)
|
|
11925
11876
|
|
|
11926
11877
|
|
|
11927
|
-
class
|
|
11928
|
-
|
|
11929
|
-
|
|
11878
|
+
class CreateConversationParametersQuery(BaseModel):
|
|
11879
|
+
response_format: Format = Field(
|
|
11880
|
+
...,
|
|
11881
|
+
description='The format of the response that will be sent to the user.',
|
|
11882
|
+
title='Response Format',
|
|
11883
|
+
)
|
|
11884
|
+
current_agent_action_type: str | None = Field(
|
|
11885
|
+
'^.*$',
|
|
11886
|
+
description="A regex for filtering the type of the current agent action to return. By default, all are returned. If you don't want to receive any events, set this to a regex that matches nothing, for instance `^$`.",
|
|
11887
|
+
title='Current Agent Action Type',
|
|
11888
|
+
)
|
|
11930
11889
|
|
|
11931
11890
|
|
|
11932
11891
|
class ServiceIdItem(AppliedToService):
|
|
@@ -12010,6 +11969,31 @@ class GetConversationMessagesParametersQuery(BaseModel):
|
|
|
12010
11969
|
)
|
|
12011
11970
|
|
|
12012
11971
|
|
|
11972
|
+
class InteractWithConversationParametersQuery(BaseModel):
|
|
11973
|
+
request_format: Format = Field(
|
|
11974
|
+
...,
|
|
11975
|
+
description='The format in which the user message is delivered to the server.',
|
|
11976
|
+
title='Request Format',
|
|
11977
|
+
)
|
|
11978
|
+
response_format: Format = Field(
|
|
11979
|
+
...,
|
|
11980
|
+
description='The format of the response that will be sent to the user.',
|
|
11981
|
+
title='Response Format',
|
|
11982
|
+
)
|
|
11983
|
+
current_agent_action_type: str | None = Field(
|
|
11984
|
+
'^.*$',
|
|
11985
|
+
description="A regex for filtering the type of the current agent action to return. By default, all are returned. If you don't want to receive any events, set this to a regex that matches nothing, for instance `^$`.",
|
|
11986
|
+
title='Current Agent Action Type',
|
|
11987
|
+
)
|
|
11988
|
+
request_audio_config: (
|
|
11989
|
+
MP3UserMessageAudioConfig | PCMUserMessageAudioConfig | None
|
|
11990
|
+
) = Field(
|
|
11991
|
+
None,
|
|
11992
|
+
description='Configuration for the user message audio. This is only required if `request_format` is set to `voice`.',
|
|
11993
|
+
title='Request Audio Config',
|
|
11994
|
+
)
|
|
11995
|
+
|
|
11996
|
+
|
|
12013
11997
|
class ExternalEventMessageContent(PydanticBaseModelStrippedNonemptyString1):
|
|
12014
11998
|
pass
|
|
12015
11999
|
|
|
@@ -13620,7 +13604,7 @@ class ServiceInstance(BaseModel):
|
|
|
13620
13604
|
agent_id: str = Field(
|
|
13621
13605
|
..., description='The ID of the agent that this service uses.', title='Agent Id'
|
|
13622
13606
|
)
|
|
13623
|
-
tags: list[
|
|
13607
|
+
tags: list[MongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
|
|
13624
13608
|
..., description='The tags of the service.', title='Tags'
|
|
13625
13609
|
)
|
|
13626
13610
|
|
|
@@ -13673,7 +13657,7 @@ class SimulationUnitTestSet(BaseModel):
|
|
|
13673
13657
|
description='Whether the unit test set has been deleted.',
|
|
13674
13658
|
title='Is Deleted',
|
|
13675
13659
|
)
|
|
13676
|
-
tags: list[
|
|
13660
|
+
tags: list[MongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
|
|
13677
13661
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13678
13662
|
)
|
|
13679
13663
|
creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -13710,7 +13694,7 @@ class SimulationUnitTestSetInstance(BaseModel):
|
|
|
13710
13694
|
description='Whether the unit test set has been deleted.',
|
|
13711
13695
|
title='Is Deleted',
|
|
13712
13696
|
)
|
|
13713
|
-
tags: list[
|
|
13697
|
+
tags: list[MongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
|
|
13714
13698
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13715
13699
|
)
|
|
13716
13700
|
creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -13838,7 +13822,7 @@ class ToolInstance(BaseModel):
|
|
|
13838
13822
|
description='A list of encrypted environment variables that some versions of this tool uses.',
|
|
13839
13823
|
title='Secret Envvars',
|
|
13840
13824
|
)
|
|
13841
|
-
tags: list[
|
|
13825
|
+
tags: list[MongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
|
|
13842
13826
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
13843
13827
|
)
|
|
13844
13828
|
|
|
@@ -14133,7 +14117,7 @@ class DynamicBehaviorSetCreateDynamicBehaviorSetVersionRequestChangeToolCandidat
|
|
|
14133
14117
|
|
|
14134
14118
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
14135
14119
|
dynamic_behavior_sets: list[
|
|
14136
|
-
|
|
14120
|
+
DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14137
14121
|
] = Field(
|
|
14138
14122
|
...,
|
|
14139
14123
|
description='The retrieved dynamic behavior sets.',
|
|
@@ -14157,16 +14141,6 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
|
14157
14141
|
)
|
|
14158
14142
|
|
|
14159
14143
|
|
|
14160
|
-
class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
|
|
14161
|
-
dynamic_behavior_sets: list[
|
|
14162
|
-
DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14163
|
-
] = Field(
|
|
14164
|
-
...,
|
|
14165
|
-
description='The retrieved dynamic behavior sets.',
|
|
14166
|
-
title='Dynamic Behavior Sets',
|
|
14167
|
-
)
|
|
14168
|
-
|
|
14169
|
-
|
|
14170
14144
|
class MetricCreateMetricRequest(BaseModel):
|
|
14171
14145
|
name: str = Field(
|
|
14172
14146
|
...,
|
|
@@ -14223,7 +14197,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
|
|
|
14223
14197
|
description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
|
|
14224
14198
|
min_length=1,
|
|
14225
14199
|
)
|
|
14226
|
-
user_dimensions: list[
|
|
14200
|
+
user_dimensions: list[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14227
14201
|
...,
|
|
14228
14202
|
description='User dimensions for the organization.',
|
|
14229
14203
|
title='User Dimensions',
|
|
@@ -14393,6 +14367,17 @@ class OrganizationGetApiKeysResponse(BaseModel):
|
|
|
14393
14367
|
)
|
|
14394
14368
|
|
|
14395
14369
|
|
|
14370
|
+
class UserDimensions(
|
|
14371
|
+
RootModel[list[OrganizationModifyOrganizationRequestUserDimension]]
|
|
14372
|
+
):
|
|
14373
|
+
root: list[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14374
|
+
...,
|
|
14375
|
+
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
14376
|
+
min_length=1,
|
|
14377
|
+
title='User Dimensions',
|
|
14378
|
+
)
|
|
14379
|
+
|
|
14380
|
+
|
|
14396
14381
|
class OrganizationModifyOrganizationRequest(BaseModel):
|
|
14397
14382
|
title: PydanticBaseModelStrippedNonemptyString1 | None = Field(
|
|
14398
14383
|
None,
|
|
@@ -14604,7 +14589,7 @@ class SimulationGetSimulationPersonasResponse(BaseModel):
|
|
|
14604
14589
|
|
|
14605
14590
|
class SimulationGetSimulationScenariosResponse(BaseModel):
|
|
14606
14591
|
simulation_scenarios: list[
|
|
14607
|
-
|
|
14592
|
+
SimulationGetSimulationScenariosResponseSimulationScenarioInstance
|
|
14608
14593
|
] = Field(
|
|
14609
14594
|
...,
|
|
14610
14595
|
description='The list of simulation scenarios.',
|
|
@@ -14658,16 +14643,6 @@ class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
|
14658
14643
|
)
|
|
14659
14644
|
|
|
14660
14645
|
|
|
14661
|
-
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
14662
|
-
simulation_scenarios: list[
|
|
14663
|
-
SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
|
|
14664
|
-
] = Field(
|
|
14665
|
-
...,
|
|
14666
|
-
description='The list of simulation scenarios.',
|
|
14667
|
-
title='Simulation Scenarios',
|
|
14668
|
-
)
|
|
14669
|
-
|
|
14670
|
-
|
|
14671
14646
|
class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
|
|
14672
14647
|
simulation_unit_test_sets: list[SimulationUnitTestSet] = Field(
|
|
14673
14648
|
...,
|
|
@@ -14723,7 +14698,7 @@ class ToolGetToolsResponse(BaseModel):
|
|
|
14723
14698
|
|
|
14724
14699
|
|
|
14725
14700
|
class ToolInvokeToolVersionRequest(BaseModel):
|
|
14726
|
-
inputs: list[
|
|
14701
|
+
inputs: list[ToolTestToolRequestInput] = Field(
|
|
14727
14702
|
...,
|
|
14728
14703
|
description='The list of inputs for the tool invocation.',
|
|
14729
14704
|
max_length=10,
|
|
@@ -14747,6 +14722,37 @@ class ToolModifyToolEnvvarsRequest(BaseModel):
|
|
|
14747
14722
|
deletes: list[DeleteRequest] | None = Field(default_factory=list, title='Deletes')
|
|
14748
14723
|
|
|
14749
14724
|
|
|
14725
|
+
class ToolTestToolRequest(BaseModel):
|
|
14726
|
+
inputs: list[ToolTestToolRequestInput] = Field(
|
|
14727
|
+
...,
|
|
14728
|
+
description='The list of inputs for the tool invocation.',
|
|
14729
|
+
max_length=10,
|
|
14730
|
+
min_length=1,
|
|
14731
|
+
title='Inputs',
|
|
14732
|
+
)
|
|
14733
|
+
commit_branch: str = Field(
|
|
14734
|
+
...,
|
|
14735
|
+
description='The branch in the tools repo whose tip will be tested.',
|
|
14736
|
+
title='Commit Branch',
|
|
14737
|
+
)
|
|
14738
|
+
project_path: str = Field(
|
|
14739
|
+
...,
|
|
14740
|
+
description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
|
|
14741
|
+
pattern='^[-\\w\\d_/]+$',
|
|
14742
|
+
title='Project Path',
|
|
14743
|
+
)
|
|
14744
|
+
required_envvars: dict[str, str] = Field(
|
|
14745
|
+
...,
|
|
14746
|
+
description='The environment variables required for the tool to run.',
|
|
14747
|
+
title='Required Envvars',
|
|
14748
|
+
)
|
|
14749
|
+
required_secret_envvars: dict[str, str] = Field(
|
|
14750
|
+
...,
|
|
14751
|
+
description='The secret environment variables required for the tool to run.',
|
|
14752
|
+
title='Required Secret Envvars',
|
|
14753
|
+
)
|
|
14754
|
+
|
|
14755
|
+
|
|
14750
14756
|
class ToolTestToolResponse(ToolInvokeToolVersionResponse):
|
|
14751
14757
|
pass
|
|
14752
14758
|
|
|
@@ -14824,64 +14830,6 @@ class WebhookDestinationGetWebhookDeliveriesResponse(BaseModel):
|
|
|
14824
14830
|
)
|
|
14825
14831
|
|
|
14826
14832
|
|
|
14827
|
-
class CreateConversationParametersQuery(BaseModel):
|
|
14828
|
-
response_format: Format = Field(
|
|
14829
|
-
...,
|
|
14830
|
-
description='The format of the response that will be sent to the user.',
|
|
14831
|
-
title='Response Format',
|
|
14832
|
-
)
|
|
14833
|
-
current_agent_action_type: str | None = Field(
|
|
14834
|
-
'^.*$',
|
|
14835
|
-
description="A regex for filtering the type of the current agent action to return. By default, all are returned. If you don't want to receive any events, set this to a regex that matches nothing, for instance `^$`.",
|
|
14836
|
-
title='Current Agent Action Type',
|
|
14837
|
-
)
|
|
14838
|
-
audio_format: AudioFormat | None = Field(
|
|
14839
|
-
None, deprecated=True, title='Audio Format'
|
|
14840
|
-
)
|
|
14841
|
-
response_audio_format: (
|
|
14842
|
-
VoiceResponsePCMAudioFormat | VoiceResponseMP3AudioFormat | None
|
|
14843
|
-
) = Field(
|
|
14844
|
-
None,
|
|
14845
|
-
description='The format of the audio response, if `response_format` is set to `voice`.',
|
|
14846
|
-
title='Response Audio Format',
|
|
14847
|
-
)
|
|
14848
|
-
|
|
14849
|
-
|
|
14850
|
-
class InteractWithConversationParametersQuery(BaseModel):
|
|
14851
|
-
request_format: Format = Field(
|
|
14852
|
-
...,
|
|
14853
|
-
description='The format in which the user message is delivered to the server.',
|
|
14854
|
-
title='Request Format',
|
|
14855
|
-
)
|
|
14856
|
-
response_format: Format = Field(
|
|
14857
|
-
...,
|
|
14858
|
-
description='The format of the response that will be sent to the user.',
|
|
14859
|
-
title='Response Format',
|
|
14860
|
-
)
|
|
14861
|
-
current_agent_action_type: str | None = Field(
|
|
14862
|
-
'^.*$',
|
|
14863
|
-
description="A regex for filtering the type of the current agent action to return. By default, all are returned. If you don't want to receive any events, set this to a regex that matches nothing, for instance `^$`.",
|
|
14864
|
-
title='Current Agent Action Type',
|
|
14865
|
-
)
|
|
14866
|
-
request_audio_config: (
|
|
14867
|
-
MP3UserMessageAudioConfig | PCMUserMessageAudioConfig | None
|
|
14868
|
-
) = Field(
|
|
14869
|
-
None,
|
|
14870
|
-
description='Configuration for the user message audio. This is only required if `request_format` is set to `voice`.',
|
|
14871
|
-
title='Request Audio Config',
|
|
14872
|
-
)
|
|
14873
|
-
audio_format: AudioFormat | None = Field(
|
|
14874
|
-
None, deprecated=True, title='Audio Format'
|
|
14875
|
-
)
|
|
14876
|
-
response_audio_format: (
|
|
14877
|
-
VoiceResponsePCMAudioFormat | VoiceResponseMP3AudioFormat | None
|
|
14878
|
-
) = Field(
|
|
14879
|
-
None,
|
|
14880
|
-
description='The format of the audio response, if `response_format` is set to `voice`.',
|
|
14881
|
-
title='Response Audio Format',
|
|
14882
|
-
)
|
|
14883
|
-
|
|
14884
|
-
|
|
14885
14833
|
class ConversationInstance(BaseModel):
|
|
14886
14834
|
id: str = Field(..., description='The identifier of the conversation.', title='Id')
|
|
14887
14835
|
user_id: str = Field(
|
|
@@ -15001,7 +14949,7 @@ class Metric(BaseModel):
|
|
|
15001
14949
|
additional_notes: str | None = Field(
|
|
15002
14950
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15003
14951
|
)
|
|
15004
|
-
tags: list[
|
|
14952
|
+
tags: list[MongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
|
|
15005
14953
|
..., description='The tags of the metric.', title='Tags'
|
|
15006
14954
|
)
|
|
15007
14955
|
creator: MongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15074,7 +15022,7 @@ class MetricInstance(BaseModel):
|
|
|
15074
15022
|
additional_notes: str | None = Field(
|
|
15075
15023
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15076
15024
|
)
|
|
15077
|
-
tags: list[
|
|
15025
|
+
tags: list[MongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
|
|
15078
15026
|
..., description='The tags of the metric.', title='Tags'
|
|
15079
15027
|
)
|
|
15080
15028
|
creator: MongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15170,7 +15118,7 @@ class SimulationUnitTest(BaseModel):
|
|
|
15170
15118
|
is_deleted: bool = Field(
|
|
15171
15119
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15172
15120
|
)
|
|
15173
|
-
tags: list[
|
|
15121
|
+
tags: list[MongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
|
|
15174
15122
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15175
15123
|
)
|
|
15176
15124
|
creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
@@ -15215,7 +15163,7 @@ class SimulationUnitTestInstance(BaseModel):
|
|
|
15215
15163
|
is_deleted: bool = Field(
|
|
15216
15164
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15217
15165
|
)
|
|
15218
|
-
tags: list[
|
|
15166
|
+
tags: list[MongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
|
|
15219
15167
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15220
15168
|
)
|
|
15221
15169
|
creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
@@ -15647,7 +15595,7 @@ class SimulationUpdateSimulationUnitTestRequest(BaseModel):
|
|
|
15647
15595
|
)
|
|
15648
15596
|
|
|
15649
15597
|
|
|
15650
|
-
class
|
|
15598
|
+
class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
15651
15599
|
id: str = Field(..., description='The ID of the tool invocation.', title='Id')
|
|
15652
15600
|
org_id: str = Field(..., description='The ID of the organization.', title='Org Id')
|
|
15653
15601
|
created_at: AwareDatetime | None = Field(None, title='Created At')
|
|
@@ -15674,14 +15622,6 @@ class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
|
15674
15622
|
)
|
|
15675
15623
|
|
|
15676
15624
|
|
|
15677
|
-
class ToolSearchToolInvocationsResponse(BaseModel):
|
|
15678
|
-
tool_invocations: list[ToolGetToolInvocationsResponseToolInvocationInstance] = (
|
|
15679
|
-
Field(
|
|
15680
|
-
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
15681
|
-
)
|
|
15682
|
-
)
|
|
15683
|
-
|
|
15684
|
-
|
|
15685
15625
|
class ServiceHierarchicalStateMachineInstance(BaseModel):
|
|
15686
15626
|
id: str = Field(..., description='The ID of the state machine version.', title='Id')
|
|
15687
15627
|
org_id: str = Field(
|
|
@@ -15886,7 +15826,7 @@ class SimulationGetSimulationUnitTestSetRunsResponse(BaseModel):
|
|
|
15886
15826
|
|
|
15887
15827
|
|
|
15888
15828
|
class ToolGetToolInvocationsResponse(BaseModel):
|
|
15889
|
-
tool_invocations: list[
|
|
15829
|
+
tool_invocations: list[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
|
|
15890
15830
|
Field(
|
|
15891
15831
|
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
15892
15832
|
)
|
|
@@ -15901,3 +15841,11 @@ class ToolGetToolInvocationsResponse(BaseModel):
|
|
|
15901
15841
|
description='The continuation token to retrieve the next page of tool invocations, or null if there are no more tool invocations.',
|
|
15902
15842
|
title='Continuation Token',
|
|
15903
15843
|
)
|
|
15844
|
+
|
|
15845
|
+
|
|
15846
|
+
class ToolSearchToolInvocationsResponse(BaseModel):
|
|
15847
|
+
tool_invocations: list[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
|
|
15848
|
+
Field(
|
|
15849
|
+
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
15850
|
+
)
|
|
15851
|
+
)
|
|
@@ -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=
|
|
5
|
+
amigo_sdk/__init__.py,sha256=ixE1KvxMPLHcN32FvrfCrXNnwjLtlKINSUkicXOP6Sg,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=
|
|
13
|
+
amigo_sdk/generated/model.py,sha256=xJ2NaRKchd1YfaOpK1ZAfob9FEh069SJgFlU7Eoxefs,442821
|
|
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.
|
|
19
|
-
amigo_sdk-0.
|
|
20
|
-
amigo_sdk-0.
|
|
21
|
-
amigo_sdk-0.
|
|
22
|
-
amigo_sdk-0.
|
|
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,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|