amigo_sdk 0.67.0__py3-none-any.whl → 0.68.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 +199 -201
- {amigo_sdk-0.67.0.dist-info → amigo_sdk-0.68.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.67.0.dist-info → amigo_sdk-0.68.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.67.0.dist-info → amigo_sdk-0.68.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.67.0.dist-info → amigo_sdk-0.68.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.67.0.dist-info → amigo_sdk-0.68.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-03T10:03:06+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -33,12 +33,12 @@ class ActionTooLongEvent(BaseModel):
|
|
|
33
33
|
)
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
class AnnotationStateInputNextState(RootModel[List]):
|
|
37
|
-
root: List = Field(..., max_length=2, min_length=2, title='Next State')
|
|
36
|
+
class AnnotationStateInputNextState(RootModel[List[Any]]):
|
|
37
|
+
root: List[Any] = Field(..., max_length=2, min_length=2, title='Next State')
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
class AnnotationStateOutputNextState(RootModel[List]):
|
|
41
|
-
root: List = Field(
|
|
40
|
+
class AnnotationStateOutputNextState(RootModel[List[Any]]):
|
|
41
|
+
root: List[Any] = Field(
|
|
42
42
|
...,
|
|
43
43
|
description="The state to transition to after the inner thought message is generated. If it's a string, the session will transition to a state within this contextual graph. If it's a tuple, the first element\nmust be of the form `{external_contextual_graph_reference_name}.{state_name}` and represents a state in another contextual graph that the session will transition to, and the second element must be a state\nin this contextual graph that the session will transition to after reaching the terminal state of the external graph.",
|
|
44
44
|
max_length=2,
|
|
@@ -68,7 +68,7 @@ class AnnotationStateTransitionLog(BaseModel):
|
|
|
68
68
|
description='Name of the previous state to transition from.',
|
|
69
69
|
title='Previous State',
|
|
70
70
|
)
|
|
71
|
-
previous_service_hierarchical_state_machine_version_info: List = Field(
|
|
71
|
+
previous_service_hierarchical_state_machine_version_info: List[Any] = Field(
|
|
72
72
|
...,
|
|
73
73
|
description='The identifier of the service hierarchical state machine that the previous state is in.',
|
|
74
74
|
max_length=2,
|
|
@@ -78,7 +78,7 @@ class AnnotationStateTransitionLog(BaseModel):
|
|
|
78
78
|
next_state: str = Field(
|
|
79
79
|
..., description='Name of the next state to transition to.', title='Next State'
|
|
80
80
|
)
|
|
81
|
-
next_service_hierarchical_state_machine_version_info: List = Field(
|
|
81
|
+
next_service_hierarchical_state_machine_version_info: List[Any] = Field(
|
|
82
82
|
...,
|
|
83
83
|
description='The identifier of the service hierarchical state machine that the next state is in.',
|
|
84
84
|
max_length=2,
|
|
@@ -154,8 +154,8 @@ class ConversationByTimeMetricInput(BaseModel):
|
|
|
154
154
|
)
|
|
155
155
|
|
|
156
156
|
|
|
157
|
-
class ConversationByTimeMetricOutputConversationCount(RootModel[List]):
|
|
158
|
-
root: List = Field(..., max_length=2, min_length=2)
|
|
157
|
+
class ConversationByTimeMetricOutputConversationCount(RootModel[List[Any]]):
|
|
158
|
+
root: List[Any] = Field(..., max_length=2, min_length=2)
|
|
159
159
|
|
|
160
160
|
|
|
161
161
|
class ConversationByTimeMetricOutput(BaseModel):
|
|
@@ -224,7 +224,7 @@ class DynamicBehaviorInvocation(BaseModel):
|
|
|
224
224
|
description='The IDs of the agent inner thoughts that led to the dynamic behavior invocation.',
|
|
225
225
|
title='Agent Inner Thoughts Ids',
|
|
226
226
|
)
|
|
227
|
-
dynamic_behavior_set_version_info: List = Field(
|
|
227
|
+
dynamic_behavior_set_version_info: List[Any] = Field(
|
|
228
228
|
...,
|
|
229
229
|
description='The ID and version number of the dynamic behavior set version that was activated.',
|
|
230
230
|
max_length=2,
|
|
@@ -260,7 +260,7 @@ class EngageUserDynamicBehaviorOverrideEvent(BaseModel):
|
|
|
260
260
|
|
|
261
261
|
class EngageUserInvocationMetadata(BaseModel):
|
|
262
262
|
type: Literal['engage-user'] = Field('engage-user', title='Type')
|
|
263
|
-
current_state_machine_and_version: List = Field(
|
|
263
|
+
current_state_machine_and_version: List[Any] = Field(
|
|
264
264
|
...,
|
|
265
265
|
description='The ID and version of the state machine that is currently being executed.',
|
|
266
266
|
max_length=2,
|
|
@@ -320,8 +320,8 @@ class EvaluationSourceType(Enum):
|
|
|
320
320
|
simulation = 'simulation'
|
|
321
321
|
|
|
322
322
|
|
|
323
|
-
class ExitConditionOutputNextState(RootModel[List]):
|
|
324
|
-
root: List = Field(
|
|
323
|
+
class ExitConditionOutputNextState(RootModel[List[Any]]):
|
|
324
|
+
root: List[Any] = Field(
|
|
325
325
|
...,
|
|
326
326
|
description="The state to transition to if this exit condition is met. If it's a string, the session will transition to a state within this contextual graph. If it's a tuple, the first element\nmust be of the form `{external_contextual_graph_reference_name}.{state_name}` and represents a state in another contextual graph that the session will transition to, and the second element must be a state\nin this contextual graph that the session will transition to after reaching the terminal state of the external graph.",
|
|
327
327
|
max_length=2,
|
|
@@ -442,7 +442,7 @@ class GenerateToolParamsDesignatedToolRetrievedEvent(BaseModel):
|
|
|
442
442
|
|
|
443
443
|
class InCondition(BaseModel):
|
|
444
444
|
type: Literal['In'] = Field('In', title='Type')
|
|
445
|
-
values: List = Field(
|
|
445
|
+
values: List[Any] = Field(
|
|
446
446
|
...,
|
|
447
447
|
description='A list of values, one of which the attribute must be equal to. All values must be of the same type as the type of this attribute in the permission.',
|
|
448
448
|
title='Values',
|
|
@@ -483,7 +483,7 @@ class JumpbackStateTransitionLog(BaseModel):
|
|
|
483
483
|
description='Name of the previous state to transition from.',
|
|
484
484
|
title='Previous State',
|
|
485
485
|
)
|
|
486
|
-
previous_service_hierarchical_state_machine_version_info: List = Field(
|
|
486
|
+
previous_service_hierarchical_state_machine_version_info: List[Any] = Field(
|
|
487
487
|
...,
|
|
488
488
|
description='The identifier of the service hierarchical state machine that the previous state is in.',
|
|
489
489
|
max_length=2,
|
|
@@ -493,7 +493,7 @@ class JumpbackStateTransitionLog(BaseModel):
|
|
|
493
493
|
next_state: str = Field(
|
|
494
494
|
..., description='Name of the next state to transition to.', title='Next State'
|
|
495
495
|
)
|
|
496
|
-
next_service_hierarchical_state_machine_version_info: List = Field(
|
|
496
|
+
next_service_hierarchical_state_machine_version_info: List[Any] = Field(
|
|
497
497
|
...,
|
|
498
498
|
description='The identifier of the service hierarchical state machine that the next state is in.',
|
|
499
499
|
max_length=2,
|
|
@@ -610,7 +610,7 @@ class NavigateStateMachineExitConditionSelectedEvent(BaseModel):
|
|
|
610
610
|
description='The exit condition that the agent has selected.',
|
|
611
611
|
title='Exit Condition',
|
|
612
612
|
)
|
|
613
|
-
next_state_state_machine_version_info: List = Field(
|
|
613
|
+
next_state_state_machine_version_info: List[Any] = Field(
|
|
614
614
|
...,
|
|
615
615
|
description='The state machine version info of the next state.',
|
|
616
616
|
max_length=2,
|
|
@@ -700,7 +700,7 @@ class NavigateStateMachineStateTransitionedEvent(BaseModel):
|
|
|
700
700
|
'navigate-state-machine-state-transitioned', title='Type'
|
|
701
701
|
)
|
|
702
702
|
prev_state: str = Field(..., description='The previous state.', title='Prev State')
|
|
703
|
-
prev_state_state_machine_version_info: List = Field(
|
|
703
|
+
prev_state_state_machine_version_info: List[Any] = Field(
|
|
704
704
|
...,
|
|
705
705
|
description='The state machine version info of the previous state.',
|
|
706
706
|
max_length=2,
|
|
@@ -708,7 +708,7 @@ class NavigateStateMachineStateTransitionedEvent(BaseModel):
|
|
|
708
708
|
title='Prev State State Machine Version Info',
|
|
709
709
|
)
|
|
710
710
|
next_state: str = Field(..., description='The next state.', title='Next State')
|
|
711
|
-
next_state_state_machine_version_info: List = Field(
|
|
711
|
+
next_state_state_machine_version_info: List[Any] = Field(
|
|
712
712
|
...,
|
|
713
713
|
description='The state machine version info of the next state.',
|
|
714
714
|
max_length=2,
|
|
@@ -834,8 +834,8 @@ class RecallStateInputNextState(AnnotationStateInputNextState):
|
|
|
834
834
|
pass
|
|
835
835
|
|
|
836
836
|
|
|
837
|
-
class RecallStateOutputNextState(RootModel[List]):
|
|
838
|
-
root: List = Field(
|
|
837
|
+
class RecallStateOutputNextState(RootModel[List[Any]]):
|
|
838
|
+
root: List[Any] = Field(
|
|
839
839
|
...,
|
|
840
840
|
description="The state to transition to after the active memory extraction is performed. If it's a string, the session will transition to a state within this contextual graph. If it's a tuple, the first element\nmust be of the form `{external_contextual_graph_reference_name}.{state_name}` and represents a state in another contextual graph that the session will transition to, and the second element must be a state\nin this contextual graph that the session will transition to after reaching the terminal state of the external graph.",
|
|
841
841
|
max_length=2,
|
|
@@ -870,7 +870,7 @@ class RecallStateTransitionLog(BaseModel):
|
|
|
870
870
|
description='Name of the previous state to transition from.',
|
|
871
871
|
title='Previous State',
|
|
872
872
|
)
|
|
873
|
-
previous_service_hierarchical_state_machine_version_info: List = Field(
|
|
873
|
+
previous_service_hierarchical_state_machine_version_info: List[Any] = Field(
|
|
874
874
|
...,
|
|
875
875
|
description='The identifier of the service hierarchical state machine that the previous state is in.',
|
|
876
876
|
max_length=2,
|
|
@@ -880,7 +880,7 @@ class RecallStateTransitionLog(BaseModel):
|
|
|
880
880
|
next_state: str = Field(
|
|
881
881
|
..., description='Name of the next state to transition to.', title='Next State'
|
|
882
882
|
)
|
|
883
|
-
next_service_hierarchical_state_machine_version_info: List = Field(
|
|
883
|
+
next_service_hierarchical_state_machine_version_info: List[Any] = Field(
|
|
884
884
|
...,
|
|
885
885
|
description='The identifier of the service hierarchical state machine that the next state is in.',
|
|
886
886
|
max_length=2,
|
|
@@ -914,9 +914,9 @@ class ResultPersistence(Enum):
|
|
|
914
914
|
|
|
915
915
|
|
|
916
916
|
class SelectDynamicBehaviorCompletedEventSelectedDynamicBehaviorSetVersionInfo(
|
|
917
|
-
RootModel[List]
|
|
917
|
+
RootModel[List[Any]]
|
|
918
918
|
):
|
|
919
|
-
root: List = Field(
|
|
919
|
+
root: List[Any] = Field(
|
|
920
920
|
...,
|
|
921
921
|
max_length=2,
|
|
922
922
|
min_length=2,
|
|
@@ -925,9 +925,9 @@ class SelectDynamicBehaviorCompletedEventSelectedDynamicBehaviorSetVersionInfo(
|
|
|
925
925
|
|
|
926
926
|
|
|
927
927
|
class SelectDynamicBehaviorCompletedEventPreviousSelectedDynamicBehaviorSetVersionInfo(
|
|
928
|
-
RootModel[List]
|
|
928
|
+
RootModel[List[Any]]
|
|
929
929
|
):
|
|
930
|
-
root: List = Field(
|
|
930
|
+
root: List[Any] = Field(
|
|
931
931
|
...,
|
|
932
932
|
max_length=2,
|
|
933
933
|
min_length=2,
|
|
@@ -1064,7 +1064,7 @@ class StateOrRefName(RootModel[str]):
|
|
|
1064
1064
|
|
|
1065
1065
|
class StateTransitionInvocationMetadata(BaseModel):
|
|
1066
1066
|
type: Literal['state-transition'] = Field('state-transition', title='Type')
|
|
1067
|
-
current_state_machine_and_version: List = Field(
|
|
1067
|
+
current_state_machine_and_version: List[Any] = Field(
|
|
1068
1068
|
...,
|
|
1069
1069
|
description='The ID and version of the state machine that is currently being executed.',
|
|
1070
1070
|
max_length=2,
|
|
@@ -1263,7 +1263,7 @@ class ToolCallStateOutput(BaseModel):
|
|
|
1263
1263
|
|
|
1264
1264
|
class ToolCallStateInvocationMetadata(BaseModel):
|
|
1265
1265
|
type: Literal['tool-call-state'] = Field('tool-call-state', title='Type')
|
|
1266
|
-
current_state_machine_and_version: List = Field(
|
|
1266
|
+
current_state_machine_and_version: List[Any] = Field(
|
|
1267
1267
|
...,
|
|
1268
1268
|
description='The ID and version of the state machine that is currently being executed.',
|
|
1269
1269
|
max_length=2,
|
|
@@ -1283,7 +1283,7 @@ class ToolCallStateTransitionLog(BaseModel):
|
|
|
1283
1283
|
description='Name of the previous state to transition from.',
|
|
1284
1284
|
title='Previous State',
|
|
1285
1285
|
)
|
|
1286
|
-
previous_service_hierarchical_state_machine_version_info: List = Field(
|
|
1286
|
+
previous_service_hierarchical_state_machine_version_info: List[Any] = Field(
|
|
1287
1287
|
...,
|
|
1288
1288
|
description='The identifier of the service hierarchical state machine that the previous state is in.',
|
|
1289
1289
|
max_length=2,
|
|
@@ -1293,7 +1293,7 @@ class ToolCallStateTransitionLog(BaseModel):
|
|
|
1293
1293
|
next_state: str = Field(
|
|
1294
1294
|
..., description='Name of the next state to transition to.', title='Next State'
|
|
1295
1295
|
)
|
|
1296
|
-
next_service_hierarchical_state_machine_version_info: List = Field(
|
|
1296
|
+
next_service_hierarchical_state_machine_version_info: List[Any] = Field(
|
|
1297
1297
|
...,
|
|
1298
1298
|
description='The identifier of the service hierarchical state machine that the next state is in.',
|
|
1299
1299
|
max_length=2,
|
|
@@ -1396,8 +1396,8 @@ class TotalMessageCountMetricOutput(BaseModel):
|
|
|
1396
1396
|
message_count: int = Field(..., title='Message Count')
|
|
1397
1397
|
|
|
1398
1398
|
|
|
1399
|
-
class UnitTestRunSpecScenarioVersionInfo(RootModel[List]):
|
|
1400
|
-
root: List = Field(
|
|
1399
|
+
class UnitTestRunSpecScenarioVersionInfo(RootModel[List[Any]]):
|
|
1400
|
+
root: List[Any] = Field(
|
|
1401
1401
|
...,
|
|
1402
1402
|
description='The version of the scenario that the unit test runs on. This field is only populated if the authenticated user has the `Simulation:GetSimulationUnitTest` permission.',
|
|
1403
1403
|
max_length=2,
|
|
@@ -1406,8 +1406,8 @@ class UnitTestRunSpecScenarioVersionInfo(RootModel[List]):
|
|
|
1406
1406
|
)
|
|
1407
1407
|
|
|
1408
1408
|
|
|
1409
|
-
class UnitTestRunSpecPersonaVersionInfo(RootModel[List]):
|
|
1410
|
-
root: List = Field(
|
|
1409
|
+
class UnitTestRunSpecPersonaVersionInfo(RootModel[List[Any]]):
|
|
1410
|
+
root: List[Any] = Field(
|
|
1411
1411
|
...,
|
|
1412
1412
|
description='The version of the persona that the unit test runs on. This field is only populated if the authenticated user has the `Simulation:GetSimulationUnitTest` permission.',
|
|
1413
1413
|
max_length=2,
|
|
@@ -1658,16 +1658,16 @@ AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
|
1658
1658
|
)
|
|
1659
1659
|
|
|
1660
1660
|
|
|
1661
|
+
class AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag(BaseModel):
|
|
1662
|
+
key: str = Field(..., title='Key')
|
|
1663
|
+
value: Optional[str] = Field(..., title='Value')
|
|
1664
|
+
|
|
1665
|
+
|
|
1661
1666
|
AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo = (
|
|
1662
1667
|
AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1663
1668
|
)
|
|
1664
1669
|
|
|
1665
1670
|
|
|
1666
|
-
class AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag(BaseModel):
|
|
1667
|
-
key: str = Field(..., title='Key')
|
|
1668
|
-
value: Optional[str] = Field(..., title='Value')
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
1671
|
class AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUnitTestRunDescriptor(
|
|
1672
1672
|
BaseModel
|
|
1673
1673
|
):
|
|
@@ -1704,6 +1704,12 @@ AmigoLibMongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUserInfo
|
|
|
1704
1704
|
)
|
|
1705
1705
|
|
|
1706
1706
|
|
|
1707
|
+
class AmigoLibMongoCollectionsToolInvocationToolInvocationVersion(BaseModel):
|
|
1708
|
+
major: int = Field(..., title='Major')
|
|
1709
|
+
minor: int = Field(..., title='Minor')
|
|
1710
|
+
patch: int = Field(..., title='Patch')
|
|
1711
|
+
|
|
1712
|
+
|
|
1707
1713
|
class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
|
|
1708
1714
|
user_id: str = Field(..., description='The ID of the user.', title='User Id')
|
|
1709
1715
|
user_org_id: str = Field(
|
|
@@ -1711,12 +1717,6 @@ class AmigoLibMongoCollectionsToolVersionToolVersionUserInfo(BaseModel):
|
|
|
1711
1717
|
)
|
|
1712
1718
|
|
|
1713
1719
|
|
|
1714
|
-
class AmigoLibMongoCollectionsToolVersionToolVersionVersion(BaseModel):
|
|
1715
|
-
major: int = Field(..., title='Major')
|
|
1716
|
-
minor: int = Field(..., title='Minor')
|
|
1717
|
-
patch: int = Field(..., title='Patch')
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
1720
|
class AmigoLibMongoCollectionsUserUserPreferences(BaseModel):
|
|
1721
1721
|
enable_response_recommendation: Optional[bool] = Field(
|
|
1722
1722
|
False,
|
|
@@ -1780,7 +1780,7 @@ class AdminSubmitSqlQueryResponse(BaseModel):
|
|
|
1780
1780
|
description='The time taken to execute the query in milliseconds.',
|
|
1781
1781
|
title='Execution Time Ms',
|
|
1782
1782
|
)
|
|
1783
|
-
result: List[List] = Field(
|
|
1783
|
+
result: List[List[Any]] = Field(
|
|
1784
1784
|
...,
|
|
1785
1785
|
description='The result of the query as a list of rows, where each row is a list of column values.',
|
|
1786
1786
|
title='Result',
|
|
@@ -1870,9 +1870,9 @@ class ConversationGenerateConversationStarterResponse(BaseModel):
|
|
|
1870
1870
|
|
|
1871
1871
|
|
|
1872
1872
|
class ConversationGetInteractionInsightsResponseTriggeredDynamicBehaviorSetVersionInfo(
|
|
1873
|
-
RootModel[List]
|
|
1873
|
+
RootModel[List[Any]]
|
|
1874
1874
|
):
|
|
1875
|
-
root: List = Field(
|
|
1875
|
+
root: List[Any] = Field(
|
|
1876
1876
|
...,
|
|
1877
1877
|
description='The ID and version number of the dynamic behavior set that was activated during this interaction.',
|
|
1878
1878
|
max_length=2,
|
|
@@ -11236,6 +11236,37 @@ class SimulationGetSimulationScenariosResponseFilterValues(BaseModel):
|
|
|
11236
11236
|
)
|
|
11237
11237
|
|
|
11238
11238
|
|
|
11239
|
+
class SimulationGetSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
|
|
11240
|
+
id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
|
|
11241
|
+
name: str = Field(
|
|
11242
|
+
..., description='The name of the simulation scenario.', title='Name'
|
|
11243
|
+
)
|
|
11244
|
+
tags: Dict[str, Optional[str]] = Field(
|
|
11245
|
+
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11246
|
+
)
|
|
11247
|
+
is_deleted: bool = Field(
|
|
11248
|
+
...,
|
|
11249
|
+
description='Whether the simulation scenario is deleted.',
|
|
11250
|
+
title='Is Deleted',
|
|
11251
|
+
)
|
|
11252
|
+
created_at: AwareDatetime = Field(
|
|
11253
|
+
...,
|
|
11254
|
+
description='The timestamp when the simulation scenario was created.',
|
|
11255
|
+
title='Created At',
|
|
11256
|
+
)
|
|
11257
|
+
creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11258
|
+
Field(..., description='The user who created the simulation scenario.')
|
|
11259
|
+
)
|
|
11260
|
+
updated_at: AwareDatetime = Field(
|
|
11261
|
+
...,
|
|
11262
|
+
description='The timestamp when the simulation scenario was last updated.',
|
|
11263
|
+
title='Updated At',
|
|
11264
|
+
)
|
|
11265
|
+
updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11266
|
+
Field(..., description='The user who last updated the simulation scenario.')
|
|
11267
|
+
)
|
|
11268
|
+
|
|
11269
|
+
|
|
11239
11270
|
class SimulationGetSimulationUnitTestSetRunArtifactsResponse(BaseModel):
|
|
11240
11271
|
presigned_url: str = Field(
|
|
11241
11272
|
...,
|
|
@@ -11358,34 +11389,13 @@ class SimulationSearchSimulationPersonasResponseSimulationPersonaInstance(BaseMo
|
|
|
11358
11389
|
)
|
|
11359
11390
|
|
|
11360
11391
|
|
|
11361
|
-
class
|
|
11362
|
-
|
|
11363
|
-
|
|
11364
|
-
|
|
11365
|
-
)
|
|
11366
|
-
tags: Dict[str, Optional[str]] = Field(
|
|
11367
|
-
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11368
|
-
)
|
|
11369
|
-
is_deleted: bool = Field(
|
|
11370
|
-
...,
|
|
11371
|
-
description='Whether the simulation scenario is deleted.',
|
|
11372
|
-
title='Is Deleted',
|
|
11373
|
-
)
|
|
11374
|
-
created_at: AwareDatetime = Field(
|
|
11375
|
-
...,
|
|
11376
|
-
description='The timestamp when the simulation scenario was created.',
|
|
11377
|
-
title='Created At',
|
|
11378
|
-
)
|
|
11379
|
-
creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11380
|
-
Field(..., description='The user who created the simulation scenario.')
|
|
11381
|
-
)
|
|
11382
|
-
updated_at: AwareDatetime = Field(
|
|
11392
|
+
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
11393
|
+
simulation_scenarios: List[
|
|
11394
|
+
SimulationGetSimulationScenariosResponseSimulationScenarioInstance
|
|
11395
|
+
] = Field(
|
|
11383
11396
|
...,
|
|
11384
|
-
description='The
|
|
11385
|
-
title='
|
|
11386
|
-
)
|
|
11387
|
-
updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11388
|
-
Field(..., description='The user who last updated the simulation scenario.')
|
|
11397
|
+
description='The list of simulation scenarios.',
|
|
11398
|
+
title='Simulation Scenarios',
|
|
11389
11399
|
)
|
|
11390
11400
|
|
|
11391
11401
|
|
|
@@ -11515,22 +11525,6 @@ class ToolGetToolsResponseFilterValues(BaseModel):
|
|
|
11515
11525
|
)
|
|
11516
11526
|
|
|
11517
11527
|
|
|
11518
|
-
class ToolInvokeToolVersionRequestInputInvocationMode(Enum):
|
|
11519
|
-
regular = 'regular'
|
|
11520
|
-
conversation_simulation = 'conversation-simulation'
|
|
11521
|
-
|
|
11522
|
-
|
|
11523
|
-
class ToolInvokeToolVersionRequestInput(BaseModel):
|
|
11524
|
-
input_parameters: Dict[str, Any] = Field(
|
|
11525
|
-
...,
|
|
11526
|
-
description='The input parameters for the tool invocation.',
|
|
11527
|
-
title='Input Parameters',
|
|
11528
|
-
)
|
|
11529
|
-
invocation_mode: ToolInvokeToolVersionRequestInputInvocationMode = Field(
|
|
11530
|
-
..., description='The mode of invocation.', title='Invocation Mode'
|
|
11531
|
-
)
|
|
11532
|
-
|
|
11533
|
-
|
|
11534
11528
|
class ToolModifyToolRequest(BaseModel):
|
|
11535
11529
|
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
11536
11530
|
None, description='A description of this tool. Only updates if not-null.'
|
|
@@ -11573,34 +11567,19 @@ class ToolPublishToolVersionResponse(BaseModel):
|
|
|
11573
11567
|
)
|
|
11574
11568
|
|
|
11575
11569
|
|
|
11576
|
-
class
|
|
11577
|
-
|
|
11578
|
-
|
|
11579
|
-
|
|
11580
|
-
|
|
11581
|
-
|
|
11582
|
-
|
|
11583
|
-
)
|
|
11584
|
-
commit_branch: str = Field(
|
|
11585
|
-
...,
|
|
11586
|
-
description='The branch in the tools repo whose tip will be tested.',
|
|
11587
|
-
title='Commit Branch',
|
|
11588
|
-
)
|
|
11589
|
-
project_path: str = Field(
|
|
11590
|
-
...,
|
|
11591
|
-
description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
|
|
11592
|
-
pattern='^[-\\w\\d_/]+$',
|
|
11593
|
-
title='Project Path',
|
|
11594
|
-
)
|
|
11595
|
-
required_envvars: Dict[str, str] = Field(
|
|
11570
|
+
class ToolTestToolRequestInputInvocationMode(Enum):
|
|
11571
|
+
regular = 'regular'
|
|
11572
|
+
conversation_simulation = 'conversation-simulation'
|
|
11573
|
+
|
|
11574
|
+
|
|
11575
|
+
class ToolTestToolRequestInput(BaseModel):
|
|
11576
|
+
input_parameters: Dict[str, Any] = Field(
|
|
11596
11577
|
...,
|
|
11597
|
-
description='The
|
|
11598
|
-
title='
|
|
11578
|
+
description='The input parameters for the tool invocation.',
|
|
11579
|
+
title='Input Parameters',
|
|
11599
11580
|
)
|
|
11600
|
-
|
|
11601
|
-
...,
|
|
11602
|
-
description='The secret environment variables required for the tool to run.',
|
|
11603
|
-
title='Required Secret Envvars',
|
|
11581
|
+
invocation_mode: ToolTestToolRequestInputInvocationMode = Field(
|
|
11582
|
+
..., description='The mode of invocation.', title='Invocation Mode'
|
|
11604
11583
|
)
|
|
11605
11584
|
|
|
11606
11585
|
|
|
@@ -12111,7 +12090,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
|
|
|
12111
12090
|
[], description='The IDs of the messages to retrieve.', title='Id'
|
|
12112
12091
|
)
|
|
12113
12092
|
message_type: Optional[List[MessageType]] = Field(
|
|
12114
|
-
['user-message', '
|
|
12093
|
+
['user-message', 'external-event', 'agent-message'],
|
|
12115
12094
|
description='The type of messages to retrieve.',
|
|
12116
12095
|
title='Message Type',
|
|
12117
12096
|
)
|
|
@@ -13556,7 +13535,7 @@ class ActionStateTransitionLog(BaseModel):
|
|
|
13556
13535
|
description='Name of the previous state to transition from.',
|
|
13557
13536
|
title='Previous State',
|
|
13558
13537
|
)
|
|
13559
|
-
previous_service_hierarchical_state_machine_version_info: List = Field(
|
|
13538
|
+
previous_service_hierarchical_state_machine_version_info: List[Any] = Field(
|
|
13560
13539
|
...,
|
|
13561
13540
|
description='The identifier of the service hierarchical state machine that the previous state is in.',
|
|
13562
13541
|
max_length=2,
|
|
@@ -13566,7 +13545,7 @@ class ActionStateTransitionLog(BaseModel):
|
|
|
13566
13545
|
next_state: str = Field(
|
|
13567
13546
|
..., description='Name of the next state to transition to.', title='Next State'
|
|
13568
13547
|
)
|
|
13569
|
-
next_service_hierarchical_state_machine_version_info: List = Field(
|
|
13548
|
+
next_service_hierarchical_state_machine_version_info: List[Any] = Field(
|
|
13570
13549
|
...,
|
|
13571
13550
|
description='The identifier of the service hierarchical state machine that the next state is in.',
|
|
13572
13551
|
max_length=2,
|
|
@@ -13654,7 +13633,7 @@ class DecisionStateTransitionLog(BaseModel):
|
|
|
13654
13633
|
description='Name of the previous state to transition from.',
|
|
13655
13634
|
title='Previous State',
|
|
13656
13635
|
)
|
|
13657
|
-
previous_service_hierarchical_state_machine_version_info: List = Field(
|
|
13636
|
+
previous_service_hierarchical_state_machine_version_info: List[Any] = Field(
|
|
13658
13637
|
...,
|
|
13659
13638
|
description='The identifier of the service hierarchical state machine that the previous state is in.',
|
|
13660
13639
|
max_length=2,
|
|
@@ -13664,7 +13643,7 @@ class DecisionStateTransitionLog(BaseModel):
|
|
|
13664
13643
|
next_state: str = Field(
|
|
13665
13644
|
..., description='Name of the next state to transition to.', title='Next State'
|
|
13666
13645
|
)
|
|
13667
|
-
next_service_hierarchical_state_machine_version_info: List = Field(
|
|
13646
|
+
next_service_hierarchical_state_machine_version_info: List[Any] = Field(
|
|
13668
13647
|
...,
|
|
13669
13648
|
description='The identifier of the service hierarchical state machine that the next state is in.',
|
|
13670
13649
|
max_length=2,
|
|
@@ -13837,7 +13816,7 @@ class ReflectionStateTransitionLog(BaseModel):
|
|
|
13837
13816
|
description='Name of the previous state to transition from.',
|
|
13838
13817
|
title='Previous State',
|
|
13839
13818
|
)
|
|
13840
|
-
previous_service_hierarchical_state_machine_version_info: List = Field(
|
|
13819
|
+
previous_service_hierarchical_state_machine_version_info: List[Any] = Field(
|
|
13841
13820
|
...,
|
|
13842
13821
|
description='The identifier of the service hierarchical state machine that the previous state is in.',
|
|
13843
13822
|
max_length=2,
|
|
@@ -13847,7 +13826,7 @@ class ReflectionStateTransitionLog(BaseModel):
|
|
|
13847
13826
|
next_state: str = Field(
|
|
13848
13827
|
..., description='Name of the next state to transition to.', title='Next State'
|
|
13849
13828
|
)
|
|
13850
|
-
next_service_hierarchical_state_machine_version_info: List = Field(
|
|
13829
|
+
next_service_hierarchical_state_machine_version_info: List[Any] = Field(
|
|
13851
13830
|
...,
|
|
13852
13831
|
description='The identifier of the service hierarchical state machine that the next state is in.',
|
|
13853
13832
|
max_length=2,
|
|
@@ -13917,9 +13896,9 @@ class ServiceInstance(BaseModel):
|
|
|
13917
13896
|
agent_id: str = Field(
|
|
13918
13897
|
..., description='The ID of the agent that this service uses.', title='Agent Id'
|
|
13919
13898
|
)
|
|
13920
|
-
tags: List[
|
|
13921
|
-
|
|
13922
|
-
|
|
13899
|
+
tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
|
|
13900
|
+
..., description='The tags of the service.', title='Tags'
|
|
13901
|
+
)
|
|
13923
13902
|
|
|
13924
13903
|
|
|
13925
13904
|
class SimulationConversationInvocationSource(BaseModel):
|
|
@@ -13970,9 +13949,7 @@ class SimulationUnitTestSet(BaseModel):
|
|
|
13970
13949
|
description='Whether the unit test set has been deleted.',
|
|
13971
13950
|
title='Is Deleted',
|
|
13972
13951
|
)
|
|
13973
|
-
tags: List[
|
|
13974
|
-
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
13975
|
-
] = Field(
|
|
13952
|
+
tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
|
|
13976
13953
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13977
13954
|
)
|
|
13978
13955
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -14011,9 +13988,7 @@ class SimulationUnitTestSetInstance(BaseModel):
|
|
|
14011
13988
|
description='Whether the unit test set has been deleted.',
|
|
14012
13989
|
title='Is Deleted',
|
|
14013
13990
|
)
|
|
14014
|
-
tags: List[
|
|
14015
|
-
AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetTag
|
|
14016
|
-
] = Field(
|
|
13991
|
+
tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
|
|
14017
13992
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
14018
13993
|
)
|
|
14019
13994
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -14129,9 +14104,9 @@ class ToolInstance(BaseModel):
|
|
|
14129
14104
|
description='A list of encrypted environment variables that some versions of this tool uses.',
|
|
14130
14105
|
title='Secret Envvars',
|
|
14131
14106
|
)
|
|
14132
|
-
tags: List[
|
|
14133
|
-
|
|
14134
|
-
|
|
14107
|
+
tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
|
|
14108
|
+
..., description='The tags of the simulation persona.', title='Tags'
|
|
14109
|
+
)
|
|
14135
14110
|
|
|
14136
14111
|
|
|
14137
14112
|
class ToolVersionInstance(BaseModel):
|
|
@@ -14144,7 +14119,7 @@ class ToolVersionInstance(BaseModel):
|
|
|
14144
14119
|
description='The ID of the tool that this version belongs to.',
|
|
14145
14120
|
title='Tool Id',
|
|
14146
14121
|
)
|
|
14147
|
-
version:
|
|
14122
|
+
version: AmigoLibMongoCollectionsToolInvocationToolInvocationVersion = Field(
|
|
14148
14123
|
..., description='The version of the tool.'
|
|
14149
14124
|
)
|
|
14150
14125
|
required_envvars: List[str] = Field(
|
|
@@ -14225,14 +14200,14 @@ class VersionSetInfo(BaseModel):
|
|
|
14225
14200
|
description='The name of the version set. If the value is `unknown`, it means the conversation was created before this field was introduced and the version set name cannot be retroactively determined.',
|
|
14226
14201
|
title='Name',
|
|
14227
14202
|
)
|
|
14228
|
-
agent_version_info: List = Field(
|
|
14203
|
+
agent_version_info: List[Any] = Field(
|
|
14229
14204
|
...,
|
|
14230
14205
|
description='The ID of the agent and version number used in this conversation.',
|
|
14231
14206
|
max_length=2,
|
|
14232
14207
|
min_length=2,
|
|
14233
14208
|
title='Agent Version Info',
|
|
14234
14209
|
)
|
|
14235
|
-
service_hierarchical_state_machine_version_info: List = Field(
|
|
14210
|
+
service_hierarchical_state_machine_version_info: List[Any] = Field(
|
|
14236
14211
|
...,
|
|
14237
14212
|
description='The ID of the state machine and version number used in this conversation.',
|
|
14238
14213
|
max_length=2,
|
|
@@ -14791,22 +14766,6 @@ class RoleModifyRoleRequest(BaseModel):
|
|
|
14791
14766
|
)
|
|
14792
14767
|
|
|
14793
14768
|
|
|
14794
|
-
class ServiceCreateServiceRequestVersionSet(BaseModel):
|
|
14795
|
-
agent_version_number: Optional[int] = Field(
|
|
14796
|
-
...,
|
|
14797
|
-
description='The version number of the agent to be used. If None, the latest agent version will be used.',
|
|
14798
|
-
title='Agent Version Number',
|
|
14799
|
-
)
|
|
14800
|
-
service_hierarchical_state_machine_version_number: Optional[int] = Field(
|
|
14801
|
-
...,
|
|
14802
|
-
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
14803
|
-
title='Service Hierarchical State Machine Version Number',
|
|
14804
|
-
)
|
|
14805
|
-
llm_model_preferences: Dict[
|
|
14806
|
-
str, ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig
|
|
14807
|
-
] = Field(..., title='Llm Model Preferences')
|
|
14808
|
-
|
|
14809
|
-
|
|
14810
14769
|
class ServiceGetServicesResponse(BaseModel):
|
|
14811
14770
|
services: List[ServiceInstance] = Field(
|
|
14812
14771
|
..., description='The services that are found.', title='Services'
|
|
@@ -14827,10 +14786,20 @@ class ServiceGetServicesResponse(BaseModel):
|
|
|
14827
14786
|
)
|
|
14828
14787
|
|
|
14829
14788
|
|
|
14830
|
-
class
|
|
14831
|
-
|
|
14832
|
-
...,
|
|
14789
|
+
class ServiceUpsertServiceVersionSetRequestVersionSet(BaseModel):
|
|
14790
|
+
agent_version_number: Optional[int] = Field(
|
|
14791
|
+
...,
|
|
14792
|
+
description='The version number of the agent to be used. If None, the latest agent version will be used.',
|
|
14793
|
+
title='Agent Version Number',
|
|
14833
14794
|
)
|
|
14795
|
+
service_hierarchical_state_machine_version_number: Optional[int] = Field(
|
|
14796
|
+
...,
|
|
14797
|
+
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
14798
|
+
title='Service Hierarchical State Machine Version Number',
|
|
14799
|
+
)
|
|
14800
|
+
llm_model_preferences: Dict[
|
|
14801
|
+
str, ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig
|
|
14802
|
+
] = Field(..., title='Llm Model Preferences')
|
|
14834
14803
|
|
|
14835
14804
|
|
|
14836
14805
|
class SimulationCreateSimulationPersonaRequest(BaseModel):
|
|
@@ -14920,7 +14889,7 @@ class SimulationGetSimulationPersonasResponse(BaseModel):
|
|
|
14920
14889
|
|
|
14921
14890
|
class SimulationGetSimulationScenariosResponse(BaseModel):
|
|
14922
14891
|
simulation_scenarios: List[
|
|
14923
|
-
|
|
14892
|
+
SimulationGetSimulationScenariosResponseSimulationScenarioInstance
|
|
14924
14893
|
] = Field(
|
|
14925
14894
|
...,
|
|
14926
14895
|
description='The list of simulation scenarios.',
|
|
@@ -14976,16 +14945,6 @@ class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
|
14976
14945
|
)
|
|
14977
14946
|
|
|
14978
14947
|
|
|
14979
|
-
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
14980
|
-
simulation_scenarios: List[
|
|
14981
|
-
SimulationSearchSimulationScenariosResponseSimulationScenarioInstance
|
|
14982
|
-
] = Field(
|
|
14983
|
-
...,
|
|
14984
|
-
description='The list of simulation scenarios.',
|
|
14985
|
-
title='Simulation Scenarios',
|
|
14986
|
-
)
|
|
14987
|
-
|
|
14988
|
-
|
|
14989
14948
|
class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
|
|
14990
14949
|
simulation_unit_test_sets: List[SimulationUnitTestSet] = Field(
|
|
14991
14950
|
...,
|
|
@@ -15040,7 +14999,7 @@ class ToolGetToolsResponse(BaseModel):
|
|
|
15040
14999
|
|
|
15041
15000
|
|
|
15042
15001
|
class ToolInvokeToolVersionRequest(BaseModel):
|
|
15043
|
-
inputs: List[
|
|
15002
|
+
inputs: List[ToolTestToolRequestInput] = Field(
|
|
15044
15003
|
...,
|
|
15045
15004
|
description='The list of inputs for the tool invocation.',
|
|
15046
15005
|
max_length=10,
|
|
@@ -15061,6 +15020,37 @@ class ToolModifyToolEnvvarsRequest(BaseModel):
|
|
|
15061
15020
|
deletes: Optional[List[DeleteRequest]] = Field([], title='Deletes')
|
|
15062
15021
|
|
|
15063
15022
|
|
|
15023
|
+
class ToolTestToolRequest(BaseModel):
|
|
15024
|
+
inputs: List[ToolTestToolRequestInput] = Field(
|
|
15025
|
+
...,
|
|
15026
|
+
description='The list of inputs for the tool invocation.',
|
|
15027
|
+
max_length=10,
|
|
15028
|
+
min_length=1,
|
|
15029
|
+
title='Inputs',
|
|
15030
|
+
)
|
|
15031
|
+
commit_branch: str = Field(
|
|
15032
|
+
...,
|
|
15033
|
+
description='The branch in the tools repo whose tip will be tested.',
|
|
15034
|
+
title='Commit Branch',
|
|
15035
|
+
)
|
|
15036
|
+
project_path: str = Field(
|
|
15037
|
+
...,
|
|
15038
|
+
description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
|
|
15039
|
+
pattern='^[-\\w\\d_/]+$',
|
|
15040
|
+
title='Project Path',
|
|
15041
|
+
)
|
|
15042
|
+
required_envvars: Dict[str, str] = Field(
|
|
15043
|
+
...,
|
|
15044
|
+
description='The environment variables required for the tool to run.',
|
|
15045
|
+
title='Required Envvars',
|
|
15046
|
+
)
|
|
15047
|
+
required_secret_envvars: Dict[str, str] = Field(
|
|
15048
|
+
...,
|
|
15049
|
+
description='The secret environment variables required for the tool to run.',
|
|
15050
|
+
title='Required Secret Envvars',
|
|
15051
|
+
)
|
|
15052
|
+
|
|
15053
|
+
|
|
15064
15054
|
ToolTestToolResponse = ToolInvokeToolVersionResponse
|
|
15065
15055
|
|
|
15066
15056
|
|
|
@@ -15377,9 +15367,9 @@ class Metric(BaseModel):
|
|
|
15377
15367
|
additional_notes: Optional[str] = Field(
|
|
15378
15368
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15379
15369
|
)
|
|
15380
|
-
tags: List[
|
|
15381
|
-
|
|
15382
|
-
|
|
15370
|
+
tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
|
|
15371
|
+
..., description='The tags of the metric.', title='Tags'
|
|
15372
|
+
)
|
|
15383
15373
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
15384
15374
|
..., description='The user who created the metric.'
|
|
15385
15375
|
)
|
|
@@ -15447,9 +15437,9 @@ class MetricInstance(BaseModel):
|
|
|
15447
15437
|
additional_notes: Optional[str] = Field(
|
|
15448
15438
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15449
15439
|
)
|
|
15450
|
-
tags: List[
|
|
15451
|
-
|
|
15452
|
-
|
|
15440
|
+
tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
|
|
15441
|
+
..., description='The tags of the metric.', title='Tags'
|
|
15442
|
+
)
|
|
15453
15443
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
15454
15444
|
..., description='The user who created the metric.'
|
|
15455
15445
|
)
|
|
@@ -15587,7 +15577,7 @@ class ServiceHierarchicalStateMachineInstance(BaseModel):
|
|
|
15587
15577
|
description='The state the user will be in when the session ends. This must be an action state.',
|
|
15588
15578
|
title='Terminal State',
|
|
15589
15579
|
)
|
|
15590
|
-
references: Dict[str, List] = Field(
|
|
15580
|
+
references: Dict[str, List[Any]] = Field(
|
|
15591
15581
|
...,
|
|
15592
15582
|
description="A dictionary of other service hierarchical state machine versions that this references to. This field is a map of the reference name to the machine's ID and its version number.",
|
|
15593
15583
|
title='References',
|
|
@@ -15649,9 +15639,9 @@ class SimulationUnitTest(BaseModel):
|
|
|
15649
15639
|
is_deleted: bool = Field(
|
|
15650
15640
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15651
15641
|
)
|
|
15652
|
-
tags: List[
|
|
15653
|
-
|
|
15654
|
-
|
|
15642
|
+
tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
|
|
15643
|
+
..., description='The tags of the simulation persona.', title='Tags'
|
|
15644
|
+
)
|
|
15655
15645
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15656
15646
|
updated_by: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15657
15647
|
|
|
@@ -15694,9 +15684,9 @@ class SimulationUnitTestInstance(BaseModel):
|
|
|
15694
15684
|
is_deleted: bool = Field(
|
|
15695
15685
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15696
15686
|
)
|
|
15697
|
-
tags: List[
|
|
15698
|
-
|
|
15699
|
-
|
|
15687
|
+
tags: List[AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestTag] = Field(
|
|
15688
|
+
..., description='The tags of the simulation persona.', title='Tags'
|
|
15689
|
+
)
|
|
15700
15690
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15701
15691
|
updated_by: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
15702
15692
|
|
|
@@ -15708,14 +15698,14 @@ class UnitTestRunSpec(BaseModel):
|
|
|
15708
15698
|
run_count: int = Field(
|
|
15709
15699
|
..., description='The number of times to run the unit test.', title='Run Count'
|
|
15710
15700
|
)
|
|
15711
|
-
service_hierarchical_state_machine_version_info: List = Field(
|
|
15701
|
+
service_hierarchical_state_machine_version_info: List[Any] = Field(
|
|
15712
15702
|
...,
|
|
15713
15703
|
description='The version of the service hierarchical state machine that the unit test runs on.',
|
|
15714
15704
|
max_length=2,
|
|
15715
15705
|
min_length=2,
|
|
15716
15706
|
title='Service Hierarchical State Machine Version Info',
|
|
15717
15707
|
)
|
|
15718
|
-
agent_version_info: List = Field(
|
|
15708
|
+
agent_version_info: List[Any] = Field(
|
|
15719
15709
|
...,
|
|
15720
15710
|
description='The version of the agent that the unit test runs on.',
|
|
15721
15711
|
max_length=2,
|
|
@@ -15922,7 +15912,7 @@ class OrganizationCreateServiceHierarchicalStateMachineVersionRequest(BaseModel)
|
|
|
15922
15912
|
description='The state the user will be in when the session ends. This must be an action state, and must be an internal state.',
|
|
15923
15913
|
pattern='^[A-Za-z0-9_]+$',
|
|
15924
15914
|
)
|
|
15925
|
-
references: Dict[str, List] = Field(
|
|
15915
|
+
references: Dict[str, List[Any]] = Field(
|
|
15926
15916
|
...,
|
|
15927
15917
|
description="A dictionary of other service hierarchical state machines that this references to. This field is a map of the reference name to the machine's ID and its version number.",
|
|
15928
15918
|
title='References',
|
|
@@ -16042,15 +16032,23 @@ class ServiceCreateServiceRequest(BaseModel):
|
|
|
16042
16032
|
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.',
|
|
16043
16033
|
title='Is Active',
|
|
16044
16034
|
)
|
|
16045
|
-
release_version_set: Optional[
|
|
16046
|
-
|
|
16047
|
-
|
|
16035
|
+
release_version_set: Optional[ServiceUpsertServiceVersionSetRequestVersionSet] = (
|
|
16036
|
+
Field(
|
|
16037
|
+
None,
|
|
16038
|
+
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.',
|
|
16039
|
+
)
|
|
16048
16040
|
)
|
|
16049
16041
|
tags: Dict[str, Optional[StrippedNonemptyStringWS]] = Field(
|
|
16050
16042
|
..., description='The tags of this service.', title='Tags'
|
|
16051
16043
|
)
|
|
16052
16044
|
|
|
16053
16045
|
|
|
16046
|
+
class ServiceUpsertServiceVersionSetRequest(BaseModel):
|
|
16047
|
+
version_set: ServiceUpsertServiceVersionSetRequestVersionSet = Field(
|
|
16048
|
+
..., description='The version set to upsert.'
|
|
16049
|
+
)
|
|
16050
|
+
|
|
16051
|
+
|
|
16054
16052
|
class SimulationCreateSimulationUnitTestRequest(BaseModel):
|
|
16055
16053
|
name: str = Field(..., description='The name of the unit test.', min_length=1)
|
|
16056
16054
|
description: str = Field(
|
|
@@ -16184,7 +16182,7 @@ class SimulationUpdateSimulationUnitTestRequest(BaseModel):
|
|
|
16184
16182
|
)
|
|
16185
16183
|
|
|
16186
16184
|
|
|
16187
|
-
class
|
|
16185
|
+
class ToolSearchToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
16188
16186
|
id: str = Field(..., description='The ID of the tool invocation.', title='Id')
|
|
16189
16187
|
org_id: str = Field(..., description='The ID of the organization.', title='Org Id')
|
|
16190
16188
|
created_at: Optional[AwareDatetime] = Field(None, title='Created At')
|
|
@@ -16206,19 +16204,11 @@ class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
|
16206
16204
|
tool_id: str = Field(
|
|
16207
16205
|
..., description='The ID of the tool that was invoked.', title='Tool Id'
|
|
16208
16206
|
)
|
|
16209
|
-
tool_version:
|
|
16207
|
+
tool_version: AmigoLibMongoCollectionsToolInvocationToolInvocationVersion = Field(
|
|
16210
16208
|
..., description='The version of the tool that was invoked.'
|
|
16211
16209
|
)
|
|
16212
16210
|
|
|
16213
16211
|
|
|
16214
|
-
class ToolSearchToolInvocationsResponse(BaseModel):
|
|
16215
|
-
tool_invocations: List[ToolGetToolInvocationsResponseToolInvocationInstance] = (
|
|
16216
|
-
Field(
|
|
16217
|
-
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16218
|
-
)
|
|
16219
|
-
)
|
|
16220
|
-
|
|
16221
|
-
|
|
16222
16212
|
class UserGetUsersResponse(BaseModel):
|
|
16223
16213
|
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
16224
16214
|
..., description='Users in this organization.', title='Users'
|
|
@@ -16332,7 +16322,7 @@ class SimulationGetSimulationUnitTestSetRunsResponse(BaseModel):
|
|
|
16332
16322
|
|
|
16333
16323
|
|
|
16334
16324
|
class ToolGetToolInvocationsResponse(BaseModel):
|
|
16335
|
-
tool_invocations: List[
|
|
16325
|
+
tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
|
|
16336
16326
|
Field(
|
|
16337
16327
|
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16338
16328
|
)
|
|
@@ -16347,3 +16337,11 @@ class ToolGetToolInvocationsResponse(BaseModel):
|
|
|
16347
16337
|
description='The continuation token to retrieve the next page of tool invocations, or null if there are no more tool invocations.',
|
|
16348
16338
|
title='Continuation Token',
|
|
16349
16339
|
)
|
|
16340
|
+
|
|
16341
|
+
|
|
16342
|
+
class ToolSearchToolInvocationsResponse(BaseModel):
|
|
16343
|
+
tool_invocations: List[ToolSearchToolInvocationsResponseToolInvocationInstance] = (
|
|
16344
|
+
Field(
|
|
16345
|
+
..., description='The list of tool invocations.', title='Tool Invocations'
|
|
16346
|
+
)
|
|
16347
|
+
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
amigo_sdk/__init__.py,sha256=
|
|
1
|
+
amigo_sdk/__init__.py,sha256=wYrr7-kI3UXVygIXUsFCktVIZI4zZYVos0z-lkZBmgk,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=AC2gU43CVs61eLPn6vwaoy_2qS4h9IHRTztw69QOCMM,457134
|
|
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.68.0.dist-info/METADATA,sha256=DEJu0boyDaXm4W5LMyXWhlUsZHKWZPbih_hCauyiZC0,8499
|
|
15
|
+
amigo_sdk-0.68.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
16
|
+
amigo_sdk-0.68.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
|
|
17
|
+
amigo_sdk-0.68.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
|
|
18
|
+
amigo_sdk-0.68.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|