amigo_sdk 0.36.0__py3-none-any.whl → 0.38.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.
Potentially problematic release.
This version of amigo_sdk might be problematic. Click here for more details.
- amigo_sdk/__init__.py +1 -1
- amigo_sdk/generated/model.py +142 -183
- {amigo_sdk-0.36.0.dist-info → amigo_sdk-0.38.0.dist-info}/METADATA +1 -1
- {amigo_sdk-0.36.0.dist-info → amigo_sdk-0.38.0.dist-info}/RECORD +7 -7
- {amigo_sdk-0.36.0.dist-info → amigo_sdk-0.38.0.dist-info}/WHEEL +0 -0
- {amigo_sdk-0.36.0.dist-info → amigo_sdk-0.38.0.dist-info}/entry_points.txt +0 -0
- {amigo_sdk-0.36.0.dist-info → amigo_sdk-0.38.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-10-
|
|
3
|
+
# timestamp: 2025-10-02T18:06:48+00:00
|
|
4
4
|
|
|
5
5
|
from __future__ import annotations
|
|
6
6
|
|
|
@@ -240,7 +240,7 @@ class EngageUserDynamicBehaviorOverrideEvent(BaseModel):
|
|
|
240
240
|
)
|
|
241
241
|
|
|
242
242
|
|
|
243
|
-
class
|
|
243
|
+
class EngageUserInvocationMetadata(BaseModel):
|
|
244
244
|
type: Literal['engage-user'] = Field('engage-user', title='Type')
|
|
245
245
|
current_state_machine_and_version: List = Field(
|
|
246
246
|
...,
|
|
@@ -256,9 +256,6 @@ class EngageUserInvocationMetadataInput(BaseModel):
|
|
|
256
256
|
)
|
|
257
257
|
|
|
258
258
|
|
|
259
|
-
EngageUserInvocationMetadataOutput = EngageUserInvocationMetadataInput
|
|
260
|
-
|
|
261
|
-
|
|
262
259
|
class EngageUserMessageFragmentGeneratedEvent(BaseModel):
|
|
263
260
|
type: Literal['engage-user-message-fragment-generated'] = Field(
|
|
264
261
|
'engage-user-message-fragment-generated', title='Type'
|
|
@@ -8871,24 +8868,6 @@ class ReflectionStateOutputNextState(AnnotationStateOutputNextState):
|
|
|
8871
8868
|
pass
|
|
8872
8869
|
|
|
8873
8870
|
|
|
8874
|
-
class RegularConversationInvocationSourceInputConversationId(RootModel[str]):
|
|
8875
|
-
root: str = Field(
|
|
8876
|
-
...,
|
|
8877
|
-
description='The ID of the conversation where the tool was invoked. This conversation might not actually exist if later in the call the conversation is rolled back.',
|
|
8878
|
-
pattern='^[a-f0-9]{24}$',
|
|
8879
|
-
title='Conversation Id',
|
|
8880
|
-
)
|
|
8881
|
-
|
|
8882
|
-
|
|
8883
|
-
class RegularConversationInvocationSourceInputInteractionId(RootModel[str]):
|
|
8884
|
-
root: str = Field(
|
|
8885
|
-
...,
|
|
8886
|
-
description='The ID of the interaction where the tool was invoked. This interaction might not actually exist if later in the call the interaction is rolled back.',
|
|
8887
|
-
pattern='^[a-f0-9]{24}$',
|
|
8888
|
-
title='Interaction Id',
|
|
8889
|
-
)
|
|
8890
|
-
|
|
8891
|
-
|
|
8892
8871
|
class RelationshipToDeveloperOutput(BaseModel):
|
|
8893
8872
|
ownership: str = Field(
|
|
8894
8873
|
...,
|
|
@@ -9018,18 +8997,6 @@ class SideEffectStateTransitionLog(BaseModel):
|
|
|
9018
8997
|
)
|
|
9019
8998
|
|
|
9020
8999
|
|
|
9021
|
-
class SimulationConversationInvocationSourceInputSimulationUnitTestSetRunId(
|
|
9022
|
-
RootModel[str]
|
|
9023
|
-
):
|
|
9024
|
-
root: str = Field(
|
|
9025
|
-
..., pattern='^[a-f0-9]{24}$', title='Simulation Unit Test Set Run Id'
|
|
9026
|
-
)
|
|
9027
|
-
|
|
9028
|
-
|
|
9029
|
-
class SimulationConversationInvocationSourceInputUnitTestId(RootModel[str]):
|
|
9030
|
-
root: str = Field(..., pattern='^[a-f0-9]{24}$', title='Unit Test Id')
|
|
9031
|
-
|
|
9032
|
-
|
|
9033
9000
|
class SimulationEvaluationSource(BaseModel):
|
|
9034
9001
|
type: Literal['simulation'] = Field('simulation', title='Type')
|
|
9035
9002
|
simulation_unit_test_set_run_id: str = Field(
|
|
@@ -9100,7 +9067,7 @@ class StateOrRefName(RootModel[str]):
|
|
|
9100
9067
|
root: str = Field(..., pattern='^[A-Za-z0-9_]+$')
|
|
9101
9068
|
|
|
9102
9069
|
|
|
9103
|
-
class
|
|
9070
|
+
class StateTransitionInvocationMetadata(BaseModel):
|
|
9104
9071
|
type: Literal['state-transition'] = Field('state-transition', title='Type')
|
|
9105
9072
|
current_state_machine_and_version: List = Field(
|
|
9106
9073
|
...,
|
|
@@ -9126,9 +9093,6 @@ class StateTransitionInvocationMetadataInput(BaseModel):
|
|
|
9126
9093
|
)
|
|
9127
9094
|
|
|
9128
9095
|
|
|
9129
|
-
StateTransitionInvocationMetadataOutput = StateTransitionInvocationMetadataInput
|
|
9130
|
-
|
|
9131
|
-
|
|
9132
9096
|
class StrippedNonemptyStringWS(RootModel[str]):
|
|
9133
9097
|
root: str = Field(..., min_length=1, pattern='^[\\w\\s]+$')
|
|
9134
9098
|
|
|
@@ -11344,6 +11308,38 @@ class ToolPublishToolVersionResponse(BaseModel):
|
|
|
11344
11308
|
)
|
|
11345
11309
|
|
|
11346
11310
|
|
|
11311
|
+
class ToolTestToolRequest(BaseModel):
|
|
11312
|
+
inputs: List[Input] = Field(
|
|
11313
|
+
...,
|
|
11314
|
+
description='The list of inputs for the tool invocation.',
|
|
11315
|
+
max_length=10,
|
|
11316
|
+
min_length=1,
|
|
11317
|
+
title='Inputs',
|
|
11318
|
+
)
|
|
11319
|
+
commit_hash: str = Field(
|
|
11320
|
+
...,
|
|
11321
|
+
description='The commit hash of the tool to test.',
|
|
11322
|
+
pattern='^[a-f0-9]{40}$',
|
|
11323
|
+
title='Commit Hash',
|
|
11324
|
+
)
|
|
11325
|
+
project_path: str = Field(
|
|
11326
|
+
...,
|
|
11327
|
+
description='The directory in the tools repo that contains the `pyproject.toml` file corresponding to the tool version to publish.',
|
|
11328
|
+
pattern='^[-\\w\\d_/]+$',
|
|
11329
|
+
title='Project Path',
|
|
11330
|
+
)
|
|
11331
|
+
required_envvars: Dict[str, str] = Field(
|
|
11332
|
+
...,
|
|
11333
|
+
description='The environment variables required for the tool to run.',
|
|
11334
|
+
title='Required Envvars',
|
|
11335
|
+
)
|
|
11336
|
+
required_secret_envvars: Dict[str, str] = Field(
|
|
11337
|
+
...,
|
|
11338
|
+
description='The secret environment variables required for the tool to run.',
|
|
11339
|
+
title='Required Secret Envvars',
|
|
11340
|
+
)
|
|
11341
|
+
|
|
11342
|
+
|
|
11347
11343
|
class UserCreateInvitedUserRequestLoginLink(RootModel[AnyUrl]):
|
|
11348
11344
|
root: AnyUrl = Field(
|
|
11349
11345
|
...,
|
|
@@ -11875,7 +11871,7 @@ class GetConversationMessagesParametersQuery(BaseModel):
|
|
|
11875
11871
|
[], description='The IDs of the messages to retrieve.', title='Id'
|
|
11876
11872
|
)
|
|
11877
11873
|
message_type: Optional[List[MessageType]] = Field(
|
|
11878
|
-
['
|
|
11874
|
+
['agent-message', 'external-event', 'user-message'],
|
|
11879
11875
|
description='The type of messages to retrieve.',
|
|
11880
11876
|
title='Message Type',
|
|
11881
11877
|
)
|
|
@@ -13077,6 +13073,11 @@ class GetToolInvocationsParametersQueryToolIdItem(
|
|
|
13077
13073
|
pass
|
|
13078
13074
|
|
|
13079
13075
|
|
|
13076
|
+
class GetToolInvocationsParametersQueryInvocationSourceTypeEnum(Enum):
|
|
13077
|
+
regular_conversation = 'regular-conversation'
|
|
13078
|
+
simulation_conversation = 'simulation-conversation'
|
|
13079
|
+
|
|
13080
|
+
|
|
13080
13081
|
class GetToolInvocationsParametersQueryConversationIdItem(
|
|
13081
13082
|
DynamicBehaviorSetCreateDynamicBehaviorSetRequestAppliedToService
|
|
13082
13083
|
):
|
|
@@ -13089,6 +13090,56 @@ class GetToolInvocationsParametersQuerySimulationUnitTestSetRunIdItem(
|
|
|
13089
13090
|
pass
|
|
13090
13091
|
|
|
13091
13092
|
|
|
13093
|
+
class GetToolInvocationsParametersQuery(BaseModel):
|
|
13094
|
+
tool_id: Optional[List[GetToolInvocationsParametersQueryToolIdItem]] = Field(
|
|
13095
|
+
[], description='The ID of the tool to get invocations for.', title='Tool Id'
|
|
13096
|
+
)
|
|
13097
|
+
version: Optional[List[str]] = Field(
|
|
13098
|
+
[],
|
|
13099
|
+
description='A list of semver constraint that specifies the version to retrieve in the [Python packaging specification](https://packaging.python.org/en/latest/specifications/version-specifiers/#id5). This must be the exact same length as `tool_id`, and each entry corresponds to the tool ID at the same index.',
|
|
13100
|
+
title='Version',
|
|
13101
|
+
)
|
|
13102
|
+
invocation_source_type: Optional[
|
|
13103
|
+
List[GetToolInvocationsParametersQueryInvocationSourceTypeEnum]
|
|
13104
|
+
] = Field(
|
|
13105
|
+
[], description='The source of the invocation', title='Invocation Source Type'
|
|
13106
|
+
)
|
|
13107
|
+
conversation_id: Optional[
|
|
13108
|
+
List[GetToolInvocationsParametersQueryConversationIdItem]
|
|
13109
|
+
] = Field(
|
|
13110
|
+
[],
|
|
13111
|
+
description="The conversation ID associated with the invocation if it's of invocation source `regular-conversation`",
|
|
13112
|
+
title='Conversation Id',
|
|
13113
|
+
)
|
|
13114
|
+
simulation_unit_test_set_run_id: Optional[
|
|
13115
|
+
List[GetToolInvocationsParametersQuerySimulationUnitTestSetRunIdItem]
|
|
13116
|
+
] = Field(
|
|
13117
|
+
[],
|
|
13118
|
+
description="The simulation unit test set run ID associated with the invocation if it's of invocation source `simulation-conversation`",
|
|
13119
|
+
title='Simulation Unit Test Set Run Id',
|
|
13120
|
+
)
|
|
13121
|
+
succeeded: Optional[bool] = Field(
|
|
13122
|
+
None, description='Whether the invocation succeeded', title='Succeeded'
|
|
13123
|
+
)
|
|
13124
|
+
limit: Optional[int] = Field(
|
|
13125
|
+
100,
|
|
13126
|
+
description='The maximum number of tool invocations to return.',
|
|
13127
|
+
ge=0,
|
|
13128
|
+
le=100,
|
|
13129
|
+
title='Limit',
|
|
13130
|
+
)
|
|
13131
|
+
continuation_token: Optional[int] = Field(
|
|
13132
|
+
0,
|
|
13133
|
+
description='The continuation token from the previous request used to retrieve the next page of tool invocations.',
|
|
13134
|
+
title='Continuation Token',
|
|
13135
|
+
)
|
|
13136
|
+
sort_by: Optional[List[str]] = Field(
|
|
13137
|
+
[],
|
|
13138
|
+
description='The fields to sort the versions by. Supported fields are `created_at`, `version.major`, `version.minor`, `version.patch`, `tool_id`, `invocation_source.type`, and `invocation_status.succeeded`. Specify a `+` before the field name to indicate ascending sorting and `-` for descending sorting. Multiple fields can be specified to break ties.',
|
|
13139
|
+
title='Sort By',
|
|
13140
|
+
)
|
|
13141
|
+
|
|
13142
|
+
|
|
13092
13143
|
class SearchToolInvocationsParametersQueryQueryAgainstEnum(Enum):
|
|
13093
13144
|
invocation_status_exception_message = 'invocation_status.exception_message'
|
|
13094
13145
|
invocation_status_exception_type = 'invocation_status.exception_type'
|
|
@@ -13114,6 +13165,41 @@ class SearchToolInvocationsParametersQuerySimulationUnitTestSetRunIdItem(
|
|
|
13114
13165
|
pass
|
|
13115
13166
|
|
|
13116
13167
|
|
|
13168
|
+
class SearchToolInvocationsParametersQuery(BaseModel):
|
|
13169
|
+
query: str = Field(..., description='The search query.', title='Query')
|
|
13170
|
+
query_against: List[SearchToolInvocationsParametersQueryQueryAgainstEnum] = Field(
|
|
13171
|
+
...,
|
|
13172
|
+
description='The fields to query against. By default, all supported fields are queried against.',
|
|
13173
|
+
min_length=1,
|
|
13174
|
+
title='Query Against',
|
|
13175
|
+
)
|
|
13176
|
+
tool_id: Optional[List[SearchToolInvocationsParametersQueryToolIdItem]] = Field(
|
|
13177
|
+
[], description='The ID of the tool to get invocations for.', title='Tool Id'
|
|
13178
|
+
)
|
|
13179
|
+
invocation_source_type: Optional[
|
|
13180
|
+
List[GetToolInvocationsParametersQueryInvocationSourceTypeEnum]
|
|
13181
|
+
] = Field(
|
|
13182
|
+
[], description='The source of the invocation', title='Invocation Source Type'
|
|
13183
|
+
)
|
|
13184
|
+
conversation_id: Optional[
|
|
13185
|
+
List[SearchToolInvocationsParametersQueryConversationIdItem]
|
|
13186
|
+
] = Field(
|
|
13187
|
+
[],
|
|
13188
|
+
description="The conversation ID associated with the invocation if it's of invocation source `regular-conversation`",
|
|
13189
|
+
title='Conversation Id',
|
|
13190
|
+
)
|
|
13191
|
+
simulation_unit_test_set_run_id: Optional[
|
|
13192
|
+
List[SearchToolInvocationsParametersQuerySimulationUnitTestSetRunIdItem]
|
|
13193
|
+
] = Field(
|
|
13194
|
+
[],
|
|
13195
|
+
description="The simulation unit test set run ID associated with the invocation if it's of invocation source `simulation-conversation`",
|
|
13196
|
+
title='Simulation Unit Test Set Run Id',
|
|
13197
|
+
)
|
|
13198
|
+
succeeded: Optional[bool] = Field(
|
|
13199
|
+
None, description='Whether the invocation succeeded', title='Succeeded'
|
|
13200
|
+
)
|
|
13201
|
+
|
|
13202
|
+
|
|
13117
13203
|
class APIKey(BaseModel):
|
|
13118
13204
|
field_id: str = Field(
|
|
13119
13205
|
..., alias='_id', description='The ID of the document.', title='Id'
|
|
@@ -13412,6 +13498,14 @@ class InsertRequest(BaseModel):
|
|
|
13412
13498
|
)
|
|
13413
13499
|
|
|
13414
13500
|
|
|
13501
|
+
class InvocationResult(
|
|
13502
|
+
RootModel[Union[SucceededInvocationResult, FailedInvocationResult]]
|
|
13503
|
+
):
|
|
13504
|
+
root: Union[SucceededInvocationResult, FailedInvocationResult] = Field(
|
|
13505
|
+
..., discriminator='succeeded'
|
|
13506
|
+
)
|
|
13507
|
+
|
|
13508
|
+
|
|
13415
13509
|
class LLMConfigInput(BaseModel):
|
|
13416
13510
|
llm_name: LLMType
|
|
13417
13511
|
top_p: float = Field(..., description='The preferred `top_p` value.', title='Top P')
|
|
@@ -13608,33 +13702,7 @@ class ReflectionStateTransitionLog(BaseModel):
|
|
|
13608
13702
|
)
|
|
13609
13703
|
|
|
13610
13704
|
|
|
13611
|
-
class
|
|
13612
|
-
type: Literal['regular-conversation'] = Field('regular-conversation', title='Type')
|
|
13613
|
-
user_id: str = Field(
|
|
13614
|
-
...,
|
|
13615
|
-
description='The ID of the user whose conversation invoked the tool.',
|
|
13616
|
-
title='User Id',
|
|
13617
|
-
)
|
|
13618
|
-
conversation_id: Optional[
|
|
13619
|
-
RegularConversationInvocationSourceInputConversationId
|
|
13620
|
-
] = Field(
|
|
13621
|
-
...,
|
|
13622
|
-
description='The ID of the conversation where the tool was invoked. This conversation might not actually exist if later in the call the conversation is rolled back.',
|
|
13623
|
-
title='Conversation Id',
|
|
13624
|
-
)
|
|
13625
|
-
interaction_id: Optional[RegularConversationInvocationSourceInputInteractionId] = (
|
|
13626
|
-
Field(
|
|
13627
|
-
...,
|
|
13628
|
-
description='The ID of the interaction where the tool was invoked. This interaction might not actually exist if later in the call the interaction is rolled back.',
|
|
13629
|
-
title='Interaction Id',
|
|
13630
|
-
)
|
|
13631
|
-
)
|
|
13632
|
-
invocation_metadata: Union[
|
|
13633
|
-
StateTransitionInvocationMetadataInput, EngageUserInvocationMetadataInput
|
|
13634
|
-
] = Field(..., description='Metadata about the invocation.', discriminator='type')
|
|
13635
|
-
|
|
13636
|
-
|
|
13637
|
-
class RegularConversationInvocationSourceOutput(BaseModel):
|
|
13705
|
+
class RegularConversationInvocationSource(BaseModel):
|
|
13638
13706
|
type: Literal['regular-conversation'] = Field('regular-conversation', title='Type')
|
|
13639
13707
|
user_id: str = Field(
|
|
13640
13708
|
...,
|
|
@@ -13652,7 +13720,7 @@ class RegularConversationInvocationSourceOutput(BaseModel):
|
|
|
13652
13720
|
title='Interaction Id',
|
|
13653
13721
|
)
|
|
13654
13722
|
invocation_metadata: Union[
|
|
13655
|
-
|
|
13723
|
+
StateTransitionInvocationMetadata, EngageUserInvocationMetadata
|
|
13656
13724
|
] = Field(..., description='Metadata about the invocation.', discriminator='type')
|
|
13657
13725
|
|
|
13658
13726
|
|
|
@@ -13690,23 +13758,7 @@ class RoleInstance(BaseModel):
|
|
|
13690
13758
|
)
|
|
13691
13759
|
|
|
13692
13760
|
|
|
13693
|
-
class
|
|
13694
|
-
type: Literal['simulation-conversation'] = Field(
|
|
13695
|
-
'simulation-conversation', title='Type'
|
|
13696
|
-
)
|
|
13697
|
-
simulation_unit_test_set_run_id: Optional[
|
|
13698
|
-
SimulationConversationInvocationSourceInputSimulationUnitTestSetRunId
|
|
13699
|
-
] = Field(..., title='Simulation Unit Test Set Run Id')
|
|
13700
|
-
unit_test_id: Optional[SimulationConversationInvocationSourceInputUnitTestId] = (
|
|
13701
|
-
Field(..., title='Unit Test Id')
|
|
13702
|
-
)
|
|
13703
|
-
run_index: Optional[int] = Field(..., title='Run Index')
|
|
13704
|
-
invocation_metadata: Union[
|
|
13705
|
-
StateTransitionInvocationMetadataInput, EngageUserInvocationMetadataInput
|
|
13706
|
-
] = Field(..., description='Metadata about the invocation.', discriminator='type')
|
|
13707
|
-
|
|
13708
|
-
|
|
13709
|
-
class SimulationConversationInvocationSourceOutput(BaseModel):
|
|
13761
|
+
class SimulationConversationInvocationSource(BaseModel):
|
|
13710
13762
|
type: Literal['simulation-conversation'] = Field(
|
|
13711
13763
|
'simulation-conversation', title='Type'
|
|
13712
13764
|
)
|
|
@@ -13716,7 +13768,7 @@ class SimulationConversationInvocationSourceOutput(BaseModel):
|
|
|
13716
13768
|
unit_test_id: Optional[str] = Field(..., title='Unit Test Id')
|
|
13717
13769
|
run_index: Optional[int] = Field(..., title='Run Index')
|
|
13718
13770
|
invocation_metadata: Union[
|
|
13719
|
-
|
|
13771
|
+
StateTransitionInvocationMetadata, EngageUserInvocationMetadata
|
|
13720
13772
|
] = Field(..., description='Metadata about the invocation.', discriminator='type')
|
|
13721
13773
|
|
|
13722
13774
|
|
|
@@ -14849,6 +14901,9 @@ class ToolModifyToolEnvvarsRequest(BaseModel):
|
|
|
14849
14901
|
deletes: Optional[List[DeleteRequest]] = Field([], title='Deletes')
|
|
14850
14902
|
|
|
14851
14903
|
|
|
14904
|
+
ToolTestToolResponse = ToolInvokeToolVersionResponse
|
|
14905
|
+
|
|
14906
|
+
|
|
14852
14907
|
class UserCreateInvitedUserRequest(BaseModel):
|
|
14853
14908
|
first_name: str = Field(
|
|
14854
14909
|
..., description='The first name of the user.', min_length=1
|
|
@@ -15293,8 +15348,7 @@ class ToolInvocationInstance(BaseModel):
|
|
|
15293
15348
|
..., description='The status of the tool invocation.', discriminator='succeeded'
|
|
15294
15349
|
)
|
|
15295
15350
|
invocation_source: Union[
|
|
15296
|
-
|
|
15297
|
-
SimulationConversationInvocationSourceOutput,
|
|
15351
|
+
RegularConversationInvocationSource, SimulationConversationInvocationSource
|
|
15298
15352
|
] = Field(
|
|
15299
15353
|
..., description='The source of the tool invocation.', discriminator='type'
|
|
15300
15354
|
)
|
|
@@ -15755,101 +15809,6 @@ class ToolSearchToolInvocationsResponse(BaseModel):
|
|
|
15755
15809
|
)
|
|
15756
15810
|
|
|
15757
15811
|
|
|
15758
|
-
class GetToolInvocationsParametersQuery(BaseModel):
|
|
15759
|
-
tool_id: Optional[List[GetToolInvocationsParametersQueryToolIdItem]] = Field(
|
|
15760
|
-
[], description='The ID of the tool to get invocations for.', title='Tool Id'
|
|
15761
|
-
)
|
|
15762
|
-
version: Optional[List[Optional[str]]] = Field(
|
|
15763
|
-
[],
|
|
15764
|
-
description='A list of semver constraint that specifies the version to retrieve in the [Python packaging specification](https://packaging.python.org/en/latest/specifications/version-specifiers/#id5). This must be the exact same length as `tool_id`, and each entry corresponds to the tool ID at the same index. If an entry is null, all versions of the corresponding tool are retrieved.',
|
|
15765
|
-
title='Version',
|
|
15766
|
-
)
|
|
15767
|
-
invocation_source_type: Optional[
|
|
15768
|
-
List[
|
|
15769
|
-
Union[
|
|
15770
|
-
RegularConversationInvocationSourceInput,
|
|
15771
|
-
SimulationConversationInvocationSourceInput,
|
|
15772
|
-
]
|
|
15773
|
-
]
|
|
15774
|
-
] = Field(
|
|
15775
|
-
[], description='The source of the invocation', title='Invocation Source Type'
|
|
15776
|
-
)
|
|
15777
|
-
conversation_id: Optional[
|
|
15778
|
-
List[GetToolInvocationsParametersQueryConversationIdItem]
|
|
15779
|
-
] = Field(
|
|
15780
|
-
[],
|
|
15781
|
-
description="The conversation ID associated with the invocation if it's of invocation source `regular-conversation`",
|
|
15782
|
-
title='Conversation Id',
|
|
15783
|
-
)
|
|
15784
|
-
simulation_unit_test_set_run_id: Optional[
|
|
15785
|
-
List[GetToolInvocationsParametersQuerySimulationUnitTestSetRunIdItem]
|
|
15786
|
-
] = Field(
|
|
15787
|
-
[],
|
|
15788
|
-
description="The simulation unit test set run ID associated with the invocation if it's of invocation source `simulation-conversation`",
|
|
15789
|
-
title='Simulation Unit Test Set Run Id',
|
|
15790
|
-
)
|
|
15791
|
-
succeeded: Optional[bool] = Field(
|
|
15792
|
-
None, description='Whether the invocation succeeded', title='Succeeded'
|
|
15793
|
-
)
|
|
15794
|
-
limit: Optional[int] = Field(
|
|
15795
|
-
100,
|
|
15796
|
-
description='The maximum number of tool invocations to return.',
|
|
15797
|
-
ge=0,
|
|
15798
|
-
le=100,
|
|
15799
|
-
title='Limit',
|
|
15800
|
-
)
|
|
15801
|
-
continuation_token: Optional[int] = Field(
|
|
15802
|
-
0,
|
|
15803
|
-
description='The continuation token from the previous request used to retrieve the next page of tool invocations.',
|
|
15804
|
-
title='Continuation Token',
|
|
15805
|
-
)
|
|
15806
|
-
sort_by: Optional[List[str]] = Field(
|
|
15807
|
-
[],
|
|
15808
|
-
description='The fields to sort the versions by. Supported fields are `created_at`, `version.major`, `version.minor`, `version.patch`, `tool_id`, `invocation_source.type`, and `invocation_status.succeeded`. Specify a `+` before the field name to indicate ascending sorting and `-` for descending sorting. Multiple fields can be specified to break ties.',
|
|
15809
|
-
title='Sort By',
|
|
15810
|
-
)
|
|
15811
|
-
|
|
15812
|
-
|
|
15813
|
-
class SearchToolInvocationsParametersQuery(BaseModel):
|
|
15814
|
-
query: str = Field(..., description='The search query.', title='Query')
|
|
15815
|
-
query_against: List[SearchToolInvocationsParametersQueryQueryAgainstEnum] = Field(
|
|
15816
|
-
...,
|
|
15817
|
-
description='The fields to query against. By default, all supported fields are queried against.',
|
|
15818
|
-
min_length=1,
|
|
15819
|
-
title='Query Against',
|
|
15820
|
-
)
|
|
15821
|
-
tool_id: Optional[List[SearchToolInvocationsParametersQueryToolIdItem]] = Field(
|
|
15822
|
-
[], description='The ID of the tool to get invocations for.', title='Tool Id'
|
|
15823
|
-
)
|
|
15824
|
-
invocation_source_type: Optional[
|
|
15825
|
-
List[
|
|
15826
|
-
Union[
|
|
15827
|
-
RegularConversationInvocationSourceInput,
|
|
15828
|
-
SimulationConversationInvocationSourceInput,
|
|
15829
|
-
]
|
|
15830
|
-
]
|
|
15831
|
-
] = Field(
|
|
15832
|
-
[], description='The source of the invocation', title='Invocation Source Type'
|
|
15833
|
-
)
|
|
15834
|
-
conversation_id: Optional[
|
|
15835
|
-
List[SearchToolInvocationsParametersQueryConversationIdItem]
|
|
15836
|
-
] = Field(
|
|
15837
|
-
[],
|
|
15838
|
-
description="The conversation ID associated with the invocation if it's of invocation source `regular-conversation`",
|
|
15839
|
-
title='Conversation Id',
|
|
15840
|
-
)
|
|
15841
|
-
simulation_unit_test_set_run_id: Optional[
|
|
15842
|
-
List[SearchToolInvocationsParametersQuerySimulationUnitTestSetRunIdItem]
|
|
15843
|
-
] = Field(
|
|
15844
|
-
[],
|
|
15845
|
-
description="The simulation unit test set run ID associated with the invocation if it's of invocation source `simulation-conversation`",
|
|
15846
|
-
title='Simulation Unit Test Set Run Id',
|
|
15847
|
-
)
|
|
15848
|
-
succeeded: Optional[bool] = Field(
|
|
15849
|
-
None, description='Whether the invocation succeeded', title='Succeeded'
|
|
15850
|
-
)
|
|
15851
|
-
|
|
15852
|
-
|
|
15853
15812
|
class SimulationUnitTest(BaseModel):
|
|
15854
15813
|
field_id: str = Field(
|
|
15855
15814
|
..., alias='_id', description='The ID of the document.', title='Id'
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
amigo_sdk/__init__.py,sha256=
|
|
1
|
+
amigo_sdk/__init__.py,sha256=89EKxyTu_-s0FXnZoNSaB82ujJk5RRB6XO38laDVRoE,139
|
|
2
2
|
amigo_sdk/_retry_utils.py,sha256=kFjw9Wqye6MB5-B4rjLxsbSNcfYBIztcollIoncd1hY,2142
|
|
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=RkRyF5eAASd8fIOS6YvL9rLDvLAYWqHfpHSCR7jqvl4,4840
|
|
|
6
6
|
amigo_sdk/http_client.py,sha256=v25UoUbXcMeHTnfJMcrl8RSSwCVkKUL1Jv-0HoXP1B4,13507
|
|
7
7
|
amigo_sdk/models.py,sha256=V-G6iL43_ZNOPDcatCJCSszGWGz-nzp_RSyGNm-rBAc,45
|
|
8
8
|
amigo_sdk/sdk_client.py,sha256=Kr9M9o66pOLu0T2VDvqdYMmPZzgKJyTELu7BSPgGrYQ,6152
|
|
9
|
-
amigo_sdk/generated/model.py,sha256=
|
|
9
|
+
amigo_sdk/generated/model.py,sha256=3QouG75JA8Q4x1VGmp6Pz_v_e-ju2mW4qviOR5fZsRg,439992
|
|
10
10
|
amigo_sdk/resources/conversation.py,sha256=5PkJOvLKqnriSS9K9hKw2VRPxRLTuABEbCyPy1fz1r0,14817
|
|
11
11
|
amigo_sdk/resources/organization.py,sha256=yX4UlOHNegRzFW4gCJrCxjiLCAGnGegasjviR1yad_Q,1211
|
|
12
12
|
amigo_sdk/resources/service.py,sha256=SiwEHXCQk4r1b_tGv47M08VuB7RALDHJQzWlpuD937g,1571
|
|
13
13
|
amigo_sdk/resources/user.py,sha256=i4t5aVzBI37KwAtLKSDWTMwf4D4KQdSDoUiblFe1u7o,3529
|
|
14
|
-
amigo_sdk-0.
|
|
15
|
-
amigo_sdk-0.
|
|
16
|
-
amigo_sdk-0.
|
|
17
|
-
amigo_sdk-0.
|
|
18
|
-
amigo_sdk-0.
|
|
14
|
+
amigo_sdk-0.38.0.dist-info/METADATA,sha256=dyaANkUnsFIOMFDMs8zCQFIrrbFgJVcqwYq9w07WKYY,8350
|
|
15
|
+
amigo_sdk-0.38.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
16
|
+
amigo_sdk-0.38.0.dist-info/entry_points.txt,sha256=ivKZ8S9W6SH796zUDHeM-qHodrwmkmUItophi-jJWK0,82
|
|
17
|
+
amigo_sdk-0.38.0.dist-info/licenses/LICENSE,sha256=tx3FiTVbGxwBUOxQbNh05AAQlC2jd5hGvNpIkSfVbCo,1062
|
|
18
|
+
amigo_sdk-0.38.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|