amigo_sdk 0.91.0__py3-none-any.whl → 0.93.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 +248 -387
- {amigo_sdk-0.91.0.dist-info → amigo_sdk-0.93.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.91.0.dist-info → amigo_sdk-0.93.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.91.0.dist-info → amigo_sdk-0.93.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.91.0.dist-info → amigo_sdk-0.93.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.91.0.dist-info → amigo_sdk-0.93.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: 2025-12-
|
|
3
|
+
# timestamp: 2025-12-16T21:54:39+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -128,45 +128,6 @@ class Column(BaseModel):
|
|
|
128
128
|
type: str = Field(..., description='The data type of the column.', title='Type')
|
|
129
129
|
|
|
130
130
|
|
|
131
|
-
class ConversationByTimeMetricInputGranularity(Enum):
|
|
132
|
-
hour = 'hour'
|
|
133
|
-
day = 'day'
|
|
134
|
-
week = 'week'
|
|
135
|
-
month = 'month'
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
class ConversationByTimeMetricInput(BaseModel):
|
|
139
|
-
type: Literal['conversation-by-time'] = Field(..., title='Type')
|
|
140
|
-
starts: AwareDatetime = Field(
|
|
141
|
-
...,
|
|
142
|
-
description='The start of the interval to compute the count of conversations in.',
|
|
143
|
-
title='Starts',
|
|
144
|
-
)
|
|
145
|
-
ends: AwareDatetime = Field(
|
|
146
|
-
...,
|
|
147
|
-
description='The end of the interval to compute the count of conversations in.',
|
|
148
|
-
title='Ends',
|
|
149
|
-
)
|
|
150
|
-
granularity: ConversationByTimeMetricInputGranularity = Field(
|
|
151
|
-
...,
|
|
152
|
-
description='The granularity of time to bucket the conversations in. For instance, if set to `hour`, the count of conversations for each hour will be computed.',
|
|
153
|
-
title='Granularity',
|
|
154
|
-
)
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
class ConversationByTimeMetricOutputConversationCount(RootModel[List[Any]]):
|
|
158
|
-
root: List[Any] = Field(..., max_length=2, min_length=2)
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
class ConversationByTimeMetricOutput(BaseModel):
|
|
162
|
-
type: Literal['conversation-by-time'] = Field('conversation-by-time', title='Type')
|
|
163
|
-
conversation_counts: List[ConversationByTimeMetricOutputConversationCount] = Field(
|
|
164
|
-
...,
|
|
165
|
-
description='An array of 2-tuples, where the first element is the start of the time range represented by this tuple, and the second element is the number of conversations in the range `[start, start + granularity)`.',
|
|
166
|
-
title='Conversation Counts',
|
|
167
|
-
)
|
|
168
|
-
|
|
169
|
-
|
|
170
131
|
class ConversationCreatedEvent(BaseModel):
|
|
171
132
|
type: Literal['conversation-created'] = Field('conversation-created', title='Type')
|
|
172
133
|
conversation_id: str = Field(
|
|
@@ -345,10 +306,8 @@ class ExternalStateName(RootModel[str]):
|
|
|
345
306
|
root: str = Field(..., pattern='^[A-Za-z0-9_]+\\.[A-Za-z0-9_]+$')
|
|
346
307
|
|
|
347
308
|
|
|
348
|
-
class ExtractActiveMemoriesAgentActionEventQueriesAndResponse(
|
|
349
|
-
|
|
350
|
-
):
|
|
351
|
-
pass
|
|
309
|
+
class ExtractActiveMemoriesAgentActionEventQueriesAndResponse(RootModel[List[Any]]):
|
|
310
|
+
root: List[Any] = Field(..., max_length=2, min_length=2)
|
|
352
311
|
|
|
353
312
|
|
|
354
313
|
class ExtractActiveMemoriesAgentActionEvent(BaseModel):
|
|
@@ -624,7 +583,7 @@ class NavigateStateMachineExitConditionSelectedEvent(BaseModel):
|
|
|
624
583
|
|
|
625
584
|
|
|
626
585
|
class NavigateStateMachineRecallStateActiveMemoryRetrievedEventQueriesAndResponse(
|
|
627
|
-
|
|
586
|
+
ExtractActiveMemoriesAgentActionEventQueriesAndResponse
|
|
628
587
|
):
|
|
629
588
|
pass
|
|
630
589
|
|
|
@@ -739,7 +698,7 @@ class NavigateStateMachineToolCallStateToolOutputAvailableEvent(BaseModel):
|
|
|
739
698
|
|
|
740
699
|
|
|
741
700
|
class NewMessageEventTranscriptAlignmentItem(
|
|
742
|
-
|
|
701
|
+
ExtractActiveMemoriesAgentActionEventQueriesAndResponse
|
|
743
702
|
):
|
|
744
703
|
pass
|
|
745
704
|
|
|
@@ -1097,6 +1056,12 @@ class StrippedNonemptyStringWS(RootModel[str]):
|
|
|
1097
1056
|
root: str = Field(..., min_length=1, pattern='^[\\w\\s]+$')
|
|
1098
1057
|
|
|
1099
1058
|
|
|
1059
|
+
class StrippedNonemptyStringToUpperNoneToLowerNoneStrictNoneMinLengthNoneMaxLengthNonePatternAZaZ09MaxLenMaxLength40(
|
|
1060
|
+
RootModel[str]
|
|
1061
|
+
):
|
|
1062
|
+
root: str = Field(..., max_length=40, min_length=1, pattern='^[A-Za-z0-9_-]+$')
|
|
1063
|
+
|
|
1064
|
+
|
|
1100
1065
|
class StrippedNonemptyStringAZAZ02(RootModel[str]):
|
|
1101
1066
|
root: str = Field(..., min_length=1, pattern='^[a-z-]+( [a-z-]+){0,2}$')
|
|
1102
1067
|
|
|
@@ -1325,82 +1290,6 @@ class ToolVersionInstanceToolRepo(Enum):
|
|
|
1325
1290
|
team = 'team'
|
|
1326
1291
|
|
|
1327
1292
|
|
|
1328
|
-
class TotalARRMetricInput(BaseModel):
|
|
1329
|
-
type: Literal['total-arr'] = Field(..., title='Type')
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
class TotalARRMetricOutput(BaseModel):
|
|
1333
|
-
type: Literal['total-arr'] = Field('total-arr', title='Type')
|
|
1334
|
-
arr_cents: int = Field(
|
|
1335
|
-
..., description='The computed ARR in cents.', title='Arr Cents'
|
|
1336
|
-
)
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
class TotalActiveUserMetricInput(BaseModel):
|
|
1340
|
-
type: Literal['total-active-user'] = Field(..., title='Type')
|
|
1341
|
-
conversation_count_threshold: int = Field(
|
|
1342
|
-
...,
|
|
1343
|
-
description='The number of conversations an user must have had in the time horizon to be considered active.',
|
|
1344
|
-
ge=0,
|
|
1345
|
-
title='Conversation Count Threshold',
|
|
1346
|
-
)
|
|
1347
|
-
starts: AwareDatetime = Field(
|
|
1348
|
-
...,
|
|
1349
|
-
description='The start of the interval to compute active users in.',
|
|
1350
|
-
title='Starts',
|
|
1351
|
-
)
|
|
1352
|
-
ends: AwareDatetime = Field(
|
|
1353
|
-
...,
|
|
1354
|
-
description='The end of the interval to compute active users in.',
|
|
1355
|
-
title='Ends',
|
|
1356
|
-
)
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
class TotalActiveUserMetricOutput(BaseModel):
|
|
1360
|
-
type: Literal['total-active-user'] = Field('total-active-user', title='Type')
|
|
1361
|
-
active_user_count: int = Field(..., title='Active User Count')
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
class TotalConversationCountMetricInput(BaseModel):
|
|
1365
|
-
type: Literal['total-conversation-count'] = Field(..., title='Type')
|
|
1366
|
-
starts: AwareDatetime = Field(
|
|
1367
|
-
...,
|
|
1368
|
-
description='The start of the interval to compute the count of conversations in.',
|
|
1369
|
-
title='Starts',
|
|
1370
|
-
)
|
|
1371
|
-
ends: AwareDatetime = Field(
|
|
1372
|
-
...,
|
|
1373
|
-
description='The end of the interval to compute the count of conversations in.',
|
|
1374
|
-
title='Ends',
|
|
1375
|
-
)
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
class TotalConversationCountMetricOutput(BaseModel):
|
|
1379
|
-
type: Literal['total-conversation-count'] = Field(
|
|
1380
|
-
'total-conversation-count', title='Type'
|
|
1381
|
-
)
|
|
1382
|
-
conversation_count: int = Field(..., title='Conversation Count')
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
class TotalMessageCountMetricInput(BaseModel):
|
|
1386
|
-
type: Literal['total-message-count'] = Field(..., title='Type')
|
|
1387
|
-
starts: AwareDatetime = Field(
|
|
1388
|
-
...,
|
|
1389
|
-
description='The start of the interval to compute the count of messages in.',
|
|
1390
|
-
title='Starts',
|
|
1391
|
-
)
|
|
1392
|
-
ends: AwareDatetime = Field(
|
|
1393
|
-
...,
|
|
1394
|
-
description='The end of the interval to compute the count of messages in.',
|
|
1395
|
-
title='Ends',
|
|
1396
|
-
)
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
class TotalMessageCountMetricOutput(BaseModel):
|
|
1400
|
-
type: Literal['total-message-count'] = Field('total-message-count', title='Type')
|
|
1401
|
-
message_count: int = Field(..., title='Message Count')
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
1293
|
class UnitTestRunSpecScenarioVersionInfo(RootModel[List[Any]]):
|
|
1405
1294
|
root: List[Any] = Field(
|
|
1406
1295
|
...,
|
|
@@ -1663,11 +1552,6 @@ AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
|
1663
1552
|
)
|
|
1664
1553
|
|
|
1665
1554
|
|
|
1666
|
-
class AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag(BaseModel):
|
|
1667
|
-
key: str = Field(..., title='Key')
|
|
1668
|
-
value: Optional[str] = Field(..., title='Value')
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
1555
|
AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo = (
|
|
1672
1556
|
AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1673
1557
|
)
|
|
@@ -1686,7 +1570,7 @@ AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo = (
|
|
|
1686
1570
|
|
|
1687
1571
|
|
|
1688
1572
|
class AmigoLibMongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUnitTestRunResultMetricEvaluationResultResult(
|
|
1689
|
-
|
|
1573
|
+
ExtractActiveMemoriesAgentActionEventQueriesAndResponse
|
|
1690
1574
|
):
|
|
1691
1575
|
pass
|
|
1692
1576
|
|
|
@@ -1709,6 +1593,11 @@ AmigoLibMongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUserInfo
|
|
|
1709
1593
|
)
|
|
1710
1594
|
|
|
1711
1595
|
|
|
1596
|
+
class AmigoLibMongoCollectionsToolToolTag(BaseModel):
|
|
1597
|
+
key: str = Field(..., title='Key')
|
|
1598
|
+
value: Optional[str] = Field(..., title='Value')
|
|
1599
|
+
|
|
1600
|
+
|
|
1712
1601
|
class AmigoLibMongoCollectionsToolInvocationToolInvocationVersion(BaseModel):
|
|
1713
1602
|
major: int = Field(..., title='Major')
|
|
1714
1603
|
minor: int = Field(..., title='Minor')
|
|
@@ -10757,6 +10646,13 @@ class OrganizationCreateOrganizationRequestPreferences(BaseModel):
|
|
|
10757
10646
|
)
|
|
10758
10647
|
|
|
10759
10648
|
|
|
10649
|
+
class OrganizationCreateOrganizationRequestUserDimension(BaseModel):
|
|
10650
|
+
description: str = Field(..., min_length=1)
|
|
10651
|
+
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10652
|
+
..., title='Tags'
|
|
10653
|
+
)
|
|
10654
|
+
|
|
10655
|
+
|
|
10760
10656
|
class OrganizationCreateOrganizationResponse(BaseModel):
|
|
10761
10657
|
org_id: str = Field(
|
|
10762
10658
|
...,
|
|
@@ -10780,19 +10676,19 @@ class OrganizationCreateServiceHierarchicalStateMachineResponse(BaseModel):
|
|
|
10780
10676
|
)
|
|
10781
10677
|
|
|
10782
10678
|
|
|
10783
|
-
class
|
|
10679
|
+
class OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitConditionNextState(
|
|
10784
10680
|
AnnotationStateInputNextState
|
|
10785
10681
|
):
|
|
10786
10682
|
pass
|
|
10787
10683
|
|
|
10788
10684
|
|
|
10789
|
-
class
|
|
10685
|
+
class OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition(
|
|
10790
10686
|
BaseModel
|
|
10791
10687
|
):
|
|
10792
10688
|
description: str = Field(..., min_length=1)
|
|
10793
10689
|
next_state: Union[
|
|
10794
10690
|
StateOrRefName,
|
|
10795
|
-
|
|
10691
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitConditionNextState,
|
|
10796
10692
|
] = Field(..., title='Next State')
|
|
10797
10693
|
|
|
10798
10694
|
|
|
@@ -10898,18 +10794,22 @@ class OrganizationGetUserDimensionsResponse(BaseModel):
|
|
|
10898
10794
|
)
|
|
10899
10795
|
|
|
10900
10796
|
|
|
10797
|
+
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
10798
|
+
RootModel[List[OrganizationCreateOrganizationRequestUserDimension]]
|
|
10799
|
+
):
|
|
10800
|
+
root: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
10801
|
+
...,
|
|
10802
|
+
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
10803
|
+
min_length=1,
|
|
10804
|
+
title='User Dimensions',
|
|
10805
|
+
)
|
|
10806
|
+
|
|
10807
|
+
|
|
10901
10808
|
OrganizationModifyOrganizationRequestPreferences = (
|
|
10902
10809
|
OrganizationCreateOrganizationRequestPreferences
|
|
10903
10810
|
)
|
|
10904
10811
|
|
|
10905
10812
|
|
|
10906
|
-
class OrganizationModifyOrganizationRequestUserDimension(BaseModel):
|
|
10907
|
-
description: str = Field(..., min_length=1)
|
|
10908
|
-
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10909
|
-
..., title='Tags'
|
|
10910
|
-
)
|
|
10911
|
-
|
|
10912
|
-
|
|
10913
10813
|
class RoleAssignRoleRequest(BaseModel):
|
|
10914
10814
|
user_id: str = Field(
|
|
10915
10815
|
...,
|
|
@@ -10956,6 +10856,13 @@ class RoleModifyRoleResponse(BaseModel):
|
|
|
10956
10856
|
)
|
|
10957
10857
|
|
|
10958
10858
|
|
|
10859
|
+
class ServiceCreateServiceRequestVersionSetLLMConfig(BaseModel):
|
|
10860
|
+
llm_name: LLMType
|
|
10861
|
+
params: Optional[Dict[str, Any]] = Field(
|
|
10862
|
+
{}, description='LLM-specific parameters to use.', title='Params'
|
|
10863
|
+
)
|
|
10864
|
+
|
|
10865
|
+
|
|
10959
10866
|
class ServiceCreateServiceResponse(BaseModel):
|
|
10960
10867
|
id: str = Field(..., description='The ID of the newly created service.', title='Id')
|
|
10961
10868
|
|
|
@@ -11031,10 +10938,19 @@ class ServiceUpdateServiceRequest(BaseModel):
|
|
|
11031
10938
|
)
|
|
11032
10939
|
|
|
11033
10940
|
|
|
11034
|
-
class
|
|
11035
|
-
|
|
11036
|
-
|
|
11037
|
-
|
|
10941
|
+
class ServiceUpsertServiceVersionSetRequestVersionSet(BaseModel):
|
|
10942
|
+
agent_version_number: Optional[int] = Field(
|
|
10943
|
+
...,
|
|
10944
|
+
description='The version number of the agent to be used. If None, the latest agent version will be used.',
|
|
10945
|
+
title='Agent Version Number',
|
|
10946
|
+
)
|
|
10947
|
+
service_hierarchical_state_machine_version_number: Optional[int] = Field(
|
|
10948
|
+
...,
|
|
10949
|
+
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
10950
|
+
title='Service Hierarchical State Machine Version Number',
|
|
10951
|
+
)
|
|
10952
|
+
llm_model_preferences: Dict[str, ServiceCreateServiceRequestVersionSetLLMConfig] = (
|
|
10953
|
+
Field(..., title='Llm Model Preferences')
|
|
11038
10954
|
)
|
|
11039
10955
|
|
|
11040
10956
|
|
|
@@ -11156,16 +11072,6 @@ class SimulationCreateSimulationUnitTestResponse(BaseModel):
|
|
|
11156
11072
|
)
|
|
11157
11073
|
|
|
11158
11074
|
|
|
11159
|
-
class SimulationCreateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
|
|
11160
|
-
unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
|
|
11161
|
-
run_count: int = Field(
|
|
11162
|
-
...,
|
|
11163
|
-
description='The number of times to run the unit test.',
|
|
11164
|
-
gt=0,
|
|
11165
|
-
title='Run Count',
|
|
11166
|
-
)
|
|
11167
|
-
|
|
11168
|
-
|
|
11169
11075
|
class SimulationCreateSimulationUnitTestSetResponse(BaseModel):
|
|
11170
11076
|
simulation_unit_test_set_id: str = Field(
|
|
11171
11077
|
...,
|
|
@@ -11290,37 +11196,6 @@ class SimulationGetSimulationScenariosResponseFilterValues(BaseModel):
|
|
|
11290
11196
|
)
|
|
11291
11197
|
|
|
11292
11198
|
|
|
11293
|
-
class SimulationGetSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
|
|
11294
|
-
id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
|
|
11295
|
-
name: str = Field(
|
|
11296
|
-
..., description='The name of the simulation scenario.', title='Name'
|
|
11297
|
-
)
|
|
11298
|
-
tags: Dict[str, Optional[str]] = Field(
|
|
11299
|
-
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11300
|
-
)
|
|
11301
|
-
is_deleted: bool = Field(
|
|
11302
|
-
...,
|
|
11303
|
-
description='Whether the simulation scenario is deleted.',
|
|
11304
|
-
title='Is Deleted',
|
|
11305
|
-
)
|
|
11306
|
-
created_at: AwareDatetime = Field(
|
|
11307
|
-
...,
|
|
11308
|
-
description='The timestamp when the simulation scenario was created.',
|
|
11309
|
-
title='Created At',
|
|
11310
|
-
)
|
|
11311
|
-
creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11312
|
-
Field(..., description='The user who created the simulation scenario.')
|
|
11313
|
-
)
|
|
11314
|
-
updated_at: AwareDatetime = Field(
|
|
11315
|
-
...,
|
|
11316
|
-
description='The timestamp when the simulation scenario was last updated.',
|
|
11317
|
-
title='Updated At',
|
|
11318
|
-
)
|
|
11319
|
-
updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11320
|
-
Field(..., description='The user who last updated the simulation scenario.')
|
|
11321
|
-
)
|
|
11322
|
-
|
|
11323
|
-
|
|
11324
11199
|
class SimulationGetSimulationUnitTestSetRunArtifactsResponse(BaseModel):
|
|
11325
11200
|
presigned_url: str = Field(
|
|
11326
11201
|
...,
|
|
@@ -11417,13 +11292,34 @@ class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
|
11417
11292
|
)
|
|
11418
11293
|
|
|
11419
11294
|
|
|
11420
|
-
class
|
|
11421
|
-
|
|
11422
|
-
|
|
11423
|
-
|
|
11295
|
+
class SimulationSearchSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
|
|
11296
|
+
id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
|
|
11297
|
+
name: str = Field(
|
|
11298
|
+
..., description='The name of the simulation scenario.', title='Name'
|
|
11299
|
+
)
|
|
11300
|
+
tags: Dict[str, Optional[str]] = Field(
|
|
11301
|
+
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11302
|
+
)
|
|
11303
|
+
is_deleted: bool = Field(
|
|
11424
11304
|
...,
|
|
11425
|
-
description='
|
|
11426
|
-
title='
|
|
11305
|
+
description='Whether the simulation scenario is deleted.',
|
|
11306
|
+
title='Is Deleted',
|
|
11307
|
+
)
|
|
11308
|
+
created_at: AwareDatetime = Field(
|
|
11309
|
+
...,
|
|
11310
|
+
description='The timestamp when the simulation scenario was created.',
|
|
11311
|
+
title='Created At',
|
|
11312
|
+
)
|
|
11313
|
+
creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11314
|
+
Field(..., description='The user who created the simulation scenario.')
|
|
11315
|
+
)
|
|
11316
|
+
updated_at: AwareDatetime = Field(
|
|
11317
|
+
...,
|
|
11318
|
+
description='The timestamp when the simulation scenario was last updated.',
|
|
11319
|
+
title='Updated At',
|
|
11320
|
+
)
|
|
11321
|
+
updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11322
|
+
Field(..., description='The user who last updated the simulation scenario.')
|
|
11427
11323
|
)
|
|
11428
11324
|
|
|
11429
11325
|
|
|
@@ -11484,39 +11380,13 @@ class SimulationUpdateSimulationUnitTestRequestRunCount(RootModel[int]):
|
|
|
11484
11380
|
)
|
|
11485
11381
|
|
|
11486
11382
|
|
|
11487
|
-
class
|
|
11488
|
-
|
|
11489
|
-
|
|
11490
|
-
|
|
11491
|
-
|
|
11492
|
-
|
|
11493
|
-
|
|
11494
|
-
min_length=1,
|
|
11495
|
-
title='Unit Test Runs',
|
|
11496
|
-
)
|
|
11497
|
-
)
|
|
11498
|
-
|
|
11499
|
-
|
|
11500
|
-
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
11501
|
-
name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
11502
|
-
None, description='The name of the simulation unit test set.'
|
|
11503
|
-
)
|
|
11504
|
-
description: Optional[
|
|
11505
|
-
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
11506
|
-
] = Field(
|
|
11507
|
-
{},
|
|
11508
|
-
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
11509
|
-
title='Description',
|
|
11510
|
-
)
|
|
11511
|
-
unit_test_runs: Optional[
|
|
11512
|
-
SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
|
|
11513
|
-
] = Field(
|
|
11514
|
-
None,
|
|
11515
|
-
description='The unit test runs that are part of this set.',
|
|
11516
|
-
title='Unit Test Runs',
|
|
11517
|
-
)
|
|
11518
|
-
tags: Optional[Dict[str, Optional[str]]] = Field(
|
|
11519
|
-
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
11383
|
+
class SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor(BaseModel):
|
|
11384
|
+
unit_test_id: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
|
|
11385
|
+
run_count: int = Field(
|
|
11386
|
+
...,
|
|
11387
|
+
description='The number of times to run the unit test.',
|
|
11388
|
+
gt=0,
|
|
11389
|
+
title='Run Count',
|
|
11520
11390
|
)
|
|
11521
11391
|
|
|
11522
11392
|
|
|
@@ -11715,7 +11585,7 @@ class UserGetMemoriesResponse(BaseModel):
|
|
|
11715
11585
|
)
|
|
11716
11586
|
|
|
11717
11587
|
|
|
11718
|
-
class
|
|
11588
|
+
class UserGetUsersResponseUserInstanceUserStats(BaseModel):
|
|
11719
11589
|
num_conversations: int = Field(
|
|
11720
11590
|
...,
|
|
11721
11591
|
description='The number of conversations the user has created.',
|
|
@@ -11733,6 +11603,31 @@ class UserSearchUsersResponseUserInstanceUserStats(BaseModel):
|
|
|
11733
11603
|
)
|
|
11734
11604
|
|
|
11735
11605
|
|
|
11606
|
+
class UserSearchUsersResponseUserInstance(BaseModel):
|
|
11607
|
+
org_id: str = Field(
|
|
11608
|
+
...,
|
|
11609
|
+
description='The ID of the organization that this user belongs to.',
|
|
11610
|
+
title='Org Id',
|
|
11611
|
+
)
|
|
11612
|
+
user_id: str = Field(
|
|
11613
|
+
..., description='The identifier of the user.', title='User Id'
|
|
11614
|
+
)
|
|
11615
|
+
first_name: str = Field(
|
|
11616
|
+
..., description='The first name of the user.', title='First Name'
|
|
11617
|
+
)
|
|
11618
|
+
last_name: str = Field(
|
|
11619
|
+
..., description='The last name of the user.', title='Last Name'
|
|
11620
|
+
)
|
|
11621
|
+
email: str = Field(..., description='Email of the user.', title='Email')
|
|
11622
|
+
user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
|
|
11623
|
+
..., description="Statistics about the user's usage of the Amigo platform."
|
|
11624
|
+
)
|
|
11625
|
+
role: str = Field(..., description='The ID of the role of the user.', title='Role')
|
|
11626
|
+
preferences: AmigoLibMongoCollectionsUserUserPreferences = Field(
|
|
11627
|
+
..., description='The preferences of the user.'
|
|
11628
|
+
)
|
|
11629
|
+
|
|
11630
|
+
|
|
11736
11631
|
class UserSignInWithApiKeyResponse(BaseModel):
|
|
11737
11632
|
id_token: str = Field(
|
|
11738
11633
|
...,
|
|
@@ -11821,6 +11716,11 @@ class UserUpdateUserInfoRequest(BaseModel):
|
|
|
11821
11716
|
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. If `null`, the keyterms are not modified.',
|
|
11822
11717
|
title='Audio Keyterms',
|
|
11823
11718
|
)
|
|
11719
|
+
actions_development_enabled: Optional[bool] = Field(
|
|
11720
|
+
None,
|
|
11721
|
+
description='Whether to enable Actions development access for the user. If `null`, the preference is not modified.',
|
|
11722
|
+
title='Actions Development Enabled',
|
|
11723
|
+
)
|
|
11824
11724
|
|
|
11825
11725
|
|
|
11826
11726
|
class WebhookDestinationCreateWebhookDestinationRequest(BaseModel):
|
|
@@ -12170,7 +12070,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
|
|
|
12170
12070
|
[], description='The IDs of the messages to retrieve.', title='Id'
|
|
12171
12071
|
)
|
|
12172
12072
|
message_type: Optional[List[MessageType]] = Field(
|
|
12173
|
-
['external-event', '
|
|
12073
|
+
['external-event', 'user-message', 'agent-message'],
|
|
12174
12074
|
description='The type of messages to retrieve.',
|
|
12175
12075
|
title='Message Type',
|
|
12176
12076
|
)
|
|
@@ -13976,7 +13876,7 @@ class ServiceInstance(BaseModel):
|
|
|
13976
13876
|
agent_id: str = Field(
|
|
13977
13877
|
..., description='The ID of the agent that this service uses.', title='Agent Id'
|
|
13978
13878
|
)
|
|
13979
|
-
tags: List[
|
|
13879
|
+
tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
|
|
13980
13880
|
..., description='The tags of the service.', title='Tags'
|
|
13981
13881
|
)
|
|
13982
13882
|
|
|
@@ -14029,7 +13929,7 @@ class SimulationUnitTestSet(BaseModel):
|
|
|
14029
13929
|
description='Whether the unit test set has been deleted.',
|
|
14030
13930
|
title='Is Deleted',
|
|
14031
13931
|
)
|
|
14032
|
-
tags: List[
|
|
13932
|
+
tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
|
|
14033
13933
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
14034
13934
|
)
|
|
14035
13935
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -14068,7 +13968,7 @@ class SimulationUnitTestSetInstance(BaseModel):
|
|
|
14068
13968
|
description='Whether the unit test set has been deleted.',
|
|
14069
13969
|
title='Is Deleted',
|
|
14070
13970
|
)
|
|
14071
|
-
tags: List[
|
|
13971
|
+
tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
|
|
14072
13972
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
14073
13973
|
)
|
|
14074
13974
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -14184,7 +14084,7 @@ class ToolInstance(BaseModel):
|
|
|
14184
14084
|
description='A list of encrypted environment variables that some versions of this tool uses.',
|
|
14185
14085
|
title='Secret Envvars',
|
|
14186
14086
|
)
|
|
14187
|
-
tags: List[
|
|
14087
|
+
tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
|
|
14188
14088
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
14189
14089
|
)
|
|
14190
14090
|
|
|
@@ -14605,7 +14505,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
|
|
|
14605
14505
|
description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
|
|
14606
14506
|
min_length=1,
|
|
14607
14507
|
)
|
|
14608
|
-
user_dimensions: List[
|
|
14508
|
+
user_dimensions: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
14609
14509
|
...,
|
|
14610
14510
|
description='User dimensions for the organization.',
|
|
14611
14511
|
title='User Dimensions',
|
|
@@ -14717,50 +14617,6 @@ class OrganizationGetApiKeysResponse(BaseModel):
|
|
|
14717
14617
|
)
|
|
14718
14618
|
|
|
14719
14619
|
|
|
14720
|
-
class OrganizationGetOrganizationMetricsRequest(BaseModel):
|
|
14721
|
-
metrics: List[
|
|
14722
|
-
Union[
|
|
14723
|
-
TotalActiveUserMetricInput,
|
|
14724
|
-
TotalConversationCountMetricInput,
|
|
14725
|
-
TotalMessageCountMetricInput,
|
|
14726
|
-
ConversationByTimeMetricInput,
|
|
14727
|
-
TotalARRMetricInput,
|
|
14728
|
-
]
|
|
14729
|
-
] = Field(
|
|
14730
|
-
...,
|
|
14731
|
-
description='A list of metrics to compute. Each type of metric can only appear once.',
|
|
14732
|
-
min_length=1,
|
|
14733
|
-
title='Metrics',
|
|
14734
|
-
)
|
|
14735
|
-
|
|
14736
|
-
|
|
14737
|
-
class OrganizationGetOrganizationMetricsResponse(BaseModel):
|
|
14738
|
-
metrics: List[
|
|
14739
|
-
Union[
|
|
14740
|
-
TotalActiveUserMetricOutput,
|
|
14741
|
-
TotalConversationCountMetricOutput,
|
|
14742
|
-
TotalMessageCountMetricOutput,
|
|
14743
|
-
ConversationByTimeMetricOutput,
|
|
14744
|
-
TotalARRMetricOutput,
|
|
14745
|
-
]
|
|
14746
|
-
] = Field(
|
|
14747
|
-
...,
|
|
14748
|
-
description='The metrics that were requested, in the same order as they were requested.',
|
|
14749
|
-
title='Metrics',
|
|
14750
|
-
)
|
|
14751
|
-
|
|
14752
|
-
|
|
14753
|
-
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
14754
|
-
RootModel[List[OrganizationModifyOrganizationRequestUserDimension]]
|
|
14755
|
-
):
|
|
14756
|
-
root: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14757
|
-
...,
|
|
14758
|
-
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
14759
|
-
min_length=1,
|
|
14760
|
-
title='User Dimensions',
|
|
14761
|
-
)
|
|
14762
|
-
|
|
14763
|
-
|
|
14764
14620
|
class OrganizationModifyOrganizationRequest(BaseModel):
|
|
14765
14621
|
title: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14766
14622
|
None,
|
|
@@ -14818,7 +14674,7 @@ class OrganizationModifyOrganizationRequest(BaseModel):
|
|
|
14818
14674
|
)
|
|
14819
14675
|
|
|
14820
14676
|
|
|
14821
|
-
class
|
|
14677
|
+
class RoleModifyRoleRequestPermissionGrant(BaseModel):
|
|
14822
14678
|
action: AmigoLibMongoCollectionsRoleRolePermissionGrantAction = Field(
|
|
14823
14679
|
...,
|
|
14824
14680
|
description='Whether this grant allows or denies the specified access.',
|
|
@@ -14835,27 +14691,43 @@ class RoleCreateRoleRequestPermissionGrant(BaseModel):
|
|
|
14835
14691
|
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = None
|
|
14836
14692
|
|
|
14837
14693
|
|
|
14838
|
-
class
|
|
14839
|
-
|
|
14840
|
-
|
|
14841
|
-
description='
|
|
14694
|
+
class ServiceCreateServiceRequest(BaseModel):
|
|
14695
|
+
service_hierarchical_state_machine_id: str = Field(
|
|
14696
|
+
...,
|
|
14697
|
+
description='The ID of the state machine that this service uses.',
|
|
14698
|
+
pattern='^[a-f0-9]{24}$',
|
|
14699
|
+
title='Service Hierarchical State Machine Id',
|
|
14842
14700
|
)
|
|
14843
|
-
|
|
14844
|
-
|
|
14845
|
-
description='
|
|
14846
|
-
|
|
14701
|
+
agent_id: str = Field(
|
|
14702
|
+
...,
|
|
14703
|
+
description='The ID of the agent that this service uses.',
|
|
14704
|
+
pattern='^[a-f0-9]{24}$',
|
|
14705
|
+
title='Agent Id',
|
|
14847
14706
|
)
|
|
14848
|
-
|
|
14849
|
-
|
|
14850
|
-
description='
|
|
14707
|
+
name: str = Field(..., description='The name of this service.', min_length=1)
|
|
14708
|
+
description: str = Field(
|
|
14709
|
+
..., description='A description of this service.', min_length=1
|
|
14851
14710
|
)
|
|
14852
|
-
|
|
14711
|
+
is_active: bool = Field(
|
|
14712
|
+
...,
|
|
14713
|
+
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.',
|
|
14714
|
+
title='Is Active',
|
|
14715
|
+
)
|
|
14716
|
+
release_version_set: Optional[ServiceUpsertServiceVersionSetRequestVersionSet] = (
|
|
14853
14717
|
Field(
|
|
14854
|
-
|
|
14855
|
-
description='The
|
|
14856
|
-
title='Inherited From',
|
|
14718
|
+
None,
|
|
14719
|
+
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.',
|
|
14857
14720
|
)
|
|
14858
14721
|
)
|
|
14722
|
+
keyterms: Optional[List[StrippedNonemptyStringAZAZ02]] = Field(
|
|
14723
|
+
[],
|
|
14724
|
+
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.',
|
|
14725
|
+
max_length=20,
|
|
14726
|
+
title='Keyterms',
|
|
14727
|
+
)
|
|
14728
|
+
tags: Dict[str, Optional[StrippedNonemptyStringWS]] = Field(
|
|
14729
|
+
..., description='The tags of this service.', title='Tags'
|
|
14730
|
+
)
|
|
14859
14731
|
|
|
14860
14732
|
|
|
14861
14733
|
class ServiceGetServicesResponse(BaseModel):
|
|
@@ -14878,20 +14750,10 @@ class ServiceGetServicesResponse(BaseModel):
|
|
|
14878
14750
|
)
|
|
14879
14751
|
|
|
14880
14752
|
|
|
14881
|
-
class
|
|
14882
|
-
|
|
14883
|
-
...,
|
|
14884
|
-
description='The version number of the agent to be used. If None, the latest agent version will be used.',
|
|
14885
|
-
title='Agent Version Number',
|
|
14886
|
-
)
|
|
14887
|
-
service_hierarchical_state_machine_version_number: Optional[int] = Field(
|
|
14888
|
-
...,
|
|
14889
|
-
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
14890
|
-
title='Service Hierarchical State Machine Version Number',
|
|
14753
|
+
class ServiceUpsertServiceVersionSetRequest(BaseModel):
|
|
14754
|
+
version_set: ServiceUpsertServiceVersionSetRequestVersionSet = Field(
|
|
14755
|
+
..., description='The version set to upsert.'
|
|
14891
14756
|
)
|
|
14892
|
-
llm_model_preferences: Dict[
|
|
14893
|
-
str, ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig
|
|
14894
|
-
] = Field(..., title='Llm Model Preferences')
|
|
14895
14757
|
|
|
14896
14758
|
|
|
14897
14759
|
class SimulationCreateSimulationPersonaRequest(BaseModel):
|
|
@@ -14943,7 +14805,7 @@ class SimulationCreateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14943
14805
|
..., description='The description of the simulation unit test set.'
|
|
14944
14806
|
)
|
|
14945
14807
|
unit_test_runs: List[
|
|
14946
|
-
|
|
14808
|
+
SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor
|
|
14947
14809
|
] = Field(
|
|
14948
14810
|
...,
|
|
14949
14811
|
description='The unit test runs that are part of this set.',
|
|
@@ -14981,7 +14843,7 @@ class SimulationGetSimulationPersonasResponse(BaseModel):
|
|
|
14981
14843
|
|
|
14982
14844
|
class SimulationGetSimulationScenariosResponse(BaseModel):
|
|
14983
14845
|
simulation_scenarios: List[
|
|
14984
|
-
|
|
14846
|
+
SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
|
|
14985
14847
|
] = Field(
|
|
14986
14848
|
...,
|
|
14987
14849
|
description='The list of simulation scenarios.',
|
|
@@ -15029,6 +14891,16 @@ class SimulationGetSimulationUnitTestSetsResponse(BaseModel):
|
|
|
15029
14891
|
)
|
|
15030
14892
|
|
|
15031
14893
|
|
|
14894
|
+
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
14895
|
+
simulation_scenarios: List[
|
|
14896
|
+
SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
|
|
14897
|
+
] = Field(
|
|
14898
|
+
...,
|
|
14899
|
+
description='The list of simulation scenarios.',
|
|
14900
|
+
title='Simulation Scenarios',
|
|
14901
|
+
)
|
|
14902
|
+
|
|
14903
|
+
|
|
15032
14904
|
class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
|
|
15033
14905
|
simulation_unit_test_sets: List[SimulationUnitTestSet] = Field(
|
|
15034
14906
|
...,
|
|
@@ -15042,6 +14914,42 @@ SimulationUpdateSimulationUnitTestRequestSuccessCriterion = (
|
|
|
15042
14914
|
)
|
|
15043
14915
|
|
|
15044
14916
|
|
|
14917
|
+
class SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns(
|
|
14918
|
+
RootModel[List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor]]
|
|
14919
|
+
):
|
|
14920
|
+
root: List[SimulationUpdateSimulationUnitTestSetRequestUnitTestRunDescriptor] = (
|
|
14921
|
+
Field(
|
|
14922
|
+
...,
|
|
14923
|
+
description='The unit test runs that are part of this set.',
|
|
14924
|
+
min_length=1,
|
|
14925
|
+
title='Unit Test Runs',
|
|
14926
|
+
)
|
|
14927
|
+
)
|
|
14928
|
+
|
|
14929
|
+
|
|
14930
|
+
class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
14931
|
+
name: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14932
|
+
None, description='The name of the simulation unit test set.'
|
|
14933
|
+
)
|
|
14934
|
+
description: Optional[
|
|
14935
|
+
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
14936
|
+
] = Field(
|
|
14937
|
+
{},
|
|
14938
|
+
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
14939
|
+
title='Description',
|
|
14940
|
+
)
|
|
14941
|
+
unit_test_runs: Optional[
|
|
14942
|
+
SimulationUpdateSimulationUnitTestSetRequestUnitTestRuns
|
|
14943
|
+
] = Field(
|
|
14944
|
+
None,
|
|
14945
|
+
description='The unit test runs that are part of this set.',
|
|
14946
|
+
title='Unit Test Runs',
|
|
14947
|
+
)
|
|
14948
|
+
tags: Optional[Dict[str, Optional[str]]] = Field(
|
|
14949
|
+
None, description='The tags of the simulation unit test set.', title='Tags'
|
|
14950
|
+
)
|
|
14951
|
+
|
|
14952
|
+
|
|
15045
14953
|
class ToolGetToolVersionsResponse(BaseModel):
|
|
15046
14954
|
tool_versions: List[ToolVersionInstance] = Field(
|
|
15047
14955
|
...,
|
|
@@ -15144,28 +15052,23 @@ class UserGetUserModelResponse(BaseModel):
|
|
|
15144
15052
|
)
|
|
15145
15053
|
|
|
15146
15054
|
|
|
15147
|
-
class
|
|
15148
|
-
|
|
15149
|
-
...,
|
|
15150
|
-
description='The ID of the organization that this user belongs to.',
|
|
15151
|
-
title='Org Id',
|
|
15152
|
-
)
|
|
15153
|
-
user_id: str = Field(
|
|
15154
|
-
..., description='The identifier of the user.', title='User Id'
|
|
15155
|
-
)
|
|
15156
|
-
first_name: str = Field(
|
|
15157
|
-
..., description='The first name of the user.', title='First Name'
|
|
15055
|
+
class UserGetUsersResponse(BaseModel):
|
|
15056
|
+
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
15057
|
+
..., description='Users in this organization.', title='Users'
|
|
15158
15058
|
)
|
|
15159
|
-
|
|
15160
|
-
..., description='
|
|
15059
|
+
has_more: bool = Field(
|
|
15060
|
+
..., description='Whether there are more users to retrieve.', title='Has More'
|
|
15161
15061
|
)
|
|
15162
|
-
|
|
15163
|
-
|
|
15164
|
-
|
|
15062
|
+
continuation_token: Optional[int] = Field(
|
|
15063
|
+
...,
|
|
15064
|
+
description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
|
|
15065
|
+
title='Continuation Token',
|
|
15165
15066
|
)
|
|
15166
|
-
|
|
15167
|
-
|
|
15168
|
-
|
|
15067
|
+
|
|
15068
|
+
|
|
15069
|
+
class UserSearchUsersResponse(BaseModel):
|
|
15070
|
+
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
15071
|
+
..., description='Users in this organization.', title='Users'
|
|
15169
15072
|
)
|
|
15170
15073
|
|
|
15171
15074
|
|
|
@@ -15260,7 +15163,7 @@ class ActionStateInput(BaseModel):
|
|
|
15260
15163
|
Field(..., title='Boundary Constraints')
|
|
15261
15164
|
)
|
|
15262
15165
|
exit_conditions: List[
|
|
15263
|
-
|
|
15166
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition
|
|
15264
15167
|
] = Field(..., title='Exit Conditions')
|
|
15265
15168
|
action_tool_call_specs: List[ToolCallSpecInput] = Field(
|
|
15266
15169
|
..., title='Action Tool Call Specs'
|
|
@@ -15369,7 +15272,7 @@ class DecisionStateInput(BaseModel):
|
|
|
15369
15272
|
type: Literal['decision'] = Field(..., title='Type')
|
|
15370
15273
|
name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
|
|
15371
15274
|
exit_conditions: List[
|
|
15372
|
-
|
|
15275
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition
|
|
15373
15276
|
] = Field(..., title='Exit Conditions')
|
|
15374
15277
|
decision_guidelines: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
15375
15278
|
..., title='Decision Guidelines'
|
|
@@ -15410,7 +15313,7 @@ class Metric(BaseModel):
|
|
|
15410
15313
|
additional_notes: Optional[str] = Field(
|
|
15411
15314
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15412
15315
|
)
|
|
15413
|
-
tags: List[
|
|
15316
|
+
tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
|
|
15414
15317
|
..., description='The tags of the metric.', title='Tags'
|
|
15415
15318
|
)
|
|
15416
15319
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15480,7 +15383,7 @@ class MetricInstance(BaseModel):
|
|
|
15480
15383
|
additional_notes: Optional[str] = Field(
|
|
15481
15384
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15482
15385
|
)
|
|
15483
|
-
tags: List[
|
|
15386
|
+
tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
|
|
15484
15387
|
..., description='The tags of the metric.', title='Tags'
|
|
15485
15388
|
)
|
|
15486
15389
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15682,7 +15585,7 @@ class SimulationUnitTest(BaseModel):
|
|
|
15682
15585
|
is_deleted: bool = Field(
|
|
15683
15586
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15684
15587
|
)
|
|
15685
|
-
tags: List[
|
|
15588
|
+
tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
|
|
15686
15589
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15687
15590
|
)
|
|
15688
15591
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
@@ -15727,7 +15630,7 @@ class SimulationUnitTestInstance(BaseModel):
|
|
|
15727
15630
|
is_deleted: bool = Field(
|
|
15728
15631
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15729
15632
|
)
|
|
15730
|
-
tags: List[
|
|
15633
|
+
tags: List[AmigoLibMongoCollectionsToolToolTag] = Field(
|
|
15731
15634
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15732
15635
|
)
|
|
15733
15636
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
@@ -16027,7 +15930,7 @@ class RoleCreateRoleRequest(BaseModel):
|
|
|
16027
15930
|
description: str = Field(
|
|
16028
15931
|
..., description='A description about the role.', min_length=1
|
|
16029
15932
|
)
|
|
16030
|
-
permission_grants: List[
|
|
15933
|
+
permission_grants: List[RoleModifyRoleRequestPermissionGrant] = Field(
|
|
16031
15934
|
...,
|
|
16032
15935
|
description='A list of permission grants associated with this role.',
|
|
16033
15936
|
title='Permission Grants',
|
|
@@ -16053,49 +15956,27 @@ class RoleGetRolesResponse(BaseModel):
|
|
|
16053
15956
|
)
|
|
16054
15957
|
|
|
16055
15958
|
|
|
16056
|
-
class
|
|
16057
|
-
|
|
16058
|
-
|
|
16059
|
-
description='
|
|
16060
|
-
pattern='^[a-f0-9]{24}$',
|
|
16061
|
-
title='Service Hierarchical State Machine Id',
|
|
16062
|
-
)
|
|
16063
|
-
agent_id: str = Field(
|
|
16064
|
-
...,
|
|
16065
|
-
description='The ID of the agent that this service uses.',
|
|
16066
|
-
pattern='^[a-f0-9]{24}$',
|
|
16067
|
-
title='Agent Id',
|
|
15959
|
+
class RoleModifyRoleRequest(BaseModel):
|
|
15960
|
+
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
15961
|
+
None,
|
|
15962
|
+
description='A description about the role. Only updated if specified. This field is a mutable field.',
|
|
16068
15963
|
)
|
|
16069
|
-
|
|
16070
|
-
|
|
16071
|
-
|
|
15964
|
+
permission_grants: Optional[List[RoleModifyRoleRequestPermissionGrant]] = Field(
|
|
15965
|
+
None,
|
|
15966
|
+
description='A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.',
|
|
15967
|
+
title='Permission Grants',
|
|
16072
15968
|
)
|
|
16073
|
-
|
|
16074
|
-
|
|
16075
|
-
description='
|
|
16076
|
-
title='Is Active',
|
|
15969
|
+
frontend_view: Optional[FrontendView] = Field(
|
|
15970
|
+
None,
|
|
15971
|
+
description='The frontend view for the user of this role. Only updated if specified. This field is an immutable field.',
|
|
16077
15972
|
)
|
|
16078
|
-
|
|
15973
|
+
inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
|
|
16079
15974
|
Field(
|
|
16080
|
-
|
|
16081
|
-
description='The
|
|
15975
|
+
{},
|
|
15976
|
+
description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
|
|
15977
|
+
title='Inherited From',
|
|
16082
15978
|
)
|
|
16083
15979
|
)
|
|
16084
|
-
keyterms: Optional[List[StrippedNonemptyStringAZAZ02]] = Field(
|
|
16085
|
-
[],
|
|
16086
|
-
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.',
|
|
16087
|
-
max_length=20,
|
|
16088
|
-
title='Keyterms',
|
|
16089
|
-
)
|
|
16090
|
-
tags: Dict[str, Optional[StrippedNonemptyStringWS]] = Field(
|
|
16091
|
-
..., description='The tags of this service.', title='Tags'
|
|
16092
|
-
)
|
|
16093
|
-
|
|
16094
|
-
|
|
16095
|
-
class ServiceUpsertServiceVersionSetRequest(BaseModel):
|
|
16096
|
-
version_set: ServiceUpsertServiceVersionSetRequestVersionSet = Field(
|
|
16097
|
-
..., description='The version set to upsert.'
|
|
16098
|
-
)
|
|
16099
15980
|
|
|
16100
15981
|
|
|
16101
15982
|
class SimulationCreateSimulationUnitTestRequest(BaseModel):
|
|
@@ -16266,26 +16147,6 @@ class ToolSearchToolInvocationsResponse(BaseModel):
|
|
|
16266
16147
|
)
|
|
16267
16148
|
|
|
16268
16149
|
|
|
16269
|
-
class UserGetUsersResponse(BaseModel):
|
|
16270
|
-
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
16271
|
-
..., description='Users in this organization.', title='Users'
|
|
16272
|
-
)
|
|
16273
|
-
has_more: bool = Field(
|
|
16274
|
-
..., description='Whether there are more users to retrieve.', title='Has More'
|
|
16275
|
-
)
|
|
16276
|
-
continuation_token: Optional[int] = Field(
|
|
16277
|
-
...,
|
|
16278
|
-
description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
|
|
16279
|
-
title='Continuation Token',
|
|
16280
|
-
)
|
|
16281
|
-
|
|
16282
|
-
|
|
16283
|
-
class UserSearchUsersResponse(BaseModel):
|
|
16284
|
-
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
16285
|
-
..., description='Users in this organization.', title='Users'
|
|
16286
|
-
)
|
|
16287
|
-
|
|
16288
|
-
|
|
16289
16150
|
class SimulationUnitTestSetRunInstance(BaseModel):
|
|
16290
16151
|
org_id: str = Field(..., title='Org Id')
|
|
16291
16152
|
id: str = Field(..., title='Id')
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
amigo_sdk/__init__.py,sha256=
|
|
1
|
+
amigo_sdk/__init__.py,sha256=PRrsBRg_6zZu2oa_Ua8BC45IcW_UUd46_R_k0T6h6wg,139
|
|
2
2
|
amigo_sdk/_retry_utils.py,sha256=VbA_Uwv268J80d11R9XfnCjZiV-NwE1aXRsSlRjjRio,2108
|
|
3
3
|
amigo_sdk/auth.py,sha256=WaM9PcEcnaC6CzNsgRKueHkdSAxNbRylzpR_3Q6guQ0,1765
|
|
4
4
|
amigo_sdk/config.py,sha256=0eZIo-hcJ8ODftKAr-mwB-FGJxGO5PT5T4dRpyWPqAg,1491
|
|
@@ -6,13 +6,13 @@ amigo_sdk/errors.py,sha256=Yn12AxIQ6zE9jnGLWO0MUVbBsmw77Kzh82AijyreOkA,4818
|
|
|
6
6
|
amigo_sdk/http_client.py,sha256=tfMXHqMTmlz2ja7aJhOVgbwAiJNlKCzPcK4UGNqXHO8,13488
|
|
7
7
|
amigo_sdk/models.py,sha256=V-G6iL43_ZNOPDcatCJCSszGWGz-nzp_RSyGNm-rBAc,45
|
|
8
8
|
amigo_sdk/sdk_client.py,sha256=5nj8hzjHSFRs9JMNabdYIhQAcFE2G1jI_r7SHVGr9No,6106
|
|
9
|
-
amigo_sdk/generated/model.py,sha256=
|
|
9
|
+
amigo_sdk/generated/model.py,sha256=o9354wxv-IEjfQFgYRBwjqJ-KS8ySudsXiLK574UHO0,455030
|
|
10
10
|
amigo_sdk/resources/conversation.py,sha256=u4kOx5LPbhX92L41UnmPmaF9TkQA5bGev8N00dMoP9I,14805
|
|
11
11
|
amigo_sdk/resources/organization.py,sha256=yX4UlOHNegRzFW4gCJrCxjiLCAGnGegasjviR1yad_Q,1211
|
|
12
12
|
amigo_sdk/resources/service.py,sha256=t1iA3nS9co-wuR-x5jBhAXXTWfMeGsLwfQcLycwVrCA,1536
|
|
13
13
|
amigo_sdk/resources/user.py,sha256=zikijiuGXgmkBVtrldor6XQGQK6jWXonDvNFuQs6XK4,3472
|
|
14
|
-
amigo_sdk-0.
|
|
15
|
-
amigo_sdk-0.
|
|
16
|
-
amigo_sdk-0.
|
|
17
|
-
amigo_sdk-0.
|
|
18
|
-
amigo_sdk-0.
|
|
14
|
+
amigo_sdk-0.93.0.dist-info/METADATA,sha256=ikEv1EtBkWBNEGsDp2JtyAh9JBDk1UjbYh3Y2Ngu8cc,8499
|
|
15
|
+
amigo_sdk-0.93.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
16
|
+
amigo_sdk-0.93.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
|
|
17
|
+
amigo_sdk-0.93.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
|
|
18
|
+
amigo_sdk-0.93.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|