amigo_sdk 0.67.0__py3-none-any.whl → 0.70.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 +202 -200
- {amigo_sdk-0.67.0.dist-info → amigo_sdk-0.70.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.67.0.dist-info → amigo_sdk-0.70.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.67.0.dist-info → amigo_sdk-0.70.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.67.0.dist-info → amigo_sdk-0.70.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.67.0.dist-info → amigo_sdk-0.70.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-03T16:58:45+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,
|
|
@@ -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,
|
|
@@ -1955,6 +1955,20 @@ class DynamicBehaviorSetGetDynamicBehaviorInvocationsResponse(BaseModel):
|
|
|
1955
1955
|
)
|
|
1956
1956
|
|
|
1957
1957
|
|
|
1958
|
+
class DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance(
|
|
1959
|
+
BaseModel
|
|
1960
|
+
):
|
|
1961
|
+
id: str = Field(..., title='Id')
|
|
1962
|
+
name: str = Field(..., title='Name')
|
|
1963
|
+
is_active: bool = Field(..., title='Is Active')
|
|
1964
|
+
applied_to_services: List[str] = Field(..., title='Applied To Services')
|
|
1965
|
+
tags: Dict[str, Optional[str]] = Field(..., title='Tags')
|
|
1966
|
+
created_at: AwareDatetime = Field(..., title='Created At')
|
|
1967
|
+
creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1968
|
+
updated_at: AwareDatetime = Field(..., title='Updated At')
|
|
1969
|
+
updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1970
|
+
|
|
1971
|
+
|
|
1958
1972
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
1959
1973
|
applied_to_services_ids: List[str] = Field(
|
|
1960
1974
|
...,
|
|
@@ -1975,18 +1989,14 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponseFilterValues(BaseModel):
|
|
|
1975
1989
|
)
|
|
1976
1990
|
|
|
1977
1991
|
|
|
1978
|
-
class
|
|
1979
|
-
|
|
1980
|
-
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
1985
|
-
|
|
1986
|
-
created_at: AwareDatetime = Field(..., title='Created At')
|
|
1987
|
-
creator: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1988
|
-
updated_at: AwareDatetime = Field(..., title='Updated At')
|
|
1989
|
-
updated_by: AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1992
|
+
class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
|
|
1993
|
+
dynamic_behavior_sets: List[
|
|
1994
|
+
DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
1995
|
+
] = Field(
|
|
1996
|
+
...,
|
|
1997
|
+
description='The retrieved dynamic behavior sets.',
|
|
1998
|
+
title='Dynamic Behavior Sets',
|
|
1999
|
+
)
|
|
1990
2000
|
|
|
1991
2001
|
|
|
1992
2002
|
class DynamicBehaviorSetUpdateDynamicBehaviorSetRequestAppliedToService(
|
|
@@ -10742,13 +10752,6 @@ class OrganizationCreateOrganizationRequestPreferences(BaseModel):
|
|
|
10742
10752
|
)
|
|
10743
10753
|
|
|
10744
10754
|
|
|
10745
|
-
class OrganizationCreateOrganizationRequestUserDimension(BaseModel):
|
|
10746
|
-
description: str = Field(..., min_length=1)
|
|
10747
|
-
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10748
|
-
..., title='Tags'
|
|
10749
|
-
)
|
|
10750
|
-
|
|
10751
|
-
|
|
10752
10755
|
class OrganizationCreateOrganizationResponse(BaseModel):
|
|
10753
10756
|
org_id: str = Field(
|
|
10754
10757
|
...,
|
|
@@ -10772,19 +10775,19 @@ class OrganizationCreateServiceHierarchicalStateMachineResponse(BaseModel):
|
|
|
10772
10775
|
)
|
|
10773
10776
|
|
|
10774
10777
|
|
|
10775
|
-
class
|
|
10778
|
+
class OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitConditionNextState(
|
|
10776
10779
|
AnnotationStateInputNextState
|
|
10777
10780
|
):
|
|
10778
10781
|
pass
|
|
10779
10782
|
|
|
10780
10783
|
|
|
10781
|
-
class
|
|
10784
|
+
class OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition(
|
|
10782
10785
|
BaseModel
|
|
10783
10786
|
):
|
|
10784
10787
|
description: str = Field(..., min_length=1)
|
|
10785
10788
|
next_state: Union[
|
|
10786
10789
|
StateOrRefName,
|
|
10787
|
-
|
|
10790
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitConditionNextState,
|
|
10788
10791
|
] = Field(..., title='Next State')
|
|
10789
10792
|
|
|
10790
10793
|
|
|
@@ -10890,22 +10893,18 @@ class OrganizationGetUserDimensionsResponse(BaseModel):
|
|
|
10890
10893
|
)
|
|
10891
10894
|
|
|
10892
10895
|
|
|
10893
|
-
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
10894
|
-
RootModel[List[OrganizationCreateOrganizationRequestUserDimension]]
|
|
10895
|
-
):
|
|
10896
|
-
root: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
10897
|
-
...,
|
|
10898
|
-
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
10899
|
-
min_length=1,
|
|
10900
|
-
title='User Dimensions',
|
|
10901
|
-
)
|
|
10902
|
-
|
|
10903
|
-
|
|
10904
10896
|
OrganizationModifyOrganizationRequestPreferences = (
|
|
10905
10897
|
OrganizationCreateOrganizationRequestPreferences
|
|
10906
10898
|
)
|
|
10907
10899
|
|
|
10908
10900
|
|
|
10901
|
+
class OrganizationModifyOrganizationRequestUserDimension(BaseModel):
|
|
10902
|
+
description: str = Field(..., min_length=1)
|
|
10903
|
+
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10904
|
+
..., title='Tags'
|
|
10905
|
+
)
|
|
10906
|
+
|
|
10907
|
+
|
|
10909
10908
|
class RoleAssignRoleRequest(BaseModel):
|
|
10910
10909
|
user_id: str = Field(
|
|
10911
10910
|
...,
|
|
@@ -10952,6 +10951,13 @@ class RoleModifyRoleResponse(BaseModel):
|
|
|
10952
10951
|
)
|
|
10953
10952
|
|
|
10954
10953
|
|
|
10954
|
+
class ServiceCreateServiceRequestVersionSetLLMConfig(BaseModel):
|
|
10955
|
+
llm_name: LLMType
|
|
10956
|
+
params: Optional[Dict[str, Any]] = Field(
|
|
10957
|
+
{}, description='LLM-specific parameters to use.', title='Params'
|
|
10958
|
+
)
|
|
10959
|
+
|
|
10960
|
+
|
|
10955
10961
|
class ServiceCreateServiceResponse(BaseModel):
|
|
10956
10962
|
id: str = Field(..., description='The ID of the newly created service.', title='Id')
|
|
10957
10963
|
|
|
@@ -11011,10 +11017,19 @@ class ServiceUpdateServiceRequest(BaseModel):
|
|
|
11011
11017
|
)
|
|
11012
11018
|
|
|
11013
11019
|
|
|
11014
|
-
class
|
|
11015
|
-
|
|
11016
|
-
|
|
11017
|
-
|
|
11020
|
+
class ServiceUpsertServiceVersionSetRequestVersionSet(BaseModel):
|
|
11021
|
+
agent_version_number: Optional[int] = Field(
|
|
11022
|
+
...,
|
|
11023
|
+
description='The version number of the agent to be used. If None, the latest agent version will be used.',
|
|
11024
|
+
title='Agent Version Number',
|
|
11025
|
+
)
|
|
11026
|
+
service_hierarchical_state_machine_version_number: Optional[int] = Field(
|
|
11027
|
+
...,
|
|
11028
|
+
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
11029
|
+
title='Service Hierarchical State Machine Version Number',
|
|
11030
|
+
)
|
|
11031
|
+
llm_model_preferences: Dict[str, ServiceCreateServiceRequestVersionSetLLMConfig] = (
|
|
11032
|
+
Field(..., title='Llm Model Preferences')
|
|
11018
11033
|
)
|
|
11019
11034
|
|
|
11020
11035
|
|
|
@@ -11236,6 +11251,37 @@ class SimulationGetSimulationScenariosResponseFilterValues(BaseModel):
|
|
|
11236
11251
|
)
|
|
11237
11252
|
|
|
11238
11253
|
|
|
11254
|
+
class SimulationGetSimulationScenariosResponseSimulationScenarioInstance(BaseModel):
|
|
11255
|
+
id: str = Field(..., description='The ID of the simulation scenario.', title='Id')
|
|
11256
|
+
name: str = Field(
|
|
11257
|
+
..., description='The name of the simulation scenario.', title='Name'
|
|
11258
|
+
)
|
|
11259
|
+
tags: Dict[str, Optional[str]] = Field(
|
|
11260
|
+
..., description='The tags of the simulation scenario.', title='Tags'
|
|
11261
|
+
)
|
|
11262
|
+
is_deleted: bool = Field(
|
|
11263
|
+
...,
|
|
11264
|
+
description='Whether the simulation scenario is deleted.',
|
|
11265
|
+
title='Is Deleted',
|
|
11266
|
+
)
|
|
11267
|
+
created_at: AwareDatetime = Field(
|
|
11268
|
+
...,
|
|
11269
|
+
description='The timestamp when the simulation scenario was created.',
|
|
11270
|
+
title='Created At',
|
|
11271
|
+
)
|
|
11272
|
+
creator: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11273
|
+
Field(..., description='The user who created the simulation scenario.')
|
|
11274
|
+
)
|
|
11275
|
+
updated_at: AwareDatetime = Field(
|
|
11276
|
+
...,
|
|
11277
|
+
description='The timestamp when the simulation scenario was last updated.',
|
|
11278
|
+
title='Updated At',
|
|
11279
|
+
)
|
|
11280
|
+
updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11281
|
+
Field(..., description='The user who last updated the simulation scenario.')
|
|
11282
|
+
)
|
|
11283
|
+
|
|
11284
|
+
|
|
11239
11285
|
class SimulationGetSimulationUnitTestSetRunArtifactsResponse(BaseModel):
|
|
11240
11286
|
presigned_url: str = Field(
|
|
11241
11287
|
...,
|
|
@@ -11358,34 +11404,13 @@ class SimulationSearchSimulationPersonasResponseSimulationPersonaInstance(BaseMo
|
|
|
11358
11404
|
)
|
|
11359
11405
|
|
|
11360
11406
|
|
|
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(
|
|
11407
|
+
class SimulationSearchSimulationScenariosResponse(BaseModel):
|
|
11408
|
+
simulation_scenarios: List[
|
|
11409
|
+
SimulationGetSimulationScenariosResponseSimulationScenarioInstance
|
|
11410
|
+
] = Field(
|
|
11383
11411
|
...,
|
|
11384
|
-
description='The
|
|
11385
|
-
title='
|
|
11386
|
-
)
|
|
11387
|
-
updated_by: AmigoLibMongoCollectionsSimulationScenarioSimulationScenarioUserInfo = (
|
|
11388
|
-
Field(..., description='The user who last updated the simulation scenario.')
|
|
11412
|
+
description='The list of simulation scenarios.',
|
|
11413
|
+
title='Simulation Scenarios',
|
|
11389
11414
|
)
|
|
11390
11415
|
|
|
11391
11416
|
|
|
@@ -11672,7 +11697,7 @@ class UserGetMemoriesResponse(BaseModel):
|
|
|
11672
11697
|
)
|
|
11673
11698
|
|
|
11674
11699
|
|
|
11675
|
-
class
|
|
11700
|
+
class UserSearchUsersResponseUserInstanceUserStats(BaseModel):
|
|
11676
11701
|
num_conversations: int = Field(
|
|
11677
11702
|
...,
|
|
11678
11703
|
description='The number of conversations the user has created.',
|
|
@@ -12111,7 +12136,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
|
|
|
12111
12136
|
[], description='The IDs of the messages to retrieve.', title='Id'
|
|
12112
12137
|
)
|
|
12113
12138
|
message_type: Optional[List[MessageType]] = Field(
|
|
12114
|
-
['
|
|
12139
|
+
['agent-message', 'user-message', 'external-event'],
|
|
12115
12140
|
description='The type of messages to retrieve.',
|
|
12116
12141
|
title='Message Type',
|
|
12117
12142
|
)
|
|
@@ -13556,7 +13581,7 @@ class ActionStateTransitionLog(BaseModel):
|
|
|
13556
13581
|
description='Name of the previous state to transition from.',
|
|
13557
13582
|
title='Previous State',
|
|
13558
13583
|
)
|
|
13559
|
-
previous_service_hierarchical_state_machine_version_info: List = Field(
|
|
13584
|
+
previous_service_hierarchical_state_machine_version_info: List[Any] = Field(
|
|
13560
13585
|
...,
|
|
13561
13586
|
description='The identifier of the service hierarchical state machine that the previous state is in.',
|
|
13562
13587
|
max_length=2,
|
|
@@ -13566,7 +13591,7 @@ class ActionStateTransitionLog(BaseModel):
|
|
|
13566
13591
|
next_state: str = Field(
|
|
13567
13592
|
..., description='Name of the next state to transition to.', title='Next State'
|
|
13568
13593
|
)
|
|
13569
|
-
next_service_hierarchical_state_machine_version_info: List = Field(
|
|
13594
|
+
next_service_hierarchical_state_machine_version_info: List[Any] = Field(
|
|
13570
13595
|
...,
|
|
13571
13596
|
description='The identifier of the service hierarchical state machine that the next state is in.',
|
|
13572
13597
|
max_length=2,
|
|
@@ -13654,7 +13679,7 @@ class DecisionStateTransitionLog(BaseModel):
|
|
|
13654
13679
|
description='Name of the previous state to transition from.',
|
|
13655
13680
|
title='Previous State',
|
|
13656
13681
|
)
|
|
13657
|
-
previous_service_hierarchical_state_machine_version_info: List = Field(
|
|
13682
|
+
previous_service_hierarchical_state_machine_version_info: List[Any] = Field(
|
|
13658
13683
|
...,
|
|
13659
13684
|
description='The identifier of the service hierarchical state machine that the previous state is in.',
|
|
13660
13685
|
max_length=2,
|
|
@@ -13664,7 +13689,7 @@ class DecisionStateTransitionLog(BaseModel):
|
|
|
13664
13689
|
next_state: str = Field(
|
|
13665
13690
|
..., description='Name of the next state to transition to.', title='Next State'
|
|
13666
13691
|
)
|
|
13667
|
-
next_service_hierarchical_state_machine_version_info: List = Field(
|
|
13692
|
+
next_service_hierarchical_state_machine_version_info: List[Any] = Field(
|
|
13668
13693
|
...,
|
|
13669
13694
|
description='The identifier of the service hierarchical state machine that the next state is in.',
|
|
13670
13695
|
max_length=2,
|
|
@@ -13837,7 +13862,7 @@ class ReflectionStateTransitionLog(BaseModel):
|
|
|
13837
13862
|
description='Name of the previous state to transition from.',
|
|
13838
13863
|
title='Previous State',
|
|
13839
13864
|
)
|
|
13840
|
-
previous_service_hierarchical_state_machine_version_info: List = Field(
|
|
13865
|
+
previous_service_hierarchical_state_machine_version_info: List[Any] = Field(
|
|
13841
13866
|
...,
|
|
13842
13867
|
description='The identifier of the service hierarchical state machine that the previous state is in.',
|
|
13843
13868
|
max_length=2,
|
|
@@ -13847,7 +13872,7 @@ class ReflectionStateTransitionLog(BaseModel):
|
|
|
13847
13872
|
next_state: str = Field(
|
|
13848
13873
|
..., description='Name of the next state to transition to.', title='Next State'
|
|
13849
13874
|
)
|
|
13850
|
-
next_service_hierarchical_state_machine_version_info: List = Field(
|
|
13875
|
+
next_service_hierarchical_state_machine_version_info: List[Any] = Field(
|
|
13851
13876
|
...,
|
|
13852
13877
|
description='The identifier of the service hierarchical state machine that the next state is in.',
|
|
13853
13878
|
max_length=2,
|
|
@@ -14144,7 +14169,7 @@ class ToolVersionInstance(BaseModel):
|
|
|
14144
14169
|
description='The ID of the tool that this version belongs to.',
|
|
14145
14170
|
title='Tool Id',
|
|
14146
14171
|
)
|
|
14147
|
-
version:
|
|
14172
|
+
version: AmigoLibMongoCollectionsToolInvocationToolInvocationVersion = Field(
|
|
14148
14173
|
..., description='The version of the tool.'
|
|
14149
14174
|
)
|
|
14150
14175
|
required_envvars: List[str] = Field(
|
|
@@ -14225,14 +14250,14 @@ class VersionSetInfo(BaseModel):
|
|
|
14225
14250
|
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
14251
|
title='Name',
|
|
14227
14252
|
)
|
|
14228
|
-
agent_version_info: List = Field(
|
|
14253
|
+
agent_version_info: List[Any] = Field(
|
|
14229
14254
|
...,
|
|
14230
14255
|
description='The ID of the agent and version number used in this conversation.',
|
|
14231
14256
|
max_length=2,
|
|
14232
14257
|
min_length=2,
|
|
14233
14258
|
title='Agent Version Info',
|
|
14234
14259
|
)
|
|
14235
|
-
service_hierarchical_state_machine_version_info: List = Field(
|
|
14260
|
+
service_hierarchical_state_machine_version_info: List[Any] = Field(
|
|
14236
14261
|
...,
|
|
14237
14262
|
description='The ID of the state machine and version number used in this conversation.',
|
|
14238
14263
|
max_length=2,
|
|
@@ -14460,7 +14485,7 @@ class DynamicBehaviorSetGetDynamicBehaviorSetVersionsResponse(BaseModel):
|
|
|
14460
14485
|
|
|
14461
14486
|
class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
14462
14487
|
dynamic_behavior_sets: List[
|
|
14463
|
-
|
|
14488
|
+
DynamicBehaviorSetGetDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14464
14489
|
] = Field(
|
|
14465
14490
|
...,
|
|
14466
14491
|
description='The retrieved dynamic behavior sets.',
|
|
@@ -14484,16 +14509,6 @@ class DynamicBehaviorSetGetDynamicBehaviorSetsResponse(BaseModel):
|
|
|
14484
14509
|
)
|
|
14485
14510
|
|
|
14486
14511
|
|
|
14487
|
-
class DynamicBehaviorSetSearchDynamicBehaviorSetsResponse(BaseModel):
|
|
14488
|
-
dynamic_behavior_sets: List[
|
|
14489
|
-
DynamicBehaviorSetSearchDynamicBehaviorSetsResponseDynamicBehaviorSetInstance
|
|
14490
|
-
] = Field(
|
|
14491
|
-
...,
|
|
14492
|
-
description='The retrieved dynamic behavior sets.',
|
|
14493
|
-
title='Dynamic Behavior Sets',
|
|
14494
|
-
)
|
|
14495
|
-
|
|
14496
|
-
|
|
14497
14512
|
class MetricCreateMetricRequest(BaseModel):
|
|
14498
14513
|
name: str = Field(
|
|
14499
14514
|
...,
|
|
@@ -14550,7 +14565,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
|
|
|
14550
14565
|
description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
|
|
14551
14566
|
min_length=1,
|
|
14552
14567
|
)
|
|
14553
|
-
user_dimensions: List[
|
|
14568
|
+
user_dimensions: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14554
14569
|
...,
|
|
14555
14570
|
description='User dimensions for the organization.',
|
|
14556
14571
|
title='User Dimensions',
|
|
@@ -14694,6 +14709,17 @@ class OrganizationGetOrganizationMetricsResponse(BaseModel):
|
|
|
14694
14709
|
)
|
|
14695
14710
|
|
|
14696
14711
|
|
|
14712
|
+
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
14713
|
+
RootModel[List[OrganizationModifyOrganizationRequestUserDimension]]
|
|
14714
|
+
):
|
|
14715
|
+
root: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14716
|
+
...,
|
|
14717
|
+
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
14718
|
+
min_length=1,
|
|
14719
|
+
title='User Dimensions',
|
|
14720
|
+
)
|
|
14721
|
+
|
|
14722
|
+
|
|
14697
14723
|
class OrganizationModifyOrganizationRequest(BaseModel):
|
|
14698
14724
|
title: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14699
14725
|
None,
|
|
@@ -14791,20 +14817,37 @@ class RoleModifyRoleRequest(BaseModel):
|
|
|
14791
14817
|
)
|
|
14792
14818
|
|
|
14793
14819
|
|
|
14794
|
-
class
|
|
14795
|
-
|
|
14820
|
+
class ServiceCreateServiceRequest(BaseModel):
|
|
14821
|
+
service_hierarchical_state_machine_id: str = Field(
|
|
14796
14822
|
...,
|
|
14797
|
-
description='The
|
|
14798
|
-
|
|
14823
|
+
description='The ID of the state machine that this service uses.',
|
|
14824
|
+
pattern='^[a-f0-9]{24}$',
|
|
14825
|
+
title='Service Hierarchical State Machine Id',
|
|
14799
14826
|
)
|
|
14800
|
-
|
|
14827
|
+
agent_id: str = Field(
|
|
14801
14828
|
...,
|
|
14802
|
-
description='The
|
|
14803
|
-
|
|
14829
|
+
description='The ID of the agent that this service uses.',
|
|
14830
|
+
pattern='^[a-f0-9]{24}$',
|
|
14831
|
+
title='Agent Id',
|
|
14832
|
+
)
|
|
14833
|
+
name: str = Field(..., description='The name of this service.', min_length=1)
|
|
14834
|
+
description: str = Field(
|
|
14835
|
+
..., description='A description of this service.', min_length=1
|
|
14836
|
+
)
|
|
14837
|
+
is_active: bool = Field(
|
|
14838
|
+
...,
|
|
14839
|
+
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.',
|
|
14840
|
+
title='Is Active',
|
|
14841
|
+
)
|
|
14842
|
+
release_version_set: Optional[ServiceUpsertServiceVersionSetRequestVersionSet] = (
|
|
14843
|
+
Field(
|
|
14844
|
+
None,
|
|
14845
|
+
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.',
|
|
14846
|
+
)
|
|
14847
|
+
)
|
|
14848
|
+
tags: Dict[str, Optional[StrippedNonemptyStringWS]] = Field(
|
|
14849
|
+
..., description='The tags of this service.', title='Tags'
|
|
14804
14850
|
)
|
|
14805
|
-
llm_model_preferences: Dict[
|
|
14806
|
-
str, ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig
|
|
14807
|
-
] = Field(..., title='Llm Model Preferences')
|
|
14808
14851
|
|
|
14809
14852
|
|
|
14810
14853
|
class ServiceGetServicesResponse(BaseModel):
|
|
@@ -14828,7 +14871,7 @@ class ServiceGetServicesResponse(BaseModel):
|
|
|
14828
14871
|
|
|
14829
14872
|
|
|
14830
14873
|
class ServiceUpsertServiceVersionSetRequest(BaseModel):
|
|
14831
|
-
version_set:
|
|
14874
|
+
version_set: ServiceUpsertServiceVersionSetRequestVersionSet = Field(
|
|
14832
14875
|
..., description='The version set to upsert.'
|
|
14833
14876
|
)
|
|
14834
14877
|
|
|
@@ -14920,7 +14963,7 @@ class SimulationGetSimulationPersonasResponse(BaseModel):
|
|
|
14920
14963
|
|
|
14921
14964
|
class SimulationGetSimulationScenariosResponse(BaseModel):
|
|
14922
14965
|
simulation_scenarios: List[
|
|
14923
|
-
|
|
14966
|
+
SimulationGetSimulationScenariosResponseSimulationScenarioInstance
|
|
14924
14967
|
] = Field(
|
|
14925
14968
|
...,
|
|
14926
14969
|
description='The list of simulation scenarios.',
|
|
@@ -14976,16 +15019,6 @@ class SimulationSearchSimulationPersonasResponse(BaseModel):
|
|
|
14976
15019
|
)
|
|
14977
15020
|
|
|
14978
15021
|
|
|
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
15022
|
class SimulationSearchSimulationUnitTestSetResponse(BaseModel):
|
|
14990
15023
|
simulation_unit_test_sets: List[SimulationUnitTestSet] = Field(
|
|
14991
15024
|
...,
|
|
@@ -15101,7 +15134,7 @@ class UserGetUserModelResponse(BaseModel):
|
|
|
15101
15134
|
)
|
|
15102
15135
|
|
|
15103
15136
|
|
|
15104
|
-
class
|
|
15137
|
+
class UserSearchUsersResponseUserInstance(BaseModel):
|
|
15105
15138
|
org_id: str = Field(
|
|
15106
15139
|
...,
|
|
15107
15140
|
description='The ID of the organization that this user belongs to.',
|
|
@@ -15117,7 +15150,7 @@ class UserGetUsersResponseUserInstance(BaseModel):
|
|
|
15117
15150
|
..., description='The last name of the user.', title='Last Name'
|
|
15118
15151
|
)
|
|
15119
15152
|
email: str = Field(..., description='Email of the user.', title='Email')
|
|
15120
|
-
user_stats:
|
|
15153
|
+
user_stats: UserSearchUsersResponseUserInstanceUserStats = Field(
|
|
15121
15154
|
..., description="Statistics about the user's usage of the Amigo platform."
|
|
15122
15155
|
)
|
|
15123
15156
|
role: str = Field(..., description='The ID of the role of the user.', title='Role')
|
|
@@ -15126,12 +15159,6 @@ class UserGetUsersResponseUserInstance(BaseModel):
|
|
|
15126
15159
|
)
|
|
15127
15160
|
|
|
15128
15161
|
|
|
15129
|
-
class UserSearchUsersResponse(BaseModel):
|
|
15130
|
-
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
15131
|
-
..., description='Users in this organization.', title='Users'
|
|
15132
|
-
)
|
|
15133
|
-
|
|
15134
|
-
|
|
15135
15162
|
class WebhookDestinationGetWebhookDeliveriesResponse(BaseModel):
|
|
15136
15163
|
webhook_deliveries: List[WebhookDeliveryInstance] = Field(
|
|
15137
15164
|
..., description='The retrieved webhook deliveries.', title='Webhook Deliveries'
|
|
@@ -15227,7 +15254,7 @@ class ActionStateInput(BaseModel):
|
|
|
15227
15254
|
Field(..., title='Boundary Constraints')
|
|
15228
15255
|
)
|
|
15229
15256
|
exit_conditions: List[
|
|
15230
|
-
|
|
15257
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition
|
|
15231
15258
|
] = Field(..., title='Exit Conditions')
|
|
15232
15259
|
action_tool_call_specs: List[ToolCallSpecInput] = Field(
|
|
15233
15260
|
..., title='Action Tool Call Specs'
|
|
@@ -15336,7 +15363,7 @@ class DecisionStateInput(BaseModel):
|
|
|
15336
15363
|
type: Literal['decision'] = Field(..., title='Type')
|
|
15337
15364
|
name: str = Field(..., pattern='^[A-Za-z0-9_]+$')
|
|
15338
15365
|
exit_conditions: List[
|
|
15339
|
-
|
|
15366
|
+
OrganizationCreateServiceHierarchicalStateMachineVersionRequestDecisionStateExitCondition
|
|
15340
15367
|
] = Field(..., title='Exit Conditions')
|
|
15341
15368
|
decision_guidelines: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
15342
15369
|
..., title='Decision Guidelines'
|
|
@@ -15587,7 +15614,7 @@ class ServiceHierarchicalStateMachineInstance(BaseModel):
|
|
|
15587
15614
|
description='The state the user will be in when the session ends. This must be an action state.',
|
|
15588
15615
|
title='Terminal State',
|
|
15589
15616
|
)
|
|
15590
|
-
references: Dict[str, List] = Field(
|
|
15617
|
+
references: Dict[str, List[Any]] = Field(
|
|
15591
15618
|
...,
|
|
15592
15619
|
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
15620
|
title='References',
|
|
@@ -15708,14 +15735,14 @@ class UnitTestRunSpec(BaseModel):
|
|
|
15708
15735
|
run_count: int = Field(
|
|
15709
15736
|
..., description='The number of times to run the unit test.', title='Run Count'
|
|
15710
15737
|
)
|
|
15711
|
-
service_hierarchical_state_machine_version_info: List = Field(
|
|
15738
|
+
service_hierarchical_state_machine_version_info: List[Any] = Field(
|
|
15712
15739
|
...,
|
|
15713
15740
|
description='The version of the service hierarchical state machine that the unit test runs on.',
|
|
15714
15741
|
max_length=2,
|
|
15715
15742
|
min_length=2,
|
|
15716
15743
|
title='Service Hierarchical State Machine Version Info',
|
|
15717
15744
|
)
|
|
15718
|
-
agent_version_info: List = Field(
|
|
15745
|
+
agent_version_info: List[Any] = Field(
|
|
15719
15746
|
...,
|
|
15720
15747
|
description='The version of the agent that the unit test runs on.',
|
|
15721
15748
|
max_length=2,
|
|
@@ -15922,7 +15949,7 @@ class OrganizationCreateServiceHierarchicalStateMachineVersionRequest(BaseModel)
|
|
|
15922
15949
|
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
15950
|
pattern='^[A-Za-z0-9_]+$',
|
|
15924
15951
|
)
|
|
15925
|
-
references: Dict[str, List] = Field(
|
|
15952
|
+
references: Dict[str, List[Any]] = Field(
|
|
15926
15953
|
...,
|
|
15927
15954
|
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
15955
|
title='References',
|
|
@@ -16020,37 +16047,6 @@ class RoleGetRolesResponse(BaseModel):
|
|
|
16020
16047
|
)
|
|
16021
16048
|
|
|
16022
16049
|
|
|
16023
|
-
class ServiceCreateServiceRequest(BaseModel):
|
|
16024
|
-
service_hierarchical_state_machine_id: str = Field(
|
|
16025
|
-
...,
|
|
16026
|
-
description='The ID of the state machine that this service uses.',
|
|
16027
|
-
pattern='^[a-f0-9]{24}$',
|
|
16028
|
-
title='Service Hierarchical State Machine Id',
|
|
16029
|
-
)
|
|
16030
|
-
agent_id: str = Field(
|
|
16031
|
-
...,
|
|
16032
|
-
description='The ID of the agent that this service uses.',
|
|
16033
|
-
pattern='^[a-f0-9]{24}$',
|
|
16034
|
-
title='Agent Id',
|
|
16035
|
-
)
|
|
16036
|
-
name: str = Field(..., description='The name of this service.', min_length=1)
|
|
16037
|
-
description: str = Field(
|
|
16038
|
-
..., description='A description of this service.', min_length=1
|
|
16039
|
-
)
|
|
16040
|
-
is_active: bool = Field(
|
|
16041
|
-
...,
|
|
16042
|
-
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
|
-
title='Is Active',
|
|
16044
|
-
)
|
|
16045
|
-
release_version_set: Optional[ServiceCreateServiceRequestVersionSet] = Field(
|
|
16046
|
-
None,
|
|
16047
|
-
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.',
|
|
16048
|
-
)
|
|
16049
|
-
tags: Dict[str, Optional[StrippedNonemptyStringWS]] = Field(
|
|
16050
|
-
..., description='The tags of this service.', title='Tags'
|
|
16051
|
-
)
|
|
16052
|
-
|
|
16053
|
-
|
|
16054
16050
|
class SimulationCreateSimulationUnitTestRequest(BaseModel):
|
|
16055
16051
|
name: str = Field(..., description='The name of the unit test.', min_length=1)
|
|
16056
16052
|
description: str = Field(
|
|
@@ -16206,7 +16202,7 @@ class ToolGetToolInvocationsResponseToolInvocationInstance(BaseModel):
|
|
|
16206
16202
|
tool_id: str = Field(
|
|
16207
16203
|
..., description='The ID of the tool that was invoked.', title='Tool Id'
|
|
16208
16204
|
)
|
|
16209
|
-
tool_version:
|
|
16205
|
+
tool_version: AmigoLibMongoCollectionsToolInvocationToolInvocationVersion = Field(
|
|
16210
16206
|
..., description='The version of the tool that was invoked.'
|
|
16211
16207
|
)
|
|
16212
16208
|
|
|
@@ -16220,7 +16216,7 @@ class ToolSearchToolInvocationsResponse(BaseModel):
|
|
|
16220
16216
|
|
|
16221
16217
|
|
|
16222
16218
|
class UserGetUsersResponse(BaseModel):
|
|
16223
|
-
users: List[
|
|
16219
|
+
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
16224
16220
|
..., description='Users in this organization.', title='Users'
|
|
16225
16221
|
)
|
|
16226
16222
|
has_more: bool = Field(
|
|
@@ -16233,6 +16229,12 @@ class UserGetUsersResponse(BaseModel):
|
|
|
16233
16229
|
)
|
|
16234
16230
|
|
|
16235
16231
|
|
|
16232
|
+
class UserSearchUsersResponse(BaseModel):
|
|
16233
|
+
users: List[UserSearchUsersResponseUserInstance] = Field(
|
|
16234
|
+
..., description='Users in this organization.', title='Users'
|
|
16235
|
+
)
|
|
16236
|
+
|
|
16237
|
+
|
|
16236
16238
|
class SimulationUnitTestSetRunInstance(BaseModel):
|
|
16237
16239
|
org_id: str = Field(..., title='Org Id')
|
|
16238
16240
|
id: str = Field(..., title='Id')
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
amigo_sdk/__init__.py,sha256=
|
|
1
|
+
amigo_sdk/__init__.py,sha256=f5lR2WPI6sR2xJpKf3k4M0oUwFUzeqSBqcO3UipgrQc,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=53HP0RAAxkl4msbceJG48IsQYARftJozpPxGMMavnO0,457250
|
|
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.70.0.dist-info/METADATA,sha256=a3t-Y72PZyYcb7VTrKh8WL1zoJyDDZ371AO3t0FkZgQ,8499
|
|
15
|
+
amigo_sdk-0.70.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
16
|
+
amigo_sdk-0.70.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
|
|
17
|
+
amigo_sdk-0.70.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
|
|
18
|
+
amigo_sdk-0.70.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|