amigo_sdk 0.93.0__py3-none-any.whl → 0.94.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 +271 -225
- {amigo_sdk-0.93.0.dist-info → amigo_sdk-0.94.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.93.0.dist-info → amigo_sdk-0.94.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.93.0.dist-info → amigo_sdk-0.94.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.93.0.dist-info → amigo_sdk-0.94.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.93.0.dist-info → amigo_sdk-0.94.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-19T00:21:23+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -1509,6 +1509,11 @@ class AmigoLibMongoCollectionsDynamicBehaviorSetVersionAction(BaseModel):
|
|
|
1509
1509
|
)
|
|
1510
1510
|
|
|
1511
1511
|
|
|
1512
|
+
class AmigoLibMongoCollectionsMetricMetricTag(BaseModel):
|
|
1513
|
+
key: str = Field(..., title='Key')
|
|
1514
|
+
value: Optional[str] = Field(..., title='Value')
|
|
1515
|
+
|
|
1516
|
+
|
|
1512
1517
|
AmigoLibMongoCollectionsMetricMetricUserInfo = (
|
|
1513
1518
|
AmigoLibMongoCollectionsDynamicBehaviorSetDynamicBehaviorSetUserInfo
|
|
1514
1519
|
)
|
|
@@ -1593,11 +1598,6 @@ AmigoLibMongoCollectionsSimulationUnitTestSetRunSimulationUnitTestSetRunUserInfo
|
|
|
1593
1598
|
)
|
|
1594
1599
|
|
|
1595
1600
|
|
|
1596
|
-
class AmigoLibMongoCollectionsToolToolTag(BaseModel):
|
|
1597
|
-
key: str = Field(..., title='Key')
|
|
1598
|
-
value: Optional[str] = Field(..., title='Value')
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
1601
|
class AmigoLibMongoCollectionsToolInvocationToolInvocationVersion(BaseModel):
|
|
1602
1602
|
major: int = Field(..., title='Major')
|
|
1603
1603
|
minor: int = Field(..., title='Minor')
|
|
@@ -2024,7 +2024,9 @@ class MetricUpdateMetricRequest(BaseModel):
|
|
|
2024
2024
|
additional_notes: Optional[
|
|
2025
2025
|
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
2026
2026
|
] = Field(
|
|
2027
|
-
|
|
2027
|
+
default_factory=lambda: AmigoLibPydanticBaseModelStrippedNonemptyString1.model_validate(
|
|
2028
|
+
{}
|
|
2029
|
+
),
|
|
2028
2030
|
description='Additional notes about the metric. Only updated if set.',
|
|
2029
2031
|
title='Additional Notes',
|
|
2030
2032
|
)
|
|
@@ -10646,13 +10648,6 @@ class OrganizationCreateOrganizationRequestPreferences(BaseModel):
|
|
|
10646
10648
|
)
|
|
10647
10649
|
|
|
10648
10650
|
|
|
10649
|
-
class OrganizationCreateOrganizationRequestUserDimension(BaseModel):
|
|
10650
|
-
description: str = Field(..., min_length=1)
|
|
10651
|
-
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10652
|
-
..., title='Tags'
|
|
10653
|
-
)
|
|
10654
|
-
|
|
10655
|
-
|
|
10656
10651
|
class OrganizationCreateOrganizationResponse(BaseModel):
|
|
10657
10652
|
org_id: str = Field(
|
|
10658
10653
|
...,
|
|
@@ -10794,22 +10789,18 @@ class OrganizationGetUserDimensionsResponse(BaseModel):
|
|
|
10794
10789
|
)
|
|
10795
10790
|
|
|
10796
10791
|
|
|
10797
|
-
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
10798
|
-
RootModel[List[OrganizationCreateOrganizationRequestUserDimension]]
|
|
10799
|
-
):
|
|
10800
|
-
root: List[OrganizationCreateOrganizationRequestUserDimension] = Field(
|
|
10801
|
-
...,
|
|
10802
|
-
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
10803
|
-
min_length=1,
|
|
10804
|
-
title='User Dimensions',
|
|
10805
|
-
)
|
|
10806
|
-
|
|
10807
|
-
|
|
10808
10792
|
OrganizationModifyOrganizationRequestPreferences = (
|
|
10809
10793
|
OrganizationCreateOrganizationRequestPreferences
|
|
10810
10794
|
)
|
|
10811
10795
|
|
|
10812
10796
|
|
|
10797
|
+
class OrganizationModifyOrganizationRequestUserDimension(BaseModel):
|
|
10798
|
+
description: str = Field(..., min_length=1)
|
|
10799
|
+
tags: List[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
10800
|
+
..., title='Tags'
|
|
10801
|
+
)
|
|
10802
|
+
|
|
10803
|
+
|
|
10813
10804
|
class RoleAssignRoleRequest(BaseModel):
|
|
10814
10805
|
user_id: str = Field(
|
|
10815
10806
|
...,
|
|
@@ -10856,13 +10847,6 @@ class RoleModifyRoleResponse(BaseModel):
|
|
|
10856
10847
|
)
|
|
10857
10848
|
|
|
10858
10849
|
|
|
10859
|
-
class ServiceCreateServiceRequestVersionSetLLMConfig(BaseModel):
|
|
10860
|
-
llm_name: LLMType
|
|
10861
|
-
params: Optional[Dict[str, Any]] = Field(
|
|
10862
|
-
{}, description='LLM-specific parameters to use.', title='Params'
|
|
10863
|
-
)
|
|
10864
|
-
|
|
10865
|
-
|
|
10866
10850
|
class ServiceCreateServiceResponse(BaseModel):
|
|
10867
10851
|
id: str = Field(..., description='The ID of the newly created service.', title='Id')
|
|
10868
10852
|
|
|
@@ -10938,19 +10922,10 @@ class ServiceUpdateServiceRequest(BaseModel):
|
|
|
10938
10922
|
)
|
|
10939
10923
|
|
|
10940
10924
|
|
|
10941
|
-
class
|
|
10942
|
-
|
|
10943
|
-
|
|
10944
|
-
description='
|
|
10945
|
-
title='Agent Version Number',
|
|
10946
|
-
)
|
|
10947
|
-
service_hierarchical_state_machine_version_number: Optional[int] = Field(
|
|
10948
|
-
...,
|
|
10949
|
-
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
10950
|
-
title='Service Hierarchical State Machine Version Number',
|
|
10951
|
-
)
|
|
10952
|
-
llm_model_preferences: Dict[str, ServiceCreateServiceRequestVersionSetLLMConfig] = (
|
|
10953
|
-
Field(..., title='Llm Model Preferences')
|
|
10925
|
+
class ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig(BaseModel):
|
|
10926
|
+
llm_name: LLMType
|
|
10927
|
+
params: Optional[Dict[str, Any]] = Field(
|
|
10928
|
+
{}, description='LLM-specific parameters to use.', title='Params'
|
|
10954
10929
|
)
|
|
10955
10930
|
|
|
10956
10931
|
|
|
@@ -10964,14 +10939,14 @@ class SimulationCreateSimulationPersonaRequestInitialVersion(BaseModel):
|
|
|
10964
10939
|
FieldNotSet,
|
|
10965
10940
|
]
|
|
10966
10941
|
] = Field(
|
|
10967
|
-
{},
|
|
10942
|
+
default_factory=lambda: FieldNotSet.model_validate({}),
|
|
10968
10943
|
description='The preferred language of the simulation persona in the ISO 639-3 format. If unspecified, the preferred language of the organization is used. If that is unspecified, the language of the agent is used.',
|
|
10969
10944
|
title='Preferred Language',
|
|
10970
10945
|
)
|
|
10971
10946
|
timezone: Optional[
|
|
10972
10947
|
Union[OrganizationCreateOrganizationRequestPreferencesTimezone, FieldNotSet]
|
|
10973
10948
|
] = Field(
|
|
10974
|
-
{},
|
|
10949
|
+
default_factory=lambda: FieldNotSet.model_validate({}),
|
|
10975
10950
|
description="The timezone of the simulation persona in the IANA tz database format. If unspecified, the organization's default timezone is used. If the organization's default timezone is not specified, UTC is used.",
|
|
10976
10951
|
title='Timezone',
|
|
10977
10952
|
)
|
|
@@ -11000,14 +10975,14 @@ class SimulationCreateSimulationPersonaVersionRequest(BaseModel):
|
|
|
11000
10975
|
FieldNotSet,
|
|
11001
10976
|
]
|
|
11002
10977
|
] = Field(
|
|
11003
|
-
{},
|
|
10978
|
+
default_factory=lambda: FieldNotSet.model_validate({}),
|
|
11004
10979
|
description='The preferred language of the simulation persona in the ISO 639-3 format. If unspecified, the preferred language of the organization is used. If that is unspecified too, the language of the agent is used.',
|
|
11005
10980
|
title='Preferred Language',
|
|
11006
10981
|
)
|
|
11007
10982
|
timezone: Optional[
|
|
11008
10983
|
Union[OrganizationCreateOrganizationRequestPreferencesTimezone, FieldNotSet]
|
|
11009
10984
|
] = Field(
|
|
11010
|
-
{},
|
|
10985
|
+
default_factory=lambda: FieldNotSet.model_validate({}),
|
|
11011
10986
|
description="The timezone of the simulation persona in the IANA tz database format. If unspecified, the organization's default timezone is used. If the organization's default timezone is not specified, UTC is used.",
|
|
11012
10987
|
title='Timezone',
|
|
11013
10988
|
)
|
|
@@ -11423,22 +11398,6 @@ class ToolGetToolsResponseFilterValues(BaseModel):
|
|
|
11423
11398
|
)
|
|
11424
11399
|
|
|
11425
11400
|
|
|
11426
|
-
class ToolInvokeToolVersionRequestInputInvocationMode(Enum):
|
|
11427
|
-
regular = 'regular'
|
|
11428
|
-
conversation_simulation = 'conversation-simulation'
|
|
11429
|
-
|
|
11430
|
-
|
|
11431
|
-
class ToolInvokeToolVersionRequestInput(BaseModel):
|
|
11432
|
-
input_parameters: Dict[str, Any] = Field(
|
|
11433
|
-
...,
|
|
11434
|
-
description='The input parameters for the tool invocation.',
|
|
11435
|
-
title='Input Parameters',
|
|
11436
|
-
)
|
|
11437
|
-
invocation_mode: ToolInvokeToolVersionRequestInputInvocationMode = Field(
|
|
11438
|
-
..., description='The mode of invocation.', title='Invocation Mode'
|
|
11439
|
-
)
|
|
11440
|
-
|
|
11441
|
-
|
|
11442
11401
|
class ToolModifyToolRequest(BaseModel):
|
|
11443
11402
|
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
11444
11403
|
None, description='A description of this tool. Only updates if not-null.'
|
|
@@ -11481,34 +11440,19 @@ class ToolPublishToolVersionResponse(BaseModel):
|
|
|
11481
11440
|
)
|
|
11482
11441
|
|
|
11483
11442
|
|
|
11484
|
-
class
|
|
11485
|
-
|
|
11486
|
-
|
|
11487
|
-
|
|
11488
|
-
|
|
11489
|
-
|
|
11490
|
-
|
|
11491
|
-
)
|
|
11492
|
-
commit_branch: str = Field(
|
|
11493
|
-
...,
|
|
11494
|
-
description='The branch in the tools repo whose tip will be tested.',
|
|
11495
|
-
title='Commit Branch',
|
|
11496
|
-
)
|
|
11497
|
-
project_path: str = Field(
|
|
11498
|
-
...,
|
|
11499
|
-
description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
|
|
11500
|
-
pattern='^[-\\w\\d_/]+$',
|
|
11501
|
-
title='Project Path',
|
|
11502
|
-
)
|
|
11503
|
-
required_envvars: Dict[str, str] = Field(
|
|
11443
|
+
class ToolTestToolRequestInputInvocationMode(Enum):
|
|
11444
|
+
regular = 'regular'
|
|
11445
|
+
conversation_simulation = 'conversation-simulation'
|
|
11446
|
+
|
|
11447
|
+
|
|
11448
|
+
class ToolTestToolRequestInput(BaseModel):
|
|
11449
|
+
input_parameters: Dict[str, Any] = Field(
|
|
11504
11450
|
...,
|
|
11505
|
-
description='The
|
|
11506
|
-
title='
|
|
11451
|
+
description='The input parameters for the tool invocation.',
|
|
11452
|
+
title='Input Parameters',
|
|
11507
11453
|
)
|
|
11508
|
-
|
|
11509
|
-
...,
|
|
11510
|
-
description='The secret environment variables required for the tool to run.',
|
|
11511
|
-
title='Required Secret Envvars',
|
|
11454
|
+
invocation_mode: ToolTestToolRequestInputInvocationMode = Field(
|
|
11455
|
+
..., description='The mode of invocation.', title='Invocation Mode'
|
|
11512
11456
|
)
|
|
11513
11457
|
|
|
11514
11458
|
|
|
@@ -11585,7 +11529,7 @@ class UserGetMemoriesResponse(BaseModel):
|
|
|
11585
11529
|
)
|
|
11586
11530
|
|
|
11587
11531
|
|
|
11588
|
-
class
|
|
11532
|
+
class UserSearchUsersResponseUserInstanceUserStats(BaseModel):
|
|
11589
11533
|
num_conversations: int = Field(
|
|
11590
11534
|
...,
|
|
11591
11535
|
description='The number of conversations the user has created.',
|
|
@@ -11603,31 +11547,6 @@ class UserGetUsersResponseUserInstanceUserStats(BaseModel):
|
|
|
11603
11547
|
)
|
|
11604
11548
|
|
|
11605
11549
|
|
|
11606
|
-
class UserSearchUsersResponseUserInstance(BaseModel):
|
|
11607
|
-
org_id: str = Field(
|
|
11608
|
-
...,
|
|
11609
|
-
description='The ID of the organization that this user belongs to.',
|
|
11610
|
-
title='Org Id',
|
|
11611
|
-
)
|
|
11612
|
-
user_id: str = Field(
|
|
11613
|
-
..., description='The identifier of the user.', title='User Id'
|
|
11614
|
-
)
|
|
11615
|
-
first_name: str = Field(
|
|
11616
|
-
..., description='The first name of the user.', title='First Name'
|
|
11617
|
-
)
|
|
11618
|
-
last_name: str = Field(
|
|
11619
|
-
..., description='The last name of the user.', title='Last Name'
|
|
11620
|
-
)
|
|
11621
|
-
email: str = Field(..., description='Email of the user.', title='Email')
|
|
11622
|
-
user_stats: UserGetUsersResponseUserInstanceUserStats = Field(
|
|
11623
|
-
..., description="Statistics about the user's usage of the Amigo platform."
|
|
11624
|
-
)
|
|
11625
|
-
role: str = Field(..., description='The ID of the role of the user.', title='Role')
|
|
11626
|
-
preferences: AmigoLibMongoCollectionsUserUserPreferences = Field(
|
|
11627
|
-
..., description='The preferences of the user.'
|
|
11628
|
-
)
|
|
11629
|
-
|
|
11630
|
-
|
|
11631
11550
|
class UserSignInWithApiKeyResponse(BaseModel):
|
|
11632
11551
|
id_token: str = Field(
|
|
11633
11552
|
...,
|
|
@@ -11683,14 +11602,14 @@ class UserUpdateUserInfoRequest(BaseModel):
|
|
|
11683
11602
|
FieldNotSet,
|
|
11684
11603
|
]
|
|
11685
11604
|
] = Field(
|
|
11686
|
-
{},
|
|
11605
|
+
default_factory=lambda: FieldNotSet.model_validate({}),
|
|
11687
11606
|
description="The preferred language for the user. The agent will attempt to converse to the user in this language if set. This field must be in the [ISO 639-3](https://en.wikipedia.org/wiki/ISO_639-3) format.\nIf `null`, erase the user's preferred setting, and the specific language used will be the agent's default spoken language. In order to not update this field, leave it out of the request or\nset it to an empty object (`_NotSet`).",
|
|
11688
11607
|
title='Preferred Language',
|
|
11689
11608
|
)
|
|
11690
11609
|
timezone: Optional[
|
|
11691
11610
|
Union[OrganizationCreateOrganizationRequestPreferencesTimezone, FieldNotSet]
|
|
11692
11611
|
] = Field(
|
|
11693
|
-
{},
|
|
11612
|
+
default_factory=lambda: FieldNotSet.model_validate({}),
|
|
11694
11613
|
description="The user's timezone in the IANA tz database format. If not specified, the organization's timezone is used.",
|
|
11695
11614
|
title='Timezone',
|
|
11696
11615
|
)
|
|
@@ -11813,7 +11732,9 @@ class GetAgentsParametersQuery(BaseModel):
|
|
|
11813
11732
|
None, description='Whether the agent is deprecated.', title='Deprecated'
|
|
11814
11733
|
)
|
|
11815
11734
|
id: Optional[List[GetAgentsParametersQueryIdItem]] = Field(
|
|
11816
|
-
|
|
11735
|
+
default_factory=list,
|
|
11736
|
+
description='The IDs of the agents to filter for.',
|
|
11737
|
+
title='Id',
|
|
11817
11738
|
)
|
|
11818
11739
|
limit: Optional[int] = Field(
|
|
11819
11740
|
10,
|
|
@@ -11858,7 +11779,9 @@ class GetServiceHierarchicalStateMachinesParametersQuery(BaseModel):
|
|
|
11858
11779
|
)
|
|
11859
11780
|
id: Optional[List[GetServiceHierarchicalStateMachinesParametersQueryIdItem]] = (
|
|
11860
11781
|
Field(
|
|
11861
|
-
|
|
11782
|
+
default_factory=list,
|
|
11783
|
+
description='The IDs of the state machines to filter for.',
|
|
11784
|
+
title='Id',
|
|
11862
11785
|
)
|
|
11863
11786
|
)
|
|
11864
11787
|
limit: Optional[int] = Field(
|
|
@@ -11971,7 +11894,9 @@ class GetServicesParametersQueryIdItem(
|
|
|
11971
11894
|
|
|
11972
11895
|
class GetServicesParametersQuery(BaseModel):
|
|
11973
11896
|
id: Optional[List[GetServicesParametersQueryIdItem]] = Field(
|
|
11974
|
-
|
|
11897
|
+
default_factory=list,
|
|
11898
|
+
description='The IDs of the services to retrieve.',
|
|
11899
|
+
title='Id',
|
|
11975
11900
|
)
|
|
11976
11901
|
is_active: Optional[bool] = Field(
|
|
11977
11902
|
None, description='Whether the service is active.', title='Is Active'
|
|
@@ -12024,7 +11949,7 @@ class GetConversationsParametersQuery(BaseModel):
|
|
|
12024
11949
|
title='User Id',
|
|
12025
11950
|
)
|
|
12026
11951
|
service_id: Optional[List[GetConversationsParametersQueryServiceIdItem]] = Field(
|
|
12027
|
-
|
|
11952
|
+
default_factory=list,
|
|
12028
11953
|
description='The identifier of the service whose conversation to retrieve.',
|
|
12029
11954
|
title='Service Id',
|
|
12030
11955
|
)
|
|
@@ -12032,7 +11957,9 @@ class GetConversationsParametersQuery(BaseModel):
|
|
|
12032
11957
|
None, description='Whether the conversation is finished.', title='Is Finished'
|
|
12033
11958
|
)
|
|
12034
11959
|
id: Optional[List[GetConversationsParametersQueryIdItem]] = Field(
|
|
12035
|
-
|
|
11960
|
+
default_factory=list,
|
|
11961
|
+
description='The ID of the conversation to retrieve.',
|
|
11962
|
+
title='Id',
|
|
12036
11963
|
)
|
|
12037
11964
|
limit: Optional[int] = Field(
|
|
12038
11965
|
150,
|
|
@@ -12067,17 +11994,19 @@ class GetConversationMessagesParametersQueryInteractionIdItem(
|
|
|
12067
11994
|
|
|
12068
11995
|
class GetConversationMessagesParametersQuery(BaseModel):
|
|
12069
11996
|
id: Optional[List[GetConversationMessagesParametersQueryIdItem]] = Field(
|
|
12070
|
-
|
|
11997
|
+
default_factory=list,
|
|
11998
|
+
description='The IDs of the messages to retrieve.',
|
|
11999
|
+
title='Id',
|
|
12071
12000
|
)
|
|
12072
12001
|
message_type: Optional[List[MessageType]] = Field(
|
|
12073
|
-
['
|
|
12002
|
+
['agent-message', 'external-event', 'user-message'],
|
|
12074
12003
|
description='The type of messages to retrieve.',
|
|
12075
12004
|
title='Message Type',
|
|
12076
12005
|
)
|
|
12077
12006
|
interaction_id: Optional[
|
|
12078
12007
|
List[GetConversationMessagesParametersQueryInteractionIdItem]
|
|
12079
12008
|
] = Field(
|
|
12080
|
-
|
|
12009
|
+
default_factory=list,
|
|
12081
12010
|
description='The IDs of the interactions to retrieve messages for.',
|
|
12082
12011
|
title='Interaction Id',
|
|
12083
12012
|
)
|
|
@@ -12116,7 +12045,7 @@ class InteractWithConversationRequestInteractWithConversationRequest(BaseModel):
|
|
|
12116
12045
|
InteractWithConversationRequestInteractWithConversationRequestExternalEventMessageContent
|
|
12117
12046
|
]
|
|
12118
12047
|
] = Field(
|
|
12119
|
-
|
|
12048
|
+
default_factory=list,
|
|
12120
12049
|
description='The contents of external event messages to be inserted before the initial message, in chronological order.',
|
|
12121
12050
|
title='External Event Message Contents',
|
|
12122
12051
|
)
|
|
@@ -12143,7 +12072,7 @@ class InteractWithConversationRequest_InteractWithConversationRequest(BaseModel)
|
|
|
12143
12072
|
InteractWithConversationRequestInteractWithConversationRequest1ExternalEventMessageContent
|
|
12144
12073
|
]
|
|
12145
12074
|
] = Field(
|
|
12146
|
-
|
|
12075
|
+
default_factory=list,
|
|
12147
12076
|
description='The contents of external event messages to be inserted before the initial message, in chronological order.',
|
|
12148
12077
|
title='External Event Message Contents',
|
|
12149
12078
|
)
|
|
@@ -12173,7 +12102,7 @@ class InteractWithConversationRequestInteractWithConversationRequest2(BaseModel)
|
|
|
12173
12102
|
InteractWithConversationRequestInteractWithConversationRequest2ExternalEventMessageContent
|
|
12174
12103
|
]
|
|
12175
12104
|
] = Field(
|
|
12176
|
-
|
|
12105
|
+
default_factory=list,
|
|
12177
12106
|
description='Must be empty, as external event messages cannot be sent with skips.',
|
|
12178
12107
|
max_length=0,
|
|
12179
12108
|
title='External Event Message Contents',
|
|
@@ -12250,11 +12179,13 @@ class GetMemoriesParametersQueryConversationIdItem(
|
|
|
12250
12179
|
|
|
12251
12180
|
class GetMemoriesParametersQuery(BaseModel):
|
|
12252
12181
|
id: Optional[List[GetMemoriesParametersQueryIdItem]] = Field(
|
|
12253
|
-
|
|
12182
|
+
default_factory=list,
|
|
12183
|
+
description='The IDs of the memories to retrieve.',
|
|
12184
|
+
title='Id',
|
|
12254
12185
|
)
|
|
12255
12186
|
conversation_id: Optional[List[GetMemoriesParametersQueryConversationIdItem]] = (
|
|
12256
12187
|
Field(
|
|
12257
|
-
|
|
12188
|
+
default_factory=list,
|
|
12258
12189
|
description='The IDs of the conversations to retrieve memories from.',
|
|
12259
12190
|
title='Conversation Id',
|
|
12260
12191
|
)
|
|
@@ -12302,7 +12233,9 @@ class GetRolesV1OrganizationRoleGetParametersQuery(BaseModel):
|
|
|
12302
12233
|
title='Return Permission Grants',
|
|
12303
12234
|
)
|
|
12304
12235
|
id: Optional[List[GetRolesV1OrganizationRoleGetParametersQueryIdItem]] = Field(
|
|
12305
|
-
|
|
12236
|
+
default_factory=list,
|
|
12237
|
+
description='The IDs of the roles to retrieve.',
|
|
12238
|
+
title='Id',
|
|
12306
12239
|
)
|
|
12307
12240
|
name: Optional[List[str]] = Field(
|
|
12308
12241
|
[], description='The names of the roles to retrieve.', title='Name'
|
|
@@ -12325,7 +12258,9 @@ class GetWebhookDestinationsParametersQueryIdItem(
|
|
|
12325
12258
|
|
|
12326
12259
|
class GetWebhookDestinationsParametersQuery(BaseModel):
|
|
12327
12260
|
id: Optional[List[GetWebhookDestinationsParametersQueryIdItem]] = Field(
|
|
12328
|
-
|
|
12261
|
+
default_factory=list,
|
|
12262
|
+
description='The IDs of the webhook destinations to retrieve.',
|
|
12263
|
+
title='Id',
|
|
12329
12264
|
)
|
|
12330
12265
|
|
|
12331
12266
|
|
|
@@ -12379,7 +12314,9 @@ class GetDynamicBehaviorSetsParametersQueryAppliedToServiceItem(
|
|
|
12379
12314
|
|
|
12380
12315
|
class GetDynamicBehaviorSetsParametersQuery(BaseModel):
|
|
12381
12316
|
id: Optional[List[GetDynamicBehaviorSetsParametersQueryIdItem]] = Field(
|
|
12382
|
-
|
|
12317
|
+
default_factory=list,
|
|
12318
|
+
description='The IDs of the dynamic behavior sets to retrieve.',
|
|
12319
|
+
title='Id',
|
|
12383
12320
|
)
|
|
12384
12321
|
limit: Optional[int] = Field(
|
|
12385
12322
|
50,
|
|
@@ -12401,7 +12338,7 @@ class GetDynamicBehaviorSetsParametersQuery(BaseModel):
|
|
|
12401
12338
|
applied_to_service: Optional[
|
|
12402
12339
|
List[GetDynamicBehaviorSetsParametersQueryAppliedToServiceItem]
|
|
12403
12340
|
] = Field(
|
|
12404
|
-
|
|
12341
|
+
default_factory=list,
|
|
12405
12342
|
description='The IDs of the services that the dynamic behavior set is applied to.',
|
|
12406
12343
|
title='Applied To Service',
|
|
12407
12344
|
)
|
|
@@ -12483,7 +12420,7 @@ class SearchDynamicBehaviorSetsParametersQuery(BaseModel):
|
|
|
12483
12420
|
applied_to_service: Optional[
|
|
12484
12421
|
List[SearchDynamicBehaviorSetsParametersQueryAppliedToServiceItem]
|
|
12485
12422
|
] = Field(
|
|
12486
|
-
|
|
12423
|
+
default_factory=list,
|
|
12487
12424
|
description='The IDs of the services that the dynamic behavior set is applied to.',
|
|
12488
12425
|
title='Applied To Service',
|
|
12489
12426
|
)
|
|
@@ -12533,7 +12470,9 @@ class GetMetricsParametersQueryAppliedToServiceItem(
|
|
|
12533
12470
|
|
|
12534
12471
|
class GetMetricsParametersQuery(BaseModel):
|
|
12535
12472
|
id: Optional[List[GetMetricsParametersQueryIdItem]] = Field(
|
|
12536
|
-
|
|
12473
|
+
default_factory=list,
|
|
12474
|
+
description='The IDs of the metrics to retrieve.',
|
|
12475
|
+
title='Id',
|
|
12537
12476
|
)
|
|
12538
12477
|
limit: Optional[int] = Field(
|
|
12539
12478
|
50,
|
|
@@ -12550,7 +12489,7 @@ class GetMetricsParametersQuery(BaseModel):
|
|
|
12550
12489
|
applied_to_service: Optional[
|
|
12551
12490
|
List[GetMetricsParametersQueryAppliedToServiceItem]
|
|
12552
12491
|
] = Field(
|
|
12553
|
-
|
|
12492
|
+
default_factory=list,
|
|
12554
12493
|
description='The IDs of the services that the metric is applied to.',
|
|
12555
12494
|
title='Applied To Service',
|
|
12556
12495
|
)
|
|
@@ -12590,7 +12529,7 @@ class SearchMetricsParametersQuery(BaseModel):
|
|
|
12590
12529
|
applied_to_service: Optional[
|
|
12591
12530
|
List[SearchMetricsParametersQueryAppliedToServiceItem]
|
|
12592
12531
|
] = Field(
|
|
12593
|
-
|
|
12532
|
+
default_factory=list,
|
|
12594
12533
|
description='The IDs of the services that the metric is applied to.',
|
|
12595
12534
|
title='Applied To Service',
|
|
12596
12535
|
)
|
|
@@ -12651,7 +12590,11 @@ class GetMetricEvaluationResultsParametersQuery(BaseModel):
|
|
|
12651
12590
|
title='Timestamp Before',
|
|
12652
12591
|
)
|
|
12653
12592
|
metric_id: Optional[List[GetMetricEvaluationResultsParametersQueryMetricIdItem]] = (
|
|
12654
|
-
Field(
|
|
12593
|
+
Field(
|
|
12594
|
+
default_factory=list,
|
|
12595
|
+
description='The ID of the metric to retrieve.',
|
|
12596
|
+
title='Metric Id',
|
|
12597
|
+
)
|
|
12655
12598
|
)
|
|
12656
12599
|
source_type: Optional[List[EvaluationSourceType]] = Field(
|
|
12657
12600
|
[],
|
|
@@ -12661,14 +12604,14 @@ class GetMetricEvaluationResultsParametersQuery(BaseModel):
|
|
|
12661
12604
|
conversation_id: Optional[
|
|
12662
12605
|
List[GetMetricEvaluationResultsParametersQueryConversationIdItem]
|
|
12663
12606
|
] = Field(
|
|
12664
|
-
|
|
12607
|
+
default_factory=list,
|
|
12665
12608
|
description='For metric evaluation sources with type `post-session` or `manual`, this field filters the metric evaluation results to only include those that were computed from the given conversation IDs.',
|
|
12666
12609
|
title='Conversation Id',
|
|
12667
12610
|
)
|
|
12668
12611
|
simulation_unit_test_set_run_id: Optional[
|
|
12669
12612
|
List[GetMetricEvaluationResultsParametersQuerySimulationUnitTestSetRunIdItem]
|
|
12670
12613
|
] = Field(
|
|
12671
|
-
|
|
12614
|
+
default_factory=list,
|
|
12672
12615
|
description='For metric evaluation sources with type `simulation`, this field filters the metric evaluation results to only include those that were computed from the given simulation unit test set run IDs.',
|
|
12673
12616
|
title='Simulation Unit Test Set Run Id',
|
|
12674
12617
|
)
|
|
@@ -12687,7 +12630,9 @@ class GetSimulationPersonasParametersQueryIdItem(
|
|
|
12687
12630
|
|
|
12688
12631
|
class GetSimulationPersonasParametersQuery(BaseModel):
|
|
12689
12632
|
id: Optional[List[GetSimulationPersonasParametersQueryIdItem]] = Field(
|
|
12690
|
-
|
|
12633
|
+
default_factory=list,
|
|
12634
|
+
description='The IDs of the simulation personas to retrieve.',
|
|
12635
|
+
title='Id',
|
|
12691
12636
|
)
|
|
12692
12637
|
limit: Optional[int] = Field(
|
|
12693
12638
|
50,
|
|
@@ -12814,7 +12759,9 @@ class GetSimulationScenariosParametersQueryIdItem(
|
|
|
12814
12759
|
|
|
12815
12760
|
class GetSimulationScenariosParametersQuery(BaseModel):
|
|
12816
12761
|
id: Optional[List[GetSimulationScenariosParametersQueryIdItem]] = Field(
|
|
12817
|
-
|
|
12762
|
+
default_factory=list,
|
|
12763
|
+
description='The IDs of the simulation scenarios to retrieve.',
|
|
12764
|
+
title='Id',
|
|
12818
12765
|
)
|
|
12819
12766
|
limit: Optional[int] = Field(
|
|
12820
12767
|
50,
|
|
@@ -12921,7 +12868,9 @@ class GetSimulationUnitTestsParametersQueryMetricIdItem(
|
|
|
12921
12868
|
|
|
12922
12869
|
class GetSimulationUnitTestsParametersQuery(BaseModel):
|
|
12923
12870
|
id: Optional[List[GetSimulationUnitTestsParametersQueryIdItem]] = Field(
|
|
12924
|
-
|
|
12871
|
+
default_factory=list,
|
|
12872
|
+
description='The IDs of the simulation unit tests to retrieve.',
|
|
12873
|
+
title='Id',
|
|
12925
12874
|
)
|
|
12926
12875
|
limit: Optional[int] = Field(
|
|
12927
12876
|
50,
|
|
@@ -12942,28 +12891,28 @@ class GetSimulationUnitTestsParametersQuery(BaseModel):
|
|
|
12942
12891
|
)
|
|
12943
12892
|
service_id: Optional[List[GetSimulationUnitTestsParametersQueryServiceIdItem]] = (
|
|
12944
12893
|
Field(
|
|
12945
|
-
|
|
12894
|
+
default_factory=list,
|
|
12946
12895
|
description='The IDs of the services that the simulation unit tests run on.',
|
|
12947
12896
|
title='Service Id',
|
|
12948
12897
|
)
|
|
12949
12898
|
)
|
|
12950
12899
|
persona_id: Optional[List[GetSimulationUnitTestsParametersQueryPersonaIdItem]] = (
|
|
12951
12900
|
Field(
|
|
12952
|
-
|
|
12901
|
+
default_factory=list,
|
|
12953
12902
|
description='The IDs of the personas that the simulation unit tests use.',
|
|
12954
12903
|
title='Persona Id',
|
|
12955
12904
|
)
|
|
12956
12905
|
)
|
|
12957
12906
|
scenario_id: Optional[List[GetSimulationUnitTestsParametersQueryScenarioIdItem]] = (
|
|
12958
12907
|
Field(
|
|
12959
|
-
|
|
12908
|
+
default_factory=list,
|
|
12960
12909
|
description='The IDs of the scenarios that the simulation unit tests use.',
|
|
12961
12910
|
title='Scenario Id',
|
|
12962
12911
|
)
|
|
12963
12912
|
)
|
|
12964
12913
|
metric_id: Optional[List[GetSimulationUnitTestsParametersQueryMetricIdItem]] = (
|
|
12965
12914
|
Field(
|
|
12966
|
-
|
|
12915
|
+
default_factory=list,
|
|
12967
12916
|
description='The IDs of the metrics that the simulation unit tests use.',
|
|
12968
12917
|
title='Metric Id',
|
|
12969
12918
|
)
|
|
@@ -13028,27 +12977,27 @@ class SearchSimulationUnitTestsParametersQuery(BaseModel):
|
|
|
13028
12977
|
service_id: Optional[
|
|
13029
12978
|
List[SearchSimulationUnitTestsParametersQueryServiceIdItem]
|
|
13030
12979
|
] = Field(
|
|
13031
|
-
|
|
12980
|
+
default_factory=list,
|
|
13032
12981
|
description='The IDs of the services that the simulation unit tests run on.',
|
|
13033
12982
|
title='Service Id',
|
|
13034
12983
|
)
|
|
13035
12984
|
persona_id: Optional[
|
|
13036
12985
|
List[SearchSimulationUnitTestsParametersQueryPersonaIdItem]
|
|
13037
12986
|
] = Field(
|
|
13038
|
-
|
|
12987
|
+
default_factory=list,
|
|
13039
12988
|
description='The IDs of the personas that the simulation unit tests use.',
|
|
13040
12989
|
title='Persona Id',
|
|
13041
12990
|
)
|
|
13042
12991
|
scenario_id: Optional[
|
|
13043
12992
|
List[SearchSimulationUnitTestsParametersQueryScenarioIdItem]
|
|
13044
12993
|
] = Field(
|
|
13045
|
-
|
|
12994
|
+
default_factory=list,
|
|
13046
12995
|
description='The IDs of the scenarios that the simulation unit tests use.',
|
|
13047
12996
|
title='Scenario Id',
|
|
13048
12997
|
)
|
|
13049
12998
|
metric_id: Optional[List[SearchSimulationUnitTestsParametersQueryMetricIdItem]] = (
|
|
13050
12999
|
Field(
|
|
13051
|
-
|
|
13000
|
+
default_factory=list,
|
|
13052
13001
|
description='The IDs of the metrics that the simulation unit tests use.',
|
|
13053
13002
|
title='Metric Id',
|
|
13054
13003
|
)
|
|
@@ -13069,7 +13018,7 @@ class GetSimulationUnitTestSetsParametersQueryUnitTestIdItem(
|
|
|
13069
13018
|
|
|
13070
13019
|
class GetSimulationUnitTestSetsParametersQuery(BaseModel):
|
|
13071
13020
|
id: Optional[List[GetSimulationUnitTestSetsParametersQueryIdItem]] = Field(
|
|
13072
|
-
|
|
13021
|
+
default_factory=list,
|
|
13073
13022
|
description='The IDs of the simulation unit test sets to retrieve.',
|
|
13074
13023
|
title='Id',
|
|
13075
13024
|
)
|
|
@@ -13093,7 +13042,7 @@ class GetSimulationUnitTestSetsParametersQuery(BaseModel):
|
|
|
13093
13042
|
unit_test_id: Optional[
|
|
13094
13043
|
List[GetSimulationUnitTestSetsParametersQueryUnitTestIdItem]
|
|
13095
13044
|
] = Field(
|
|
13096
|
-
|
|
13045
|
+
default_factory=list,
|
|
13097
13046
|
description='The IDs of the unit tests that are part of the simulation unit test sets.',
|
|
13098
13047
|
title='Unit Test Id',
|
|
13099
13048
|
)
|
|
@@ -13139,7 +13088,7 @@ class SearchSimulationUnitTestSetsParametersQuery(BaseModel):
|
|
|
13139
13088
|
unit_test_id: Optional[
|
|
13140
13089
|
List[SearchSimulationUnitTestSetsParametersQueryUnitTestIdItem]
|
|
13141
13090
|
] = Field(
|
|
13142
|
-
|
|
13091
|
+
default_factory=list,
|
|
13143
13092
|
description='The IDs of the unit tests that are part of the simulation unit test sets.',
|
|
13144
13093
|
title='Unit Test Id',
|
|
13145
13094
|
)
|
|
@@ -13159,7 +13108,7 @@ class GetSimulationUnitTestSetRunsParametersQuerySimulationUnitTestSetIdItem(
|
|
|
13159
13108
|
|
|
13160
13109
|
class GetSimulationUnitTestSetRunsParametersQuery(BaseModel):
|
|
13161
13110
|
id: Optional[List[GetSimulationUnitTestSetRunsParametersQueryIdItem]] = Field(
|
|
13162
|
-
|
|
13111
|
+
default_factory=list,
|
|
13163
13112
|
description='The ID of the simulation unit test set run to retrieve.',
|
|
13164
13113
|
title='Id',
|
|
13165
13114
|
)
|
|
@@ -13188,7 +13137,7 @@ class GetSimulationUnitTestSetRunsParametersQuery(BaseModel):
|
|
|
13188
13137
|
simulation_unit_test_set_id: Optional[
|
|
13189
13138
|
List[GetSimulationUnitTestSetRunsParametersQuerySimulationUnitTestSetIdItem]
|
|
13190
13139
|
] = Field(
|
|
13191
|
-
|
|
13140
|
+
default_factory=list,
|
|
13192
13141
|
description='The IDs of the simulation unit test sets that the simulation unit test set runs belong to.',
|
|
13193
13142
|
title='Simulation Unit Test Set Id',
|
|
13194
13143
|
)
|
|
@@ -13227,7 +13176,9 @@ class GetToolsParametersQueryIdItem(
|
|
|
13227
13176
|
|
|
13228
13177
|
class GetToolsParametersQuery(BaseModel):
|
|
13229
13178
|
id: Optional[List[GetToolsParametersQueryIdItem]] = Field(
|
|
13230
|
-
|
|
13179
|
+
default_factory=list,
|
|
13180
|
+
description='The IDs of the tools to retrieve.',
|
|
13181
|
+
title='Id',
|
|
13231
13182
|
)
|
|
13232
13183
|
deprecated: Optional[bool] = Field(
|
|
13233
13184
|
None, description='Whether the tools are deprecated.', title='Deprecated'
|
|
@@ -13316,7 +13267,9 @@ class GetToolInvocationsParametersQuerySimulationUnitTestSetRunIdItem(
|
|
|
13316
13267
|
|
|
13317
13268
|
class GetToolInvocationsParametersQuery(BaseModel):
|
|
13318
13269
|
tool_id: Optional[List[GetToolInvocationsParametersQueryToolIdItem]] = Field(
|
|
13319
|
-
|
|
13270
|
+
default_factory=list,
|
|
13271
|
+
description='The IDs of the tools to get invocations for.',
|
|
13272
|
+
title='Tool Id',
|
|
13320
13273
|
)
|
|
13321
13274
|
version: Optional[List[str]] = Field(
|
|
13322
13275
|
[],
|
|
@@ -13333,14 +13286,14 @@ class GetToolInvocationsParametersQuery(BaseModel):
|
|
|
13333
13286
|
conversation_id: Optional[
|
|
13334
13287
|
List[GetToolInvocationsParametersQueryConversationIdItem]
|
|
13335
13288
|
] = Field(
|
|
13336
|
-
|
|
13289
|
+
default_factory=list,
|
|
13337
13290
|
description='The conversation IDs associated with the invocations if they are of invocation source `regular-conversation`.',
|
|
13338
13291
|
title='Conversation Id',
|
|
13339
13292
|
)
|
|
13340
13293
|
simulation_unit_test_set_run_id: Optional[
|
|
13341
13294
|
List[GetToolInvocationsParametersQuerySimulationUnitTestSetRunIdItem]
|
|
13342
13295
|
] = Field(
|
|
13343
|
-
|
|
13296
|
+
default_factory=list,
|
|
13344
13297
|
description='The simulation unit test set run IDs associated with the invocations if they are of invocation source `simulation-conversation`.',
|
|
13345
13298
|
title='Simulation Unit Test Set Run Id',
|
|
13346
13299
|
)
|
|
@@ -13400,7 +13353,9 @@ class SearchToolInvocationsParametersQuery(BaseModel):
|
|
|
13400
13353
|
title='Query Against',
|
|
13401
13354
|
)
|
|
13402
13355
|
tool_id: Optional[List[SearchToolInvocationsParametersQueryToolIdItem]] = Field(
|
|
13403
|
-
|
|
13356
|
+
default_factory=list,
|
|
13357
|
+
description='The IDs of the tools to get invocations for.',
|
|
13358
|
+
title='Tool Id',
|
|
13404
13359
|
)
|
|
13405
13360
|
invocation_source_type: Optional[
|
|
13406
13361
|
List[GetToolInvocationsParametersQueryInvocationSourceTypeEnum]
|
|
@@ -13410,14 +13365,14 @@ class SearchToolInvocationsParametersQuery(BaseModel):
|
|
|
13410
13365
|
conversation_id: Optional[
|
|
13411
13366
|
List[SearchToolInvocationsParametersQueryConversationIdItem]
|
|
13412
13367
|
] = Field(
|
|
13413
|
-
|
|
13368
|
+
default_factory=list,
|
|
13414
13369
|
description="The conversation ID associated with the invocation if it's of invocation source `regular-conversation`.",
|
|
13415
13370
|
title='Conversation Id',
|
|
13416
13371
|
)
|
|
13417
13372
|
simulation_unit_test_set_run_id: Optional[
|
|
13418
13373
|
List[SearchToolInvocationsParametersQuerySimulationUnitTestSetRunIdItem]
|
|
13419
13374
|
] = Field(
|
|
13420
|
-
|
|
13375
|
+
default_factory=list,
|
|
13421
13376
|
description="The simulation unit test set run ID associated with the invocation if it's of invocation source `simulation-conversation`.",
|
|
13422
13377
|
title='Simulation Unit Test Set Run Id',
|
|
13423
13378
|
)
|
|
@@ -13876,7 +13831,7 @@ class ServiceInstance(BaseModel):
|
|
|
13876
13831
|
agent_id: str = Field(
|
|
13877
13832
|
..., description='The ID of the agent that this service uses.', title='Agent Id'
|
|
13878
13833
|
)
|
|
13879
|
-
tags: List[
|
|
13834
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
13880
13835
|
..., description='The tags of the service.', title='Tags'
|
|
13881
13836
|
)
|
|
13882
13837
|
|
|
@@ -13929,7 +13884,7 @@ class SimulationUnitTestSet(BaseModel):
|
|
|
13929
13884
|
description='Whether the unit test set has been deleted.',
|
|
13930
13885
|
title='Is Deleted',
|
|
13931
13886
|
)
|
|
13932
|
-
tags: List[
|
|
13887
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
13933
13888
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13934
13889
|
)
|
|
13935
13890
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -13968,7 +13923,7 @@ class SimulationUnitTestSetInstance(BaseModel):
|
|
|
13968
13923
|
description='Whether the unit test set has been deleted.',
|
|
13969
13924
|
title='Is Deleted',
|
|
13970
13925
|
)
|
|
13971
|
-
tags: List[
|
|
13926
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
13972
13927
|
..., description='The tags of the simulation unit test set.', title='Tags'
|
|
13973
13928
|
)
|
|
13974
13929
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSetSimulationUnitTestSetUserInfo
|
|
@@ -14084,7 +14039,7 @@ class ToolInstance(BaseModel):
|
|
|
14084
14039
|
description='A list of encrypted environment variables that some versions of this tool uses.',
|
|
14085
14040
|
title='Secret Envvars',
|
|
14086
14041
|
)
|
|
14087
|
-
tags: List[
|
|
14042
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
14088
14043
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
14089
14044
|
)
|
|
14090
14045
|
|
|
@@ -14505,7 +14460,7 @@ class OrganizationCreateOrganizationRequest(BaseModel):
|
|
|
14505
14460
|
description='Additional descriptions of the services offered by this organization that is displayed below `main_description` in a smaller font.',
|
|
14506
14461
|
min_length=1,
|
|
14507
14462
|
)
|
|
14508
|
-
user_dimensions: List[
|
|
14463
|
+
user_dimensions: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14509
14464
|
...,
|
|
14510
14465
|
description='User dimensions for the organization.',
|
|
14511
14466
|
title='User Dimensions',
|
|
@@ -14617,6 +14572,17 @@ class OrganizationGetApiKeysResponse(BaseModel):
|
|
|
14617
14572
|
)
|
|
14618
14573
|
|
|
14619
14574
|
|
|
14575
|
+
class OrganizationModifyOrganizationRequestUserDimensions(
|
|
14576
|
+
RootModel[List[OrganizationModifyOrganizationRequestUserDimension]]
|
|
14577
|
+
):
|
|
14578
|
+
root: List[OrganizationModifyOrganizationRequestUserDimension] = Field(
|
|
14579
|
+
...,
|
|
14580
|
+
description='User dimensions for the organization. If not set or `null`, this field is not updated.',
|
|
14581
|
+
min_length=1,
|
|
14582
|
+
title='User Dimensions',
|
|
14583
|
+
)
|
|
14584
|
+
|
|
14585
|
+
|
|
14620
14586
|
class OrganizationModifyOrganizationRequest(BaseModel):
|
|
14621
14587
|
title: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = Field(
|
|
14622
14588
|
None,
|
|
@@ -14691,43 +14657,20 @@ class RoleModifyRoleRequestPermissionGrant(BaseModel):
|
|
|
14691
14657
|
description: Optional[AmigoLibPydanticBaseModelStrippedNonemptyString1] = None
|
|
14692
14658
|
|
|
14693
14659
|
|
|
14694
|
-
class
|
|
14695
|
-
|
|
14696
|
-
...,
|
|
14697
|
-
description='The ID of the state machine that this service uses.',
|
|
14698
|
-
pattern='^[a-f0-9]{24}$',
|
|
14699
|
-
title='Service Hierarchical State Machine Id',
|
|
14700
|
-
)
|
|
14701
|
-
agent_id: str = Field(
|
|
14660
|
+
class ServiceCreateServiceRequestVersionSet(BaseModel):
|
|
14661
|
+
agent_version_number: Optional[int] = Field(
|
|
14702
14662
|
...,
|
|
14703
|
-
description='The
|
|
14704
|
-
|
|
14705
|
-
title='Agent Id',
|
|
14706
|
-
)
|
|
14707
|
-
name: str = Field(..., description='The name of this service.', min_length=1)
|
|
14708
|
-
description: str = Field(
|
|
14709
|
-
..., description='A description of this service.', min_length=1
|
|
14663
|
+
description='The version number of the agent to be used. If None, the latest agent version will be used.',
|
|
14664
|
+
title='Agent Version Number',
|
|
14710
14665
|
)
|
|
14711
|
-
|
|
14666
|
+
service_hierarchical_state_machine_version_number: Optional[int] = Field(
|
|
14712
14667
|
...,
|
|
14713
|
-
description='
|
|
14714
|
-
title='
|
|
14715
|
-
)
|
|
14716
|
-
release_version_set: Optional[ServiceUpsertServiceVersionSetRequestVersionSet] = (
|
|
14717
|
-
Field(
|
|
14718
|
-
None,
|
|
14719
|
-
description='The `release` version set to use for this service. If not specified, the `release` version set will be the same as the `edge` version set, which uses the\nlatest agent and state machine versions with no model preference.',
|
|
14720
|
-
)
|
|
14721
|
-
)
|
|
14722
|
-
keyterms: Optional[List[StrippedNonemptyStringAZAZ02]] = Field(
|
|
14723
|
-
[],
|
|
14724
|
-
description='A list of keyterms that are easy to get wrong during audio transcriptions that tend to occur commonly in audio sessions using this service.',
|
|
14725
|
-
max_length=20,
|
|
14726
|
-
title='Keyterms',
|
|
14727
|
-
)
|
|
14728
|
-
tags: Dict[str, Optional[StrippedNonemptyStringWS]] = Field(
|
|
14729
|
-
..., description='The tags of this service.', title='Tags'
|
|
14668
|
+
description='The version number of the state machine to be used. If None, the latest state machine version will be used.',
|
|
14669
|
+
title='Service Hierarchical State Machine Version Number',
|
|
14730
14670
|
)
|
|
14671
|
+
llm_model_preferences: Dict[
|
|
14672
|
+
str, ServiceUpsertServiceVersionSetRequestVersionSetLLMConfig
|
|
14673
|
+
] = Field(..., title='Llm Model Preferences')
|
|
14731
14674
|
|
|
14732
14675
|
|
|
14733
14676
|
class ServiceGetServicesResponse(BaseModel):
|
|
@@ -14751,7 +14694,7 @@ class ServiceGetServicesResponse(BaseModel):
|
|
|
14751
14694
|
|
|
14752
14695
|
|
|
14753
14696
|
class ServiceUpsertServiceVersionSetRequest(BaseModel):
|
|
14754
|
-
version_set:
|
|
14697
|
+
version_set: ServiceCreateServiceRequestVersionSet = Field(
|
|
14755
14698
|
..., description='The version set to upsert.'
|
|
14756
14699
|
)
|
|
14757
14700
|
|
|
@@ -14934,7 +14877,9 @@ class SimulationUpdateSimulationUnitTestSetRequest(BaseModel):
|
|
|
14934
14877
|
description: Optional[
|
|
14935
14878
|
Union[AmigoLibPydanticBaseModelStrippedNonemptyString1, FieldNotSet]
|
|
14936
14879
|
] = Field(
|
|
14937
|
-
|
|
14880
|
+
default_factory=lambda: AmigoLibPydanticBaseModelStrippedNonemptyString1.model_validate(
|
|
14881
|
+
{}
|
|
14882
|
+
),
|
|
14938
14883
|
description='The description of the simulation unit test set. If not specified or an empty object is provided, the description will not be updated.',
|
|
14939
14884
|
title='Description',
|
|
14940
14885
|
)
|
|
@@ -14991,7 +14936,7 @@ class ToolGetToolsResponse(BaseModel):
|
|
|
14991
14936
|
|
|
14992
14937
|
|
|
14993
14938
|
class ToolInvokeToolVersionRequest(BaseModel):
|
|
14994
|
-
inputs: List[
|
|
14939
|
+
inputs: List[ToolTestToolRequestInput] = Field(
|
|
14995
14940
|
...,
|
|
14996
14941
|
description='The list of inputs for the tool invocation.',
|
|
14997
14942
|
max_length=10,
|
|
@@ -15007,9 +14952,46 @@ class ToolInvokeToolVersionResponse(BaseModel):
|
|
|
15007
14952
|
|
|
15008
14953
|
|
|
15009
14954
|
class ToolModifyToolEnvvarsRequest(BaseModel):
|
|
15010
|
-
inserts: Optional[List[InsertRequest]] = Field(
|
|
15011
|
-
|
|
15012
|
-
|
|
14955
|
+
inserts: Optional[List[InsertRequest]] = Field(
|
|
14956
|
+
default_factory=list, title='Inserts'
|
|
14957
|
+
)
|
|
14958
|
+
updates: Optional[List[UpdateRequest]] = Field(
|
|
14959
|
+
default_factory=list, title='Updates'
|
|
14960
|
+
)
|
|
14961
|
+
deletes: Optional[List[DeleteRequest]] = Field(
|
|
14962
|
+
default_factory=list, title='Deletes'
|
|
14963
|
+
)
|
|
14964
|
+
|
|
14965
|
+
|
|
14966
|
+
class ToolTestToolRequest(BaseModel):
|
|
14967
|
+
inputs: List[ToolTestToolRequestInput] = Field(
|
|
14968
|
+
...,
|
|
14969
|
+
description='The list of inputs for the tool invocation.',
|
|
14970
|
+
max_length=10,
|
|
14971
|
+
min_length=1,
|
|
14972
|
+
title='Inputs',
|
|
14973
|
+
)
|
|
14974
|
+
commit_branch: str = Field(
|
|
14975
|
+
...,
|
|
14976
|
+
description='The branch in the tools repo whose tip will be tested.',
|
|
14977
|
+
title='Commit Branch',
|
|
14978
|
+
)
|
|
14979
|
+
project_path: str = Field(
|
|
14980
|
+
...,
|
|
14981
|
+
description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
|
|
14982
|
+
pattern='^[-\\w\\d_/]+$',
|
|
14983
|
+
title='Project Path',
|
|
14984
|
+
)
|
|
14985
|
+
required_envvars: Dict[str, str] = Field(
|
|
14986
|
+
...,
|
|
14987
|
+
description='The environment variables required for the tool to run.',
|
|
14988
|
+
title='Required Envvars',
|
|
14989
|
+
)
|
|
14990
|
+
required_secret_envvars: Dict[str, str] = Field(
|
|
14991
|
+
...,
|
|
14992
|
+
description='The secret environment variables required for the tool to run.',
|
|
14993
|
+
title='Required Secret Envvars',
|
|
14994
|
+
)
|
|
15013
14995
|
|
|
15014
14996
|
|
|
15015
14997
|
ToolTestToolResponse = ToolInvokeToolVersionResponse
|
|
@@ -15052,22 +15034,33 @@ class UserGetUserModelResponse(BaseModel):
|
|
|
15052
15034
|
)
|
|
15053
15035
|
|
|
15054
15036
|
|
|
15055
|
-
class
|
|
15056
|
-
|
|
15057
|
-
...,
|
|
15037
|
+
class UserGetUsersResponseUserInstance(BaseModel):
|
|
15038
|
+
org_id: str = Field(
|
|
15039
|
+
...,
|
|
15040
|
+
description='The ID of the organization that this user belongs to.',
|
|
15041
|
+
title='Org Id',
|
|
15058
15042
|
)
|
|
15059
|
-
|
|
15060
|
-
..., description='
|
|
15043
|
+
user_id: str = Field(
|
|
15044
|
+
..., description='The identifier of the user.', title='User Id'
|
|
15061
15045
|
)
|
|
15062
|
-
|
|
15063
|
-
...,
|
|
15064
|
-
|
|
15065
|
-
|
|
15046
|
+
first_name: str = Field(
|
|
15047
|
+
..., description='The first name of the user.', title='First Name'
|
|
15048
|
+
)
|
|
15049
|
+
last_name: str = Field(
|
|
15050
|
+
..., description='The last name of the user.', title='Last Name'
|
|
15051
|
+
)
|
|
15052
|
+
email: str = Field(..., description='Email of the user.', title='Email')
|
|
15053
|
+
user_stats: UserSearchUsersResponseUserInstanceUserStats = Field(
|
|
15054
|
+
..., description="Statistics about the user's usage of the Amigo platform."
|
|
15055
|
+
)
|
|
15056
|
+
role: str = Field(..., description='The ID of the role of the user.', title='Role')
|
|
15057
|
+
preferences: AmigoLibMongoCollectionsUserUserPreferences = Field(
|
|
15058
|
+
..., description='The preferences of the user.'
|
|
15066
15059
|
)
|
|
15067
15060
|
|
|
15068
15061
|
|
|
15069
15062
|
class UserSearchUsersResponse(BaseModel):
|
|
15070
|
-
users: List[
|
|
15063
|
+
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
15071
15064
|
..., description='Users in this organization.', title='Users'
|
|
15072
15065
|
)
|
|
15073
15066
|
|
|
@@ -15313,7 +15306,7 @@ class Metric(BaseModel):
|
|
|
15313
15306
|
additional_notes: Optional[str] = Field(
|
|
15314
15307
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15315
15308
|
)
|
|
15316
|
-
tags: List[
|
|
15309
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
15317
15310
|
..., description='The tags of the metric.', title='Tags'
|
|
15318
15311
|
)
|
|
15319
15312
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15383,7 +15376,7 @@ class MetricInstance(BaseModel):
|
|
|
15383
15376
|
additional_notes: Optional[str] = Field(
|
|
15384
15377
|
..., description='Additional notes about the metric.', title='Additional Notes'
|
|
15385
15378
|
)
|
|
15386
|
-
tags: List[
|
|
15379
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
15387
15380
|
..., description='The tags of the metric.', title='Tags'
|
|
15388
15381
|
)
|
|
15389
15382
|
creator: AmigoLibMongoCollectionsMetricMetricUserInfo = Field(
|
|
@@ -15585,7 +15578,7 @@ class SimulationUnitTest(BaseModel):
|
|
|
15585
15578
|
is_deleted: bool = Field(
|
|
15586
15579
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15587
15580
|
)
|
|
15588
|
-
tags: List[
|
|
15581
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
15589
15582
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15590
15583
|
)
|
|
15591
15584
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
@@ -15630,7 +15623,7 @@ class SimulationUnitTestInstance(BaseModel):
|
|
|
15630
15623
|
is_deleted: bool = Field(
|
|
15631
15624
|
..., description='Whether the unit test has been deleted.', title='Is Deleted'
|
|
15632
15625
|
)
|
|
15633
|
-
tags: List[
|
|
15626
|
+
tags: List[AmigoLibMongoCollectionsMetricMetricTag] = Field(
|
|
15634
15627
|
..., description='The tags of the simulation persona.', title='Tags'
|
|
15635
15628
|
)
|
|
15636
15629
|
creator: AmigoLibMongoCollectionsSimulationUnitTestSimulationUnitTestUserInfo
|
|
@@ -15972,13 +15965,52 @@ class RoleModifyRoleRequest(BaseModel):
|
|
|
15972
15965
|
)
|
|
15973
15966
|
inherited_from: Optional[Union[RoleModifyRoleRequestInheritedFrom, FieldNotSet]] = (
|
|
15974
15967
|
Field(
|
|
15975
|
-
|
|
15968
|
+
default_factory=lambda: RoleModifyRoleRequestInheritedFrom.model_validate(
|
|
15969
|
+
{}
|
|
15970
|
+
),
|
|
15976
15971
|
description='The ID of the role that this role inherits from. Only updated if specified. This field is an immutable field.',
|
|
15977
15972
|
title='Inherited From',
|
|
15978
15973
|
)
|
|
15979
15974
|
)
|
|
15980
15975
|
|
|
15981
15976
|
|
|
15977
|
+
class ServiceCreateServiceRequest(BaseModel):
|
|
15978
|
+
service_hierarchical_state_machine_id: str = Field(
|
|
15979
|
+
...,
|
|
15980
|
+
description='The ID of the state machine that this service uses.',
|
|
15981
|
+
pattern='^[a-f0-9]{24}$',
|
|
15982
|
+
title='Service Hierarchical State Machine Id',
|
|
15983
|
+
)
|
|
15984
|
+
agent_id: str = Field(
|
|
15985
|
+
...,
|
|
15986
|
+
description='The ID of the agent that this service uses.',
|
|
15987
|
+
pattern='^[a-f0-9]{24}$',
|
|
15988
|
+
title='Agent Id',
|
|
15989
|
+
)
|
|
15990
|
+
name: str = Field(..., description='The name of this service.', min_length=1)
|
|
15991
|
+
description: str = Field(
|
|
15992
|
+
..., description='A description of this service.', min_length=1
|
|
15993
|
+
)
|
|
15994
|
+
is_active: bool = Field(
|
|
15995
|
+
...,
|
|
15996
|
+
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.',
|
|
15997
|
+
title='Is Active',
|
|
15998
|
+
)
|
|
15999
|
+
release_version_set: Optional[ServiceCreateServiceRequestVersionSet] = Field(
|
|
16000
|
+
None,
|
|
16001
|
+
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.',
|
|
16002
|
+
)
|
|
16003
|
+
keyterms: Optional[List[StrippedNonemptyStringAZAZ02]] = Field(
|
|
16004
|
+
default_factory=list,
|
|
16005
|
+
description='A list of keyterms that are easy to get wrong during audio transcriptions that tend to occur commonly in audio sessions using this service.',
|
|
16006
|
+
max_length=20,
|
|
16007
|
+
title='Keyterms',
|
|
16008
|
+
)
|
|
16009
|
+
tags: Dict[str, Optional[StrippedNonemptyStringWS]] = Field(
|
|
16010
|
+
..., description='The tags of this service.', title='Tags'
|
|
16011
|
+
)
|
|
16012
|
+
|
|
16013
|
+
|
|
15982
16014
|
class SimulationCreateSimulationUnitTestRequest(BaseModel):
|
|
15983
16015
|
name: str = Field(..., description='The name of the unit test.', min_length=1)
|
|
15984
16016
|
description: str = Field(
|
|
@@ -16147,6 +16179,20 @@ class ToolSearchToolInvocationsResponse(BaseModel):
|
|
|
16147
16179
|
)
|
|
16148
16180
|
|
|
16149
16181
|
|
|
16182
|
+
class UserGetUsersResponse(BaseModel):
|
|
16183
|
+
users: List[UserGetUsersResponseUserInstance] = Field(
|
|
16184
|
+
..., description='Users in this organization.', title='Users'
|
|
16185
|
+
)
|
|
16186
|
+
has_more: bool = Field(
|
|
16187
|
+
..., description='Whether there are more users to retrieve.', title='Has More'
|
|
16188
|
+
)
|
|
16189
|
+
continuation_token: Optional[int] = Field(
|
|
16190
|
+
...,
|
|
16191
|
+
description='A token to supply to the next request to retrieve the next page of users. Only populated if `has_more` is `True`.',
|
|
16192
|
+
title='Continuation Token',
|
|
16193
|
+
)
|
|
16194
|
+
|
|
16195
|
+
|
|
16150
16196
|
class SimulationUnitTestSetRunInstance(BaseModel):
|
|
16151
16197
|
org_id: str = Field(..., title='Org Id')
|
|
16152
16198
|
id: str = Field(..., title='Id')
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
amigo_sdk/__init__.py,sha256=
|
|
1
|
+
amigo_sdk/__init__.py,sha256=V9LrsPXWSjmJjrzhBX2Jg7fwyt0bJwh_4Y1wHPk41Bc,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=rFQ0yRQ2P4AanO0unJKQENIEhdJhmAE1jDEuYPZnKQM,456886
|
|
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.94.0.dist-info/METADATA,sha256=o6UgzqxKnPOF1KVjeBZxQqFnzJhtkk4s8oDIVOwaa-k,8499
|
|
15
|
+
amigo_sdk-0.94.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
16
|
+
amigo_sdk-0.94.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
|
|
17
|
+
amigo_sdk-0.94.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
|
|
18
|
+
amigo_sdk-0.94.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|