amigo_sdk 0.103.0__py3-none-any.whl → 0.105.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 +196 -170
- {amigo_sdk-0.103.0.dist-info → amigo_sdk-0.105.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.103.0.dist-info → amigo_sdk-0.105.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.103.0.dist-info → amigo_sdk-0.105.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.103.0.dist-info → amigo_sdk-0.105.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.103.0.dist-info → amigo_sdk-0.105.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-13T00:32:47+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -1380,6 +1380,11 @@ class MongoCollectionsDynamicBehaviorSetVersionDynamicBehaviorSetVersionChangeTo
|
|
|
1380
1380
|
)
|
|
1381
1381
|
|
|
1382
1382
|
|
|
1383
|
+
class MongoCollectionsMetricMetricTag(BaseModel):
|
|
1384
|
+
key: str = Field(..., title='Key')
|
|
1385
|
+
value: str | None = Field(..., title='Value')
|
|
1386
|
+
|
|
1387
|
+
|
|
1383
1388
|
class MongoCollectionsMetricMetricUserInfo(
|
|
1384
1389
|
MongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1385
1390
|
):
|
|
@@ -1497,11 +1502,6 @@ class MongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUserInfo(
|
|
|
1497
1502
|
pass
|
|
1498
1503
|
|
|
1499
1504
|
|
|
1500
|
-
class MongoCollectionsToolToolTag(BaseModel):
|
|
1501
|
-
key: str = Field(..., title='Key')
|
|
1502
|
-
value: str | None = Field(..., title='Value')
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
1505
|
class MongoCollectionsToolInvocationToolInvocationVersion(BaseModel):
|
|
1506
1506
|
major: int = Field(..., title='Major')
|
|
1507
1507
|
minor: int = Field(..., title='Minor')
|
|
@@ -1624,6 +1624,11 @@ class ConversationCreateConversationRequest(BaseModel):
|
|
|
1624
1624
|
description='The type of the `initial_message`. Can only be specified if `initial_message` is provided.',
|
|
1625
1625
|
title='Initial Message Type',
|
|
1626
1626
|
)
|
|
1627
|
+
tags: dict[StrippedNonemptyStringWS, StrippedNonemptyStringWS | None] = Field(
|
|
1628
|
+
...,
|
|
1629
|
+
description='A list of tags for the conversation. Both the key and the value can only contain alphanumeric characters, underscores, or spaces.',
|
|
1630
|
+
title='Tags',
|
|
1631
|
+
)
|
|
1627
1632
|
|
|
1628
1633
|
|
|
1629
1634
|
class ConversationGenerateConversationStarterRequest(BaseModel):
|
|
@@ -1641,6 +1646,7 @@ class ConversationGenerateConversationStarterRequest(BaseModel):
|
|
|
1641
1646
|
facets: list[PydanticBaseModelStrippedNonemptyString1] = Field(
|
|
1642
1647
|
...,
|
|
1643
1648
|
description='The facets that the generated conversation starter should be about. Each generated starter is related to some of these facets.',
|
|
1649
|
+
min_length=1,
|
|
1644
1650
|
title='Facets',
|
|
1645
1651
|
)
|
|
1646
1652
|
min_count: int = Field(
|
|
@@ -1680,6 +1686,21 @@ class TriggeredDynamicBehaviorSetVersionInfo(RootModel[tuple[str, int]]):
|
|
|
1680
1686
|
)
|
|
1681
1687
|
|
|
1682
1688
|
|
|
1689
|
+
class ConversationModifyTagsOfConversationRequest(BaseModel):
|
|
1690
|
+
updates: dict[StrippedNonemptyStringWS, StrippedNonemptyStringWS | None] | None = (
|
|
1691
|
+
Field(
|
|
1692
|
+
{},
|
|
1693
|
+
description='A mapping of tags to add or update on the conversation. Existing tags not included here remain unchanged.',
|
|
1694
|
+
title='Updates',
|
|
1695
|
+
)
|
|
1696
|
+
)
|
|
1697
|
+
deletes: list[PydanticBaseModelStrippedNonemptyString1] | None = Field(
|
|
1698
|
+
default_factory=list,
|
|
1699
|
+
description='A list of tags to remove from the conversation.',
|
|
1700
|
+
title='Deletes',
|
|
1701
|
+
)
|
|
1702
|
+
|
|
1703
|
+
|
|
1683
1704
|
class ConversationRecommendResponsesForInteractionRequest(BaseModel):
|
|
1684
1705
|
context: str | None = Field(
|
|
1685
1706
|
'\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',
|
|
@@ -10565,6 +10586,11 @@ class OrganizationCreateOrganizationRequestPreferences(BaseModel):
|
|
|
10565
10586
|
)
|
|
10566
10587
|
|
|
10567
10588
|
|
|
10589
|
+
class OrganizationCreateOrganizationRequestUserDimension(BaseModel):
|
|
10590
|
+
description: str = Field(..., min_length=1)
|
|
10591
|
+
tags: list[PydanticBaseModelStrippedNonemptyString1] = Field(..., title='Tags')
|
|
10592
|
+
|
|
10593
|
+
|
|
10568
10594
|
class OrganizationCreateOrganizationResponse(BaseModel):
|
|
10569
10595
|
org_id: str = Field(
|
|
10570
10596
|
...,
|
|
@@ -10596,7 +10622,7 @@ class NextState9(NextState7):
|
|
|
10596
10622
|
pass
|
|
10597
10623
|
|
|
10598
10624
|
|
|
10599
|
-
class
|
|
10625
|
+
class OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition(
|
|
10600
10626
|
BaseModel
|
|
10601
10627
|
):
|
|
10602
10628
|
description: str = Field(..., min_length=1)
|
|
@@ -10739,17 +10765,23 @@ class OrganizationGetUserDimensionsResponse(BaseModel):
|
|
|
10739
10765
|
)
|
|
10740
10766
|
|
|
10741
10767
|
|
|
10768
|
+
class UserDimensions(
|
|
10769
|
+
RootModel[list[OrganizationCreateOrganizationRequestUserDimension]]
|
|
10770
|
+
):
|
|
10771
|
+
root: list[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
10772
|
+
...,
|
|
10773
|
+
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
10774
|
+
min_length=1,
|
|
10775
|
+
title='User Dimensions',
|
|
10776
|
+
)
|
|
10777
|
+
|
|
10778
|
+
|
|
10742
10779
|
class OrganizationModifyOrganizationRequestPreferences(
|
|
10743
10780
|
OrganizationCreateOrganizationRequestPreferences
|
|
10744
10781
|
):
|
|
10745
10782
|
pass
|
|
10746
10783
|
|
|
10747
10784
|
|
|
10748
|
-
class OrganizationModifyOrganizationRequestUserDimension(BaseModel):
|
|
10749
|
-
description: str = Field(..., min_length=1)
|
|
10750
|
-
tags: list[PydanticBaseModelStrippedNonemptyString1] = Field(..., title='Tags')
|
|
10751
|
-
|
|
10752
|
-
|
|
10753
10785
|
class RoleAssignRoleRequest(BaseModel):
|
|
10754
10786
|
user_id: str = Field(
|
|
10755
10787
|
...,
|
|
@@ -10860,22 +10892,6 @@ class ServiceUpdateServiceRequest(BaseModel):
|
|
|
10860
10892
|
)
|
|
10861
10893
|
|
|
10862
10894
|
|
|
10863
|
-
class ServiceUpsertServiceVersionSetRequestVersionSet(BaseModel):
|
|
10864
|
-
agent_version_number: int | None = Field(
|
|
10865
|
-
...,
|
|
10866
|
-
description='The version number of the agent to be used. If None, the latest agent version will be used.',
|
|
10867
|
-
title='Agent Version Number',
|
|
10868
|
-
)
|
|
10869
|
-
service_hierarchical_state_machine_version_number: int | None = Field(
|
|
10870
|
-
...,
|
|
10871
|
-
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
10872
|
-
title='Service Hierarchical State Machine Version Number',
|
|
10873
|
-
)
|
|
10874
|
-
llm_model_preferences: dict[str, ServiceCreateServiceRequestVersionSetLLMConfig] = (
|
|
10875
|
-
Field(..., title='Llm Model Preferences')
|
|
10876
|
-
)
|
|
10877
|
-
|
|
10878
|
-
|
|
10879
10895
|
class SimulationCreateSimulationPersonaRequestInitialVersion(BaseModel):
|
|
10880
10896
|
background: str = Field(
|
|
10881
10897
|
..., description='The background of the simulation persona.', min_length=1
|
|
@@ -10981,6 +10997,16 @@ class SimulationCreateSimulationUnitTestResponse(BaseModel):
|
|
|
10981
10997
|
)
|
|
10982
10998
|
|
|
10983
10999
|
|
|
11000
|
+
class SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
|
|
11001
|
+
unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
|
|
11002
|
+
run_count: int = Field(
|
|
11003
|
+
...,
|
|
11004
|
+
description='The number of times to run the unit test.',
|
|
11005
|
+
gt=0,
|
|
11006
|
+
title='Run Count',
|
|
11007
|
+
)
|
|
11008
|
+
|
|
11009
|
+
|
|
10984
11010
|
class SimulationCreateSimulationUnitTestSetResponse(BaseModel):
|
|
10985
11011
|
simulation_unit_test_set_id: str = Field(
|
|
10986
11012
|
...,
|
|
@@ -11069,6 +11095,37 @@ class SimulationGetSimulationScenariosResponseFilterValues(BaseModel):
|
|
|
11069
11095
|
)
|
|
11070
11096
|
|
|
11071
11097
|
|
|
11098
|
+
class SimulationGetSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
|
|
11099
|
+
id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
|
|
11100
|
+
name: str = Field(
|
|
11101
|
+
..., description='The name of the simulation scenario.', title='Name'
|
|
11102
|
+
)
|
|
11103
|
+
tags: dict[str, str | None] = Field(
|
|
11104
|
+
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11105
|
+
)
|
|
11106
|
+
is_deleted: bool = Field(
|
|
11107
|
+
...,
|
|
11108
|
+
description='Whether the simulation scenario is deleted.',
|
|
11109
|
+
title='Is Deleted',
|
|
11110
|
+
)
|
|
11111
|
+
created_at: AwareDatetime = Field(
|
|
11112
|
+
...,
|
|
11113
|
+
description='The timestamp when the simulation scenario was created.',
|
|
11114
|
+
title='Created At',
|
|
11115
|
+
)
|
|
11116
|
+
creator: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
|
|
11117
|
+
..., description='The user who created the simulation scenario.'
|
|
11118
|
+
)
|
|
11119
|
+
updated_at: AwareDatetime = Field(
|
|
11120
|
+
...,
|
|
11121
|
+
description='The timestamp when the simulation scenario was last updated.',
|
|
11122
|
+
title='Updated At',
|
|
11123
|
+
)
|
|
11124
|
+
updated_by: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
|
|
11125
|
+
..., description='The user who last updated the simulation scenario.'
|
|
11126
|
+
)
|
|
11127
|
+
|
|
11128
|
+
|
|
11072
11129
|
class SimulationGetSimulationUnitTestSetRunArtifactsResponse(BaseModel):
|
|
11073
11130
|
presigned_url: str = Field(
|
|
11074
11131
|
...,
|
|
@@ -11191,34 +11248,13 @@ class SimulationSearchSimulationPersonasResponseSimulationPersonaInstance(BaseMo
|
|
|
11191
11248
|
)
|
|
11192
11249
|
|
|
11193
11250
|
|
|
11194
|
-
class
|
|
11195
|
-
|
|
11196
|
-
|
|
11197
|
-
|
|
11198
|
-
)
|
|
11199
|
-
tags: dict[str, str | None] = Field(
|
|
11200
|
-
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11201
|
-
)
|
|
11202
|
-
is_deleted: bool = Field(
|
|
11203
|
-
...,
|
|
11204
|
-
description='Whether the simulation scenario is deleted.',
|
|
11205
|
-
title='Is Deleted',
|
|
11206
|
-
)
|
|
11207
|
-
created_at: AwareDatetime = Field(
|
|
11208
|
-
...,
|
|
11209
|
-
description='The timestamp when the simulation scenario was created.',
|
|
11210
|
-
title='Created At',
|
|
11211
|
-
)
|
|
11212
|
-
creator: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
|
|
11213
|
-
..., description='The user who created the simulation scenario.'
|
|
11214
|
-
)
|
|
11215
|
-
updated_at: AwareDatetime = Field(
|
|
11251
|
+
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
11252
|
+
simulation_scenarios: list[
|
|
11253
|
+
SimulationGetSimulationScenariosResponseSimulationScenarioInstance
|
|
11254
|
+
] = Field(
|
|
11216
11255
|
...,
|
|
11217
|
-
description='The
|
|
11218
|
-
title='
|
|
11219
|
-
)
|
|
11220
|
-
updated_by: MongoCollectionsSimulationScenarioSimulationScenarioUserInfo = Field(
|
|
11221
|
-
..., description='The user who last updated the simulation scenario.'
|
|
11256
|
+
description='The list of simulation scenarios.',
|
|
11257
|
+
title='Simulation Scenarios',
|
|
11222
11258
|
)
|
|
11223
11259
|
|
|
11224
11260
|
|
|
@@ -11284,13 +11320,35 @@ class RunCount(RootModel[int]):
|
|
|
11284
11320
|
)
|
|
11285
11321
|
|
|
11286
11322
|
|
|
11287
|
-
class
|
|
11288
|
-
|
|
11289
|
-
|
|
11290
|
-
|
|
11291
|
-
|
|
11292
|
-
|
|
11293
|
-
|
|
11323
|
+
class UnitTestRuns(
|
|
11324
|
+
RootModel[list[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
|
|
11325
|
+
):
|
|
11326
|
+
root: list[SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
|
|
11327
|
+
Field(
|
|
11328
|
+
...,
|
|
11329
|
+
description='The unit test runs that are part of this set.',
|
|
11330
|
+
min_length=1,
|
|
11331
|
+
title='Unit Test Runs',
|
|
11332
|
+
)
|
|
11333
|
+
)
|
|
11334
|
+
|
|
11335
|
+
|
|
11336
|
+
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
11337
|
+
name: PydanticBaseModelStrippedNonemptyString1 | None = Field(
|
|
11338
|
+
None, description='The name of the simulation unit test set.'
|
|
11339
|
+
)
|
|
11340
|
+
description: PydanticBaseModelStrippedNonemptyString1 | FieldNotSet | None = Field(
|
|
11341
|
+
default_factory=lambda: PydanticBaseModelStrippedNonemptyString1({}),
|
|
11342
|
+
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
11343
|
+
title='Description',
|
|
11344
|
+
)
|
|
11345
|
+
unit_test_runs: UnitTestRuns | None = Field(
|
|
11346
|
+
None,
|
|
11347
|
+
description='The unit test runs that are part of this set.',
|
|
11348
|
+
title='Unit Test Runs',
|
|
11349
|
+
)
|
|
11350
|
+
tags: dict[str, str | None] | None = Field(
|
|
11351
|
+
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
11294
11352
|
)
|
|
11295
11353
|
|
|
11296
11354
|
|
|
@@ -11892,6 +11950,11 @@ class GetConversationsParametersQuery(BaseModel):
|
|
|
11892
11950
|
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.',
|
|
11893
11951
|
title='Sort By',
|
|
11894
11952
|
)
|
|
11953
|
+
tag: list[str] | None = Field(
|
|
11954
|
+
[],
|
|
11955
|
+
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`.',
|
|
11956
|
+
title='Tag',
|
|
11957
|
+
)
|
|
11895
11958
|
|
|
11896
11959
|
|
|
11897
11960
|
class InteractionIdItem(AppliedToService):
|
|
@@ -11905,7 +11968,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
|
|
|
11905
11968
|
title='Id',
|
|
11906
11969
|
)
|
|
11907
11970
|
message_type: list[MessageType] | None = Field(
|
|
11908
|
-
['
|
|
11971
|
+
['external-event', 'agent-message', 'user-message'],
|
|
11909
11972
|
description='The type of messages to retrieve.',
|
|
11910
11973
|
title='Message Type',
|
|
11911
11974
|
)
|
|
@@ -13090,7 +13153,7 @@ class ActionStateInput(BaseModel):
|
|
|
13090
13153
|
..., title='Boundary Constraints'
|
|
13091
13154
|
)
|
|
13092
13155
|
exit_conditions: list[
|
|
13093
|
-
|
|
13156
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition
|
|
13094
13157
|
] = Field(..., title='Exit Conditions')
|
|
13095
13158
|
action_tool_call_specs: list[
|
|
13096
13159
|
OrganizationCreateServiceHierarchicalStateMachineVersionRequestToolCallSpec
|
|
@@ -13236,7 +13299,7 @@ class DecisionStateInput(BaseModel):
|
|
|
13236
13299
|
type: Literal['decision'] = Field(..., title='Type')
|
|
13237
13300
|
name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
|
|
13238
13301
|
exit_conditions: list[
|
|
13239
|
-
|
|
13302
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition
|
|
13240
13303
|
] = Field(..., title='Exit Conditions')
|
|
13241
13304
|
decision_guidelines: list[PydanticBaseModelStrippedNonemptyString1] = Field(
|
|
13242
13305
|
..., title='Decision Guidelines'
|
|
@@ -13568,7 +13631,7 @@ class ServiceInstance(BaseModel):
|
|
|
13568
13631
|
agent_id: str = Field(
|
|
13569
13632
|
..., description='The ID of the agent that this service uses.', title='Agent Id'
|
|
13570
13633
|
)
|
|
13571
|
-
tags: list[
|
|
13634
|
+
tags: list[MongoCollectionsMetricMetricTag] = Field(
|
|
13572
13635
|
..., description='The tags of the service.', title='Tags'
|
|
13573
13636
|
)
|
|
13574
13637
|
|
|
@@ -13621,7 +13684,7 @@ class SimulationUnitTestSet(BaseModel):
|
|
|
13621
13684
|
description='Whether the unit test set has been deleted.',
|
|
13622
13685
|
title='Is Deleted',
|
|
13623
13686
|
)
|
|
13624
|
-
tags: list[
|
|
13687
|
+
tags: list[MongoCollectionsMetricMetricTag] = Field(
|
|
13625
13688
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13626
13689
|
)
|
|
13627
13690
|
creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -13658,7 +13721,7 @@ class SimulationUnitTestSetInstance(BaseModel):
|
|
|
13658
13721
|
description='Whether the unit test set has been deleted.',
|
|
13659
13722
|
title='Is Deleted',
|
|
13660
13723
|
)
|
|
13661
|
-
tags: list[
|
|
13724
|
+
tags: list[MongoCollectionsMetricMetricTag] = Field(
|
|
13662
13725
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13663
13726
|
)
|
|
13664
13727
|
creator: MongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -13786,7 +13849,7 @@ class ToolInstance(BaseModel):
|
|
|
13786
13849
|
description='A list of encrypted environment variables that some versions of this tool uses.',
|
|
13787
13850
|
title='Secret Envvars',
|
|
13788
13851
|
)
|
|
13789
|
-
tags: list[
|
|
13852
|
+
tags: list[MongoCollectionsMetricMetricTag] = Field(
|
|
13790
13853
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
13791
13854
|
)
|
|
13792
13855
|
|
|
@@ -14171,7 +14234,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
|
|
|
14171
14234
|
description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
|
|
14172
14235
|
min_length=1,
|
|
14173
14236
|
)
|
|
14174
|
-
user_dimensions: list[
|
|
14237
|
+
user_dimensions: list[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
14175
14238
|
...,
|
|
14176
14239
|
description='User dimensions for the organization.',
|
|
14177
14240
|
title='User Dimensions',
|
|
@@ -14341,17 +14404,6 @@ class OrganizationGetApiKeysResponse(BaseModel):
|
|
|
14341
14404
|
)
|
|
14342
14405
|
|
|
14343
14406
|
|
|
14344
|
-
class UserDimensions(
|
|
14345
|
-
RootModel[list[OrganizationModifyOrganizationRequestUserDimension]]
|
|
14346
|
-
):
|
|
14347
|
-
root: list[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14348
|
-
...,
|
|
14349
|
-
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
14350
|
-
min_length=1,
|
|
14351
|
-
title='User Dimensions',
|
|
14352
|
-
)
|
|
14353
|
-
|
|
14354
|
-
|
|
14355
14407
|
class OrganizationModifyOrganizationRequest(BaseModel):
|
|
14356
14408
|
title: PydanticBaseModelStrippedNonemptyString1 | None = Field(
|
|
14357
14409
|
None,
|
|
@@ -14436,40 +14488,19 @@ class RoleModifyRoleRequest(BaseModel):
|
|
|
14436
14488
|
)
|
|
14437
14489
|
|
|
14438
14490
|
|
|
14439
|
-
class
|
|
14440
|
-
|
|
14441
|
-
...,
|
|
14442
|
-
description='The ID of the state machine that this service uses.',
|
|
14443
|
-
pattern='^[a-f0-9]{24}$',
|
|
14444
|
-
title='Service Hierarchical State Machine Id',
|
|
14445
|
-
)
|
|
14446
|
-
agent_id: str = Field(
|
|
14491
|
+
class ServiceCreateServiceRequestVersionSet(BaseModel):
|
|
14492
|
+
agent_version_number: int | None = Field(
|
|
14447
14493
|
...,
|
|
14448
|
-
description='The
|
|
14449
|
-
|
|
14450
|
-
title='Agent Id',
|
|
14451
|
-
)
|
|
14452
|
-
name: str = Field(..., description='The name of this service.', min_length=1)
|
|
14453
|
-
description: str = Field(
|
|
14454
|
-
..., description='A description of this service.', min_length=1
|
|
14494
|
+
description='The version number of the agent to be used. If None, the latest agent version will be used.',
|
|
14495
|
+
title='Agent Version Number',
|
|
14455
14496
|
)
|
|
14456
|
-
|
|
14497
|
+
service_hierarchical_state_machine_version_number: int | None = Field(
|
|
14457
14498
|
...,
|
|
14458
|
-
description='
|
|
14459
|
-
title='
|
|
14460
|
-
)
|
|
14461
|
-
release_version_set: ServiceUpsertServiceVersionSetRequestVersionSet | None = Field(
|
|
14462
|
-
None,
|
|
14463
|
-
description='The `release` version set to use for this service. If not specified, the `release` version set will be the same as the `edge` version set, which uses the\nlatest agent and state machine versions with no model preference.',
|
|
14464
|
-
)
|
|
14465
|
-
keyterms: list[StrippedNonemptyStringAZAZ02] | None = Field(
|
|
14466
|
-
default_factory=list,
|
|
14467
|
-
description='A list of keyterms that are easy to get wrong during audio transcriptions that tend to occur commonly in audio sessions using this service.',
|
|
14468
|
-
max_length=20,
|
|
14469
|
-
title='Keyterms',
|
|
14499
|
+
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
14500
|
+
title='Service Hierarchical State Machine Version Number',
|
|
14470
14501
|
)
|
|
14471
|
-
|
|
14472
|
-
...,
|
|
14502
|
+
llm_model_preferences: dict[str, ServiceCreateServiceRequestVersionSetLLMConfig] = (
|
|
14503
|
+
Field(..., title='Llm Model Preferences')
|
|
14473
14504
|
)
|
|
14474
14505
|
|
|
14475
14506
|
|
|
@@ -14494,7 +14525,7 @@ class ServiceGetServicesResponse(BaseModel):
|
|
|
14494
14525
|
|
|
14495
14526
|
|
|
14496
14527
|
class ServiceUpsertServiceVersionSetRequest(BaseModel):
|
|
14497
|
-
version_set:
|
|
14528
|
+
version_set: ServiceCreateServiceRequestVersionSet = Field(
|
|
14498
14529
|
..., description='The version set to upsert.'
|
|
14499
14530
|
)
|
|
14500
14531
|
|
|
@@ -14548,7 +14579,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14548
14579
|
..., description='The description of the simulation unit test set.'
|
|
14549
14580
|
)
|
|
14550
14581
|
unit_test_runs: list[
|
|
14551
|
-
|
|
14582
|
+
SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor
|
|
14552
14583
|
] = Field(
|
|
14553
14584
|
...,
|
|
14554
14585
|
description='The unit test runs that are part of this set.',
|
|
@@ -14584,7 +14615,7 @@ class SimulationGetSimulationPersonasResponse(BaseModel):
|
|
|
14584
14615
|
|
|
14585
14616
|
class SimulationGetSimulationScenariosResponse(BaseModel):
|
|
14586
14617
|
simulation_scenarios: list[
|
|
14587
|
-
|
|
14618
|
+
SimulationGetSimulationScenariosResponseSimulationScenarioInstance
|
|
14588
14619
|
] = Field(
|
|
14589
14620
|
...,
|
|
14590
14621
|
description='The list of simulation scenarios.',
|
|
@@ -14638,16 +14669,6 @@ class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
|
14638
14669
|
)
|
|
14639
14670
|
|
|
14640
14671
|
|
|
14641
|
-
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
14642
|
-
simulation_scenarios: list[
|
|
14643
|
-
SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
|
|
14644
|
-
] = Field(
|
|
14645
|
-
...,
|
|
14646
|
-
description='The list of simulation scenarios.',
|
|
14647
|
-
title='Simulation Scenarios',
|
|
14648
|
-
)
|
|
14649
|
-
|
|
14650
|
-
|
|
14651
14672
|
class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
|
|
14652
14673
|
simulation_unit_test_sets: list[SimulationUnitTestSet] = Field(
|
|
14653
14674
|
...,
|
|
@@ -14662,38 +14683,6 @@ class SimulationUpdateSimulationUnitTestRequestSuccessCriterion(
|
|
|
14662
14683
|
pass
|
|
14663
14684
|
|
|
14664
14685
|
|
|
14665
|
-
class UnitTestRuns(
|
|
14666
|
-
RootModel[list[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
|
|
14667
|
-
):
|
|
14668
|
-
root: list[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
|
|
14669
|
-
Field(
|
|
14670
|
-
...,
|
|
14671
|
-
description='The unit test runs that are part of this set.',
|
|
14672
|
-
min_length=1,
|
|
14673
|
-
title='Unit Test Runs',
|
|
14674
|
-
)
|
|
14675
|
-
)
|
|
14676
|
-
|
|
14677
|
-
|
|
14678
|
-
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
14679
|
-
name: PydanticBaseModelStrippedNonemptyString1 | None = Field(
|
|
14680
|
-
None, description='The name of the simulation unit test set.'
|
|
14681
|
-
)
|
|
14682
|
-
description: PydanticBaseModelStrippedNonemptyString1 | FieldNotSet | None = Field(
|
|
14683
|
-
default_factory=lambda: PydanticBaseModelStrippedNonemptyString1({}),
|
|
14684
|
-
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
14685
|
-
title='Description',
|
|
14686
|
-
)
|
|
14687
|
-
unit_test_runs: UnitTestRuns | None = Field(
|
|
14688
|
-
None,
|
|
14689
|
-
description='The unit test runs that are part of this set.',
|
|
14690
|
-
title='Unit Test Runs',
|
|
14691
|
-
)
|
|
14692
|
-
tags: dict[str, str | None] | None = Field(
|
|
14693
|
-
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
14694
|
-
)
|
|
14695
|
-
|
|
14696
|
-
|
|
14697
14686
|
class ToolGetToolVersionsResponse(BaseModel):
|
|
14698
14687
|
tool_versions: list[ToolVersionInstance] = Field(
|
|
14699
14688
|
...,
|
|
@@ -14986,7 +14975,7 @@ class Metric(BaseModel):
|
|
|
14986
14975
|
additional_notes: str | None = Field(
|
|
14987
14976
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
14988
14977
|
)
|
|
14989
|
-
tags: list[
|
|
14978
|
+
tags: list[MongoCollectionsMetricMetricTag] = Field(
|
|
14990
14979
|
..., description='The tags of the metric.', title='Tags'
|
|
14991
14980
|
)
|
|
14992
14981
|
creator: MongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15059,7 +15048,7 @@ class MetricInstance(BaseModel):
|
|
|
15059
15048
|
additional_notes: str | None = Field(
|
|
15060
15049
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15061
15050
|
)
|
|
15062
|
-
tags: list[
|
|
15051
|
+
tags: list[MongoCollectionsMetricMetricTag] = Field(
|
|
15063
15052
|
..., description='The tags of the metric.', title='Tags'
|
|
15064
15053
|
)
|
|
15065
15054
|
creator: MongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15155,7 +15144,7 @@ class SimulationUnitTest(BaseModel):
|
|
|
15155
15144
|
is_deleted: bool = Field(
|
|
15156
15145
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15157
15146
|
)
|
|
15158
|
-
tags: list[
|
|
15147
|
+
tags: list[MongoCollectionsMetricMetricTag] = Field(
|
|
15159
15148
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15160
15149
|
)
|
|
15161
15150
|
creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
@@ -15200,7 +15189,7 @@ class SimulationUnitTestInstance(BaseModel):
|
|
|
15200
15189
|
is_deleted: bool = Field(
|
|
15201
15190
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15202
15191
|
)
|
|
15203
|
-
tags: list[
|
|
15192
|
+
tags: list[MongoCollectionsMetricMetricTag] = Field(
|
|
15204
15193
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15205
15194
|
)
|
|
15206
15195
|
creator: MongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
@@ -15468,6 +15457,43 @@ class RoleGetRolesResponse(BaseModel):
|
|
|
15468
15457
|
)
|
|
15469
15458
|
|
|
15470
15459
|
|
|
15460
|
+
class ServiceCreateServiceRequest(BaseModel):
|
|
15461
|
+
service_hierarchical_state_machine_id: str = Field(
|
|
15462
|
+
...,
|
|
15463
|
+
description='The ID of the state machine that this service uses.',
|
|
15464
|
+
pattern='^[a-f0-9]{24}$',
|
|
15465
|
+
title='Service Hierarchical State Machine Id',
|
|
15466
|
+
)
|
|
15467
|
+
agent_id: str = Field(
|
|
15468
|
+
...,
|
|
15469
|
+
description='The ID of the agent that this service uses.',
|
|
15470
|
+
pattern='^[a-f0-9]{24}$',
|
|
15471
|
+
title='Agent Id',
|
|
15472
|
+
)
|
|
15473
|
+
name: str = Field(..., description='The name of this service.', min_length=1)
|
|
15474
|
+
description: str = Field(
|
|
15475
|
+
..., description='A description of this service.', min_length=1
|
|
15476
|
+
)
|
|
15477
|
+
is_active: bool = Field(
|
|
15478
|
+
...,
|
|
15479
|
+
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.',
|
|
15480
|
+
title='Is Active',
|
|
15481
|
+
)
|
|
15482
|
+
release_version_set: ServiceCreateServiceRequestVersionSet | None = Field(
|
|
15483
|
+
None,
|
|
15484
|
+
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.',
|
|
15485
|
+
)
|
|
15486
|
+
keyterms: list[StrippedNonemptyStringAZAZ02] | None = Field(
|
|
15487
|
+
default_factory=list,
|
|
15488
|
+
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.',
|
|
15489
|
+
max_length=20,
|
|
15490
|
+
title='Keyterms',
|
|
15491
|
+
)
|
|
15492
|
+
tags: dict[StrippedNonemptyStringWS, StrippedNonemptyStringWS | None] = Field(
|
|
15493
|
+
..., description='The tags of this service.', title='Tags'
|
|
15494
|
+
)
|
|
15495
|
+
|
|
15496
|
+
|
|
15471
15497
|
class SimulationCreateSimulationUnitTestRequest(BaseModel):
|
|
15472
15498
|
name: str = Field(..., description='The name of the unit test.', min_length=1)
|
|
15473
15499
|
description: str = Field(
|
|
@@ -15595,7 +15621,7 @@ class SimulationUpdateSimulationUnitTestRequest(BaseModel):
|
|
|
15595
15621
|
)
|
|
15596
15622
|
|
|
15597
15623
|
|
|
15598
|
-
class
|
|
15624
|
+
class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
15599
15625
|
id: str = Field(..., description='The ID of the tool invocation.', title='Id')
|
|
15600
15626
|
org_id: str = Field(..., description='The ID of the organization.', title='Org Id')
|
|
15601
15627
|
created_at: AwareDatetime | None = Field(None, title='Created At')
|
|
@@ -15622,6 +15648,14 @@ class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
|
15622
15648
|
)
|
|
15623
15649
|
|
|
15624
15650
|
|
|
15651
|
+
class ToolSearchToolInvocationsResponse(BaseModel):
|
|
15652
|
+
tool_invocations: list[ToolGetToolInvocationsResponseToolInvocationInstance] = (
|
|
15653
|
+
Field(
|
|
15654
|
+
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
15655
|
+
)
|
|
15656
|
+
)
|
|
15657
|
+
|
|
15658
|
+
|
|
15625
15659
|
class ServiceHierarchicalStateMachineInstance(BaseModel):
|
|
15626
15660
|
id: str = Field(..., description='The ID of the state machine version.', title='Id')
|
|
15627
15661
|
org_id: str = Field(
|
|
@@ -15826,7 +15860,7 @@ class SimulationGetSimulationUnitTestSetRunsResponse(BaseModel):
|
|
|
15826
15860
|
|
|
15827
15861
|
|
|
15828
15862
|
class ToolGetToolInvocationsResponse(BaseModel):
|
|
15829
|
-
tool_invocations: list[
|
|
15863
|
+
tool_invocations: list[ToolGetToolInvocationsResponseToolInvocationInstance] = (
|
|
15830
15864
|
Field(
|
|
15831
15865
|
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
15832
15866
|
)
|
|
@@ -15841,11 +15875,3 @@ class ToolGetToolInvocationsResponse(BaseModel):
|
|
|
15841
15875
|
description='The continuation token to retrieve the next page of tool invocations, or null if there are no more tool invocations.',
|
|
15842
15876
|
title='Continuation Token',
|
|
15843
15877
|
)
|
|
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=onI2IGFvocw3pliJoMJt5iaZsaArF_6ZmKuN3lgcsBg,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=29a4CeT00NctL2CSmRrGNhYqVV4tei4qWhNf07ceo1w,443870
|
|
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.105.0.dist-info/METADATA,sha256=ld-n5WZr259G9EL0TVlQdxHa2hPKvf06kszxauLtnHI,8500
|
|
19
|
+
amigo_sdk-0.105.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
20
|
+
amigo_sdk-0.105.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
|
|
21
|
+
amigo_sdk-0.105.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
|
|
22
|
+
amigo_sdk-0.105.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|