@amigo-ai/sdk 0.70.0 → 0.71.0
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.
- package/dist/types/generated/api-types.d.ts +267 -139
- package/package.json +1 -1
|
@@ -709,6 +709,30 @@ export interface paths {
|
|
|
709
709
|
patch?: never;
|
|
710
710
|
trace?: never;
|
|
711
711
|
};
|
|
712
|
+
"/v1/{organization}/conversation/{conversation_id}/tags/": {
|
|
713
|
+
parameters: {
|
|
714
|
+
query?: never;
|
|
715
|
+
header?: never;
|
|
716
|
+
path?: never;
|
|
717
|
+
cookie?: never;
|
|
718
|
+
};
|
|
719
|
+
get?: never;
|
|
720
|
+
put?: never;
|
|
721
|
+
/**
|
|
722
|
+
* Modify tags of a conversation
|
|
723
|
+
* @description Modify the tags of a conversation.
|
|
724
|
+
*
|
|
725
|
+
* #### Permissions
|
|
726
|
+
* This endpoint requires the following permissions:
|
|
727
|
+
* * `Conversation:ModifyConversation` for the conversation to modify tags for.
|
|
728
|
+
*/
|
|
729
|
+
post: operations["modify-tags-of-conversation"];
|
|
730
|
+
delete?: never;
|
|
731
|
+
options?: never;
|
|
732
|
+
head?: never;
|
|
733
|
+
patch?: never;
|
|
734
|
+
trace?: never;
|
|
735
|
+
};
|
|
712
736
|
"/v1/{organization}/user/": {
|
|
713
737
|
parameters: {
|
|
714
738
|
query?: never;
|
|
@@ -2267,7 +2291,7 @@ export interface components {
|
|
|
2267
2291
|
/** Boundary Constraints */
|
|
2268
2292
|
boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
2269
2293
|
/** Exit Conditions */
|
|
2270
|
-
exit_conditions: components["schemas"]["
|
|
2294
|
+
exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition"][];
|
|
2271
2295
|
/** Action Tool Call Specs */
|
|
2272
2296
|
action_tool_call_specs: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ToolCallSpec"][];
|
|
2273
2297
|
/** Exit Condition Tool Call Specs */
|
|
@@ -2688,7 +2712,7 @@ export interface components {
|
|
|
2688
2712
|
type: "decision";
|
|
2689
2713
|
name: components["schemas"]["StateOrRefName"];
|
|
2690
2714
|
/** Exit Conditions */
|
|
2691
|
-
exit_conditions: components["schemas"]["
|
|
2715
|
+
exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition"][];
|
|
2692
2716
|
/** Decision Guidelines */
|
|
2693
2717
|
decision_guidelines: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
2694
2718
|
objective: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
@@ -3432,7 +3456,7 @@ export interface components {
|
|
|
3432
3456
|
* Tags
|
|
3433
3457
|
* @description The tags of the metric.
|
|
3434
3458
|
*/
|
|
3435
|
-
tags: components["schemas"]["
|
|
3459
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
|
|
3436
3460
|
/** @description The user who created the metric. */
|
|
3437
3461
|
creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
|
|
3438
3462
|
/** @description The user who last updated the metric. */
|
|
@@ -3537,7 +3561,7 @@ export interface components {
|
|
|
3537
3561
|
* Tags
|
|
3538
3562
|
* @description The tags of the metric.
|
|
3539
3563
|
*/
|
|
3540
|
-
tags: components["schemas"]["
|
|
3564
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
|
|
3541
3565
|
/** @description The user who created the metric. */
|
|
3542
3566
|
creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
|
|
3543
3567
|
/** @description The user who last updated the metric. */
|
|
@@ -4384,7 +4408,7 @@ export interface components {
|
|
|
4384
4408
|
* Tags
|
|
4385
4409
|
* @description The tags of the service.
|
|
4386
4410
|
*/
|
|
4387
|
-
tags: components["schemas"]["
|
|
4411
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
|
|
4388
4412
|
};
|
|
4389
4413
|
/** SimulationConversationInvocationSource */
|
|
4390
4414
|
SimulationConversationInvocationSource: {
|
|
@@ -4594,7 +4618,7 @@ export interface components {
|
|
|
4594
4618
|
* Tags
|
|
4595
4619
|
* @description The tags of the simulation persona.
|
|
4596
4620
|
*/
|
|
4597
|
-
tags: components["schemas"]["
|
|
4621
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
|
|
4598
4622
|
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
|
|
4599
4623
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
|
|
4600
4624
|
};
|
|
@@ -4666,7 +4690,7 @@ export interface components {
|
|
|
4666
4690
|
* Tags
|
|
4667
4691
|
* @description The tags of the simulation persona.
|
|
4668
4692
|
*/
|
|
4669
|
-
tags: components["schemas"]["
|
|
4693
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
|
|
4670
4694
|
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
|
|
4671
4695
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
|
|
4672
4696
|
};
|
|
@@ -4721,7 +4745,7 @@ export interface components {
|
|
|
4721
4745
|
* Tags
|
|
4722
4746
|
* @description The tags of the simulation unit test set.
|
|
4723
4747
|
*/
|
|
4724
|
-
tags: components["schemas"]["
|
|
4748
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
|
|
4725
4749
|
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
|
|
4726
4750
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
|
|
4727
4751
|
};
|
|
@@ -4773,7 +4797,7 @@ export interface components {
|
|
|
4773
4797
|
* Tags
|
|
4774
4798
|
* @description The tags of the simulation unit test set.
|
|
4775
4799
|
*/
|
|
4776
|
-
tags: components["schemas"]["
|
|
4800
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
|
|
4777
4801
|
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
|
|
4778
4802
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
|
|
4779
4803
|
};
|
|
@@ -5235,7 +5259,7 @@ export interface components {
|
|
|
5235
5259
|
* Tags
|
|
5236
5260
|
* @description The tags of the simulation persona.
|
|
5237
5261
|
*/
|
|
5238
|
-
tags: components["schemas"]["
|
|
5262
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__Tag"][];
|
|
5239
5263
|
};
|
|
5240
5264
|
/** ToolVersionInstance */
|
|
5241
5265
|
ToolVersionInstance: {
|
|
@@ -5737,6 +5761,13 @@ export interface components {
|
|
|
5737
5761
|
*/
|
|
5738
5762
|
tool_name: string;
|
|
5739
5763
|
};
|
|
5764
|
+
/** Tag */
|
|
5765
|
+
amigo_lib__mongo__collections__metric__Metric__Tag: {
|
|
5766
|
+
/** Key */
|
|
5767
|
+
key: string;
|
|
5768
|
+
/** Value */
|
|
5769
|
+
value: string | null;
|
|
5770
|
+
};
|
|
5740
5771
|
/** UserInfo */
|
|
5741
5772
|
amigo_lib__mongo__collections__metric__Metric__UserInfo: {
|
|
5742
5773
|
/** Org Id */
|
|
@@ -5777,13 +5808,6 @@ export interface components {
|
|
|
5777
5808
|
*/
|
|
5778
5809
|
description?: string | null;
|
|
5779
5810
|
};
|
|
5780
|
-
/** Tag */
|
|
5781
|
-
amigo_lib__mongo__collections__service__Service__Tag: {
|
|
5782
|
-
/** Key */
|
|
5783
|
-
key: string;
|
|
5784
|
-
/** Value */
|
|
5785
|
-
value: string | null;
|
|
5786
|
-
};
|
|
5787
5811
|
/**
|
|
5788
5812
|
* VersionSet
|
|
5789
5813
|
* @description A version set pins the agent, state machine, and model version used by this service.
|
|
@@ -6045,6 +6069,13 @@ export interface components {
|
|
|
6045
6069
|
* @description The type of the `initial_message`. Can only be specified if `initial_message` is provided.
|
|
6046
6070
|
*/
|
|
6047
6071
|
initial_message_type?: ("user-message" | "external-event") | null;
|
|
6072
|
+
/**
|
|
6073
|
+
* Tags
|
|
6074
|
+
* @description A list of tags for the conversation. Both the key and the value can only contain alphanumeric characters, underscores, or spaces.
|
|
6075
|
+
*/
|
|
6076
|
+
tags: {
|
|
6077
|
+
[key: string]: components["schemas"]["StrippedNonemptyString___w__s_____"] | null;
|
|
6078
|
+
};
|
|
6048
6079
|
};
|
|
6049
6080
|
conversation__create_conversation__Response: components["schemas"]["ConversationCreatedEvent"] | components["schemas"]["NewMessageEvent"] | components["schemas"]["InteractionCompleteEvent"] | components["schemas"]["CurrentAgentActionEvent"] | components["schemas"]["ErrorEvent"];
|
|
6050
6081
|
/** Request */
|
|
@@ -6175,6 +6206,23 @@ export interface components {
|
|
|
6175
6206
|
};
|
|
6176
6207
|
conversation__interact_with_conversation__Response: components["schemas"]["ConversationEvent"] | components["schemas"]["UserMessageAvailableEvent"] | components["schemas"]["ErrorEvent"];
|
|
6177
6208
|
/** Request */
|
|
6209
|
+
conversation__modify_tags_of_conversation__Request: {
|
|
6210
|
+
/**
|
|
6211
|
+
* Updates
|
|
6212
|
+
* @description A mapping of tags to add or update on the conversation. Existing tags not included here remain unchanged.
|
|
6213
|
+
* @default {}
|
|
6214
|
+
*/
|
|
6215
|
+
updates?: {
|
|
6216
|
+
[key: string]: components["schemas"]["StrippedNonemptyString___w__s_____"] | null;
|
|
6217
|
+
};
|
|
6218
|
+
/**
|
|
6219
|
+
* Deletes
|
|
6220
|
+
* @description A list of tags to remove from the conversation.
|
|
6221
|
+
* @default []
|
|
6222
|
+
*/
|
|
6223
|
+
deletes?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
6224
|
+
};
|
|
6225
|
+
/** Request */
|
|
6178
6226
|
conversation__recommend_responses_for_interaction__Request: {
|
|
6179
6227
|
/**
|
|
6180
6228
|
* @description The context under which the recommended responses should be generated.
|
|
@@ -6419,7 +6467,7 @@ export interface components {
|
|
|
6419
6467
|
* Dynamic Behavior Sets
|
|
6420
6468
|
* @description The retrieved dynamic behavior sets.
|
|
6421
6469
|
*/
|
|
6422
|
-
dynamic_behavior_sets: components["schemas"]["
|
|
6470
|
+
dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
|
|
6423
6471
|
/**
|
|
6424
6472
|
* Has More
|
|
6425
6473
|
* @description Whether there are more dynamic behavior sets to retrieve.
|
|
@@ -6436,8 +6484,34 @@ export interface components {
|
|
|
6436
6484
|
* retrieved. */
|
|
6437
6485
|
filter_values: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues"] | null;
|
|
6438
6486
|
};
|
|
6487
|
+
/** FilterValues */
|
|
6488
|
+
dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues: {
|
|
6489
|
+
/**
|
|
6490
|
+
* Applied To Services Ids
|
|
6491
|
+
* @description A set of service IDs that have dynamic behavior sets applied to the service.
|
|
6492
|
+
*/
|
|
6493
|
+
applied_to_services_ids: string[];
|
|
6494
|
+
/**
|
|
6495
|
+
* Creators
|
|
6496
|
+
* @description A set of creator infos that created the dynamic behavior sets under the current filters.
|
|
6497
|
+
*/
|
|
6498
|
+
creators: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"][];
|
|
6499
|
+
/**
|
|
6500
|
+
* Tags
|
|
6501
|
+
* @description A set of tag keys that exist in the dynamic behavior sets under the current filters.
|
|
6502
|
+
*/
|
|
6503
|
+
tags: string[];
|
|
6504
|
+
};
|
|
6505
|
+
/** Response */
|
|
6506
|
+
dynamic_behavior_set__search_dynamic_behavior_sets__Response: {
|
|
6507
|
+
/**
|
|
6508
|
+
* Dynamic Behavior Sets
|
|
6509
|
+
* @description The retrieved dynamic behavior sets.
|
|
6510
|
+
*/
|
|
6511
|
+
dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
|
|
6512
|
+
};
|
|
6439
6513
|
/** DynamicBehaviorSetInstance */
|
|
6440
|
-
|
|
6514
|
+
dynamic_behavior_set__search_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance: {
|
|
6441
6515
|
/** Id */
|
|
6442
6516
|
id: string;
|
|
6443
6517
|
/** Name */
|
|
@@ -6463,32 +6537,6 @@ export interface components {
|
|
|
6463
6537
|
updated_at: string;
|
|
6464
6538
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"];
|
|
6465
6539
|
};
|
|
6466
|
-
/** FilterValues */
|
|
6467
|
-
dynamic_behavior_set__get_dynamic_behavior_sets__Response__FilterValues: {
|
|
6468
|
-
/**
|
|
6469
|
-
* Applied To Services Ids
|
|
6470
|
-
* @description A set of service IDs that have dynamic behavior sets applied to the service.
|
|
6471
|
-
*/
|
|
6472
|
-
applied_to_services_ids: string[];
|
|
6473
|
-
/**
|
|
6474
|
-
* Creators
|
|
6475
|
-
* @description A set of creator infos that created the dynamic behavior sets under the current filters.
|
|
6476
|
-
*/
|
|
6477
|
-
creators: components["schemas"]["amigo_lib__mongo__collections__dynamic_behavior_set__DynamicBehaviorSet__UserInfo"][];
|
|
6478
|
-
/**
|
|
6479
|
-
* Tags
|
|
6480
|
-
* @description A set of tag keys that exist in the dynamic behavior sets under the current filters.
|
|
6481
|
-
*/
|
|
6482
|
-
tags: string[];
|
|
6483
|
-
};
|
|
6484
|
-
/** Response */
|
|
6485
|
-
dynamic_behavior_set__search_dynamic_behavior_sets__Response: {
|
|
6486
|
-
/**
|
|
6487
|
-
* Dynamic Behavior Sets
|
|
6488
|
-
* @description The retrieved dynamic behavior sets.
|
|
6489
|
-
*/
|
|
6490
|
-
dynamic_behavior_sets: components["schemas"]["dynamic_behavior_set__get_dynamic_behavior_sets__Response__DynamicBehaviorSetInstance"][];
|
|
6491
|
-
};
|
|
6492
6540
|
/** Request */
|
|
6493
6541
|
dynamic_behavior_set__update_dynamic_behavior_set__Request: {
|
|
6494
6542
|
/** @description The name of the dynamic behavior set. */
|
|
@@ -6959,7 +7007,7 @@ export interface components {
|
|
|
6959
7007
|
global_boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
6960
7008
|
};
|
|
6961
7009
|
/** ExitCondition */
|
|
6962
|
-
|
|
7010
|
+
organization__create_service_hierarchical_state_machine_version__Request__DecisionState__ExitCondition: {
|
|
6963
7011
|
description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
6964
7012
|
/** Next State */
|
|
6965
7013
|
next_state: components["schemas"]["StateOrRefName"] | [
|
|
@@ -7439,7 +7487,19 @@ export interface components {
|
|
|
7439
7487
|
service_hierarchical_state_machine_version_number: number | null;
|
|
7440
7488
|
/** Llm Model Preferences */
|
|
7441
7489
|
llm_model_preferences: {
|
|
7442
|
-
[key: string]: components["schemas"]["
|
|
7490
|
+
[key: string]: components["schemas"]["service__create_service__Request__VersionSet__LLMConfig"];
|
|
7491
|
+
};
|
|
7492
|
+
};
|
|
7493
|
+
/** LLMConfig */
|
|
7494
|
+
service__create_service__Request__VersionSet__LLMConfig: {
|
|
7495
|
+
llm_name: components["schemas"]["LLMType"];
|
|
7496
|
+
/**
|
|
7497
|
+
* Params
|
|
7498
|
+
* @description LLM-specific parameters to use.
|
|
7499
|
+
* @default {}
|
|
7500
|
+
*/
|
|
7501
|
+
params?: {
|
|
7502
|
+
[key: string]: unknown;
|
|
7443
7503
|
};
|
|
7444
7504
|
};
|
|
7445
7505
|
/** Response */
|
|
@@ -7524,18 +7584,6 @@ export interface components {
|
|
|
7524
7584
|
/** @description The version set to upsert. */
|
|
7525
7585
|
version_set: components["schemas"]["service__create_service__Request__VersionSet"];
|
|
7526
7586
|
};
|
|
7527
|
-
/** LLMConfig */
|
|
7528
|
-
service__upsert_service_version_set__Request__VersionSet__LLMConfig: {
|
|
7529
|
-
llm_name: components["schemas"]["LLMType"];
|
|
7530
|
-
/**
|
|
7531
|
-
* Params
|
|
7532
|
-
* @description LLM-specific parameters to use.
|
|
7533
|
-
* @default {}
|
|
7534
|
-
*/
|
|
7535
|
-
params?: {
|
|
7536
|
-
[key: string]: unknown;
|
|
7537
|
-
};
|
|
7538
|
-
};
|
|
7539
7587
|
/** Request */
|
|
7540
7588
|
simulation__create_simulation_persona__Request: {
|
|
7541
7589
|
/** @description The name of the simulation persona. */
|
|
@@ -8291,7 +8339,7 @@ export interface components {
|
|
|
8291
8339
|
* Tool Invocations
|
|
8292
8340
|
* @description The list of tool invocations.
|
|
8293
8341
|
*/
|
|
8294
|
-
tool_invocations: components["schemas"]["
|
|
8342
|
+
tool_invocations: components["schemas"]["tool__get_tool_invocations__Response__ToolInvocationInstance"][];
|
|
8295
8343
|
/**
|
|
8296
8344
|
* Has More
|
|
8297
8345
|
* @description Whether there are more tool invocations to retrieve.
|
|
@@ -8303,6 +8351,47 @@ export interface components {
|
|
|
8303
8351
|
*/
|
|
8304
8352
|
continuation_token: unknown | null;
|
|
8305
8353
|
};
|
|
8354
|
+
/** ToolInvocationInstance */
|
|
8355
|
+
tool__get_tool_invocations__Response__ToolInvocationInstance: {
|
|
8356
|
+
/**
|
|
8357
|
+
* Id
|
|
8358
|
+
* @description The ID of the tool invocation.
|
|
8359
|
+
*/
|
|
8360
|
+
id: string;
|
|
8361
|
+
/**
|
|
8362
|
+
* Org Id
|
|
8363
|
+
* @description The ID of the organization.
|
|
8364
|
+
*/
|
|
8365
|
+
org_id: string;
|
|
8366
|
+
/**
|
|
8367
|
+
* Created At
|
|
8368
|
+
* Format: date-time
|
|
8369
|
+
*/
|
|
8370
|
+
created_at?: string;
|
|
8371
|
+
/**
|
|
8372
|
+
* Updated At
|
|
8373
|
+
* Format: date-time
|
|
8374
|
+
*/
|
|
8375
|
+
updated_at?: string;
|
|
8376
|
+
/** @description The status of the tool invocation. */
|
|
8377
|
+
invocation_status: components["schemas"]["InvocationStatus"];
|
|
8378
|
+
/** @description The source of the tool invocation. */
|
|
8379
|
+
invocation_source: components["schemas"]["InvocationSource"];
|
|
8380
|
+
/** Logs */
|
|
8381
|
+
logs: string[];
|
|
8382
|
+
/**
|
|
8383
|
+
* Duration Ms
|
|
8384
|
+
* @description The duration of the tool invocation in milliseconds.
|
|
8385
|
+
*/
|
|
8386
|
+
duration_ms: number;
|
|
8387
|
+
/**
|
|
8388
|
+
* Tool Id
|
|
8389
|
+
* @description The ID of the tool that was invoked.
|
|
8390
|
+
*/
|
|
8391
|
+
tool_id: string;
|
|
8392
|
+
/** @description The version of the tool that was invoked. */
|
|
8393
|
+
tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
|
|
8394
|
+
};
|
|
8306
8395
|
/** Response */
|
|
8307
8396
|
tool__get_tool_versions__Response: {
|
|
8308
8397
|
/**
|
|
@@ -8371,23 +8460,7 @@ export interface components {
|
|
|
8371
8460
|
* Inputs
|
|
8372
8461
|
* @description The list of inputs for the tool invocation.
|
|
8373
8462
|
*/
|
|
8374
|
-
inputs: components["schemas"]["
|
|
8375
|
-
};
|
|
8376
|
-
/** Input */
|
|
8377
|
-
tool__invoke_tool_version__Request__Input: {
|
|
8378
|
-
/**
|
|
8379
|
-
* Input Parameters
|
|
8380
|
-
* @description The input parameters for the tool invocation.
|
|
8381
|
-
*/
|
|
8382
|
-
input_parameters: {
|
|
8383
|
-
[key: string]: unknown;
|
|
8384
|
-
};
|
|
8385
|
-
/**
|
|
8386
|
-
* Invocation Mode
|
|
8387
|
-
* @description The mode of invocation.
|
|
8388
|
-
* @enum {string}
|
|
8389
|
-
*/
|
|
8390
|
-
invocation_mode: "regular" | "conversation-simulation";
|
|
8463
|
+
inputs: components["schemas"]["tool__test_tool__Request__Input"][];
|
|
8391
8464
|
};
|
|
8392
8465
|
/** Response */
|
|
8393
8466
|
tool__invoke_tool_version__Response: {
|
|
@@ -8459,48 +8532,7 @@ export interface components {
|
|
|
8459
8532
|
* Tool Invocations
|
|
8460
8533
|
* @description The list of tool invocations.
|
|
8461
8534
|
*/
|
|
8462
|
-
tool_invocations: components["schemas"]["
|
|
8463
|
-
};
|
|
8464
|
-
/** ToolInvocationInstance */
|
|
8465
|
-
tool__search_tool_invocations__Response__ToolInvocationInstance: {
|
|
8466
|
-
/**
|
|
8467
|
-
* Id
|
|
8468
|
-
* @description The ID of the tool invocation.
|
|
8469
|
-
*/
|
|
8470
|
-
id: string;
|
|
8471
|
-
/**
|
|
8472
|
-
* Org Id
|
|
8473
|
-
* @description The ID of the organization.
|
|
8474
|
-
*/
|
|
8475
|
-
org_id: string;
|
|
8476
|
-
/**
|
|
8477
|
-
* Created At
|
|
8478
|
-
* Format: date-time
|
|
8479
|
-
*/
|
|
8480
|
-
created_at?: string;
|
|
8481
|
-
/**
|
|
8482
|
-
* Updated At
|
|
8483
|
-
* Format: date-time
|
|
8484
|
-
*/
|
|
8485
|
-
updated_at?: string;
|
|
8486
|
-
/** @description The status of the tool invocation. */
|
|
8487
|
-
invocation_status: components["schemas"]["InvocationStatus"];
|
|
8488
|
-
/** @description The source of the tool invocation. */
|
|
8489
|
-
invocation_source: components["schemas"]["InvocationSource"];
|
|
8490
|
-
/** Logs */
|
|
8491
|
-
logs: string[];
|
|
8492
|
-
/**
|
|
8493
|
-
* Duration Ms
|
|
8494
|
-
* @description The duration of the tool invocation in milliseconds.
|
|
8495
|
-
*/
|
|
8496
|
-
duration_ms: number;
|
|
8497
|
-
/**
|
|
8498
|
-
* Tool Id
|
|
8499
|
-
* @description The ID of the tool that was invoked.
|
|
8500
|
-
*/
|
|
8501
|
-
tool_id: string;
|
|
8502
|
-
/** @description The version of the tool that was invoked. */
|
|
8503
|
-
tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
|
|
8535
|
+
tool_invocations: components["schemas"]["tool__get_tool_invocations__Response__ToolInvocationInstance"][];
|
|
8504
8536
|
};
|
|
8505
8537
|
/** Request */
|
|
8506
8538
|
tool__test_tool__Request: {
|
|
@@ -8508,7 +8540,7 @@ export interface components {
|
|
|
8508
8540
|
* Inputs
|
|
8509
8541
|
* @description The list of inputs for the tool invocation.
|
|
8510
8542
|
*/
|
|
8511
|
-
inputs: components["schemas"]["
|
|
8543
|
+
inputs: components["schemas"]["tool__test_tool__Request__Input"][];
|
|
8512
8544
|
/**
|
|
8513
8545
|
* Commit Branch
|
|
8514
8546
|
* @description The branch in the tools repo whose tip will be tested.
|
|
@@ -8534,6 +8566,22 @@ export interface components {
|
|
|
8534
8566
|
[key: string]: string;
|
|
8535
8567
|
};
|
|
8536
8568
|
};
|
|
8569
|
+
/** Input */
|
|
8570
|
+
tool__test_tool__Request__Input: {
|
|
8571
|
+
/**
|
|
8572
|
+
* Input Parameters
|
|
8573
|
+
* @description The input parameters for the tool invocation.
|
|
8574
|
+
*/
|
|
8575
|
+
input_parameters: {
|
|
8576
|
+
[key: string]: unknown;
|
|
8577
|
+
};
|
|
8578
|
+
/**
|
|
8579
|
+
* Invocation Mode
|
|
8580
|
+
* @description The mode of invocation.
|
|
8581
|
+
* @enum {string}
|
|
8582
|
+
*/
|
|
8583
|
+
invocation_mode: "regular" | "conversation-simulation";
|
|
8584
|
+
};
|
|
8537
8585
|
/** Response */
|
|
8538
8586
|
tool__test_tool__Response: {
|
|
8539
8587
|
/** Invocation Results */
|
|
@@ -8658,6 +8706,24 @@ export interface components {
|
|
|
8658
8706
|
*/
|
|
8659
8707
|
continuation_token: number | null;
|
|
8660
8708
|
};
|
|
8709
|
+
/** UserStats */
|
|
8710
|
+
user__get_users__Response__UserInstance__UserStats: {
|
|
8711
|
+
/**
|
|
8712
|
+
* Num Conversations
|
|
8713
|
+
* @description The number of conversations the user has created.
|
|
8714
|
+
*/
|
|
8715
|
+
num_conversations: number;
|
|
8716
|
+
/**
|
|
8717
|
+
* Num Messages
|
|
8718
|
+
* @description The number of messages the user has sent and received.
|
|
8719
|
+
*/
|
|
8720
|
+
num_messages: number;
|
|
8721
|
+
/**
|
|
8722
|
+
* Last Message Time
|
|
8723
|
+
* @description The time of the last message the user sent or received. If `None`, the user hasn't started any conversations.
|
|
8724
|
+
*/
|
|
8725
|
+
last_message_time: string | null;
|
|
8726
|
+
};
|
|
8661
8727
|
/** Response */
|
|
8662
8728
|
user__search_users__Response: {
|
|
8663
8729
|
/**
|
|
@@ -8694,7 +8760,7 @@ export interface components {
|
|
|
8694
8760
|
*/
|
|
8695
8761
|
email: string;
|
|
8696
8762
|
/** @description Statistics about the user's usage of the Amigo platform. */
|
|
8697
|
-
user_stats: components["schemas"]["
|
|
8763
|
+
user_stats: components["schemas"]["user__get_users__Response__UserInstance__UserStats"];
|
|
8698
8764
|
/**
|
|
8699
8765
|
* Role
|
|
8700
8766
|
* @description The ID of the role of the user.
|
|
@@ -8703,24 +8769,6 @@ export interface components {
|
|
|
8703
8769
|
/** @description The preferences of the user. */
|
|
8704
8770
|
preferences: components["schemas"]["amigo_lib__mongo__collections__user__User__Preferences"];
|
|
8705
8771
|
};
|
|
8706
|
-
/** UserStats */
|
|
8707
|
-
user__search_users__Response__UserInstance__UserStats: {
|
|
8708
|
-
/**
|
|
8709
|
-
* Num Conversations
|
|
8710
|
-
* @description The number of conversations the user has created.
|
|
8711
|
-
*/
|
|
8712
|
-
num_conversations: number;
|
|
8713
|
-
/**
|
|
8714
|
-
* Num Messages
|
|
8715
|
-
* @description The number of messages the user has sent and received.
|
|
8716
|
-
*/
|
|
8717
|
-
num_messages: number;
|
|
8718
|
-
/**
|
|
8719
|
-
* Last Message Time
|
|
8720
|
-
* @description The time of the last message the user sent or received. If `None`, the user hasn't started any conversations.
|
|
8721
|
-
*/
|
|
8722
|
-
last_message_time: string | null;
|
|
8723
|
-
};
|
|
8724
8772
|
/** SigninWithAPIKeyResponse */
|
|
8725
8773
|
user__sign_in_with_api_key__Response: {
|
|
8726
8774
|
/**
|
|
@@ -10725,6 +10773,8 @@ export interface operations {
|
|
|
10725
10773
|
continuation_token?: number;
|
|
10726
10774
|
/** @description The field to sort the conversations by. Supported fields are `created_at`. Specify a `+` before the field name to indicate ascending sorting and `-` for descending sorting. Multiple fields can be specified to break ties. */
|
|
10727
10775
|
sort_by?: string[];
|
|
10776
|
+
/** @description The tags of the dynamic behavior sets. Must be specified using the syntax `key:value`, which means to match all sets with the given `key` and `value` pair among its tags. If `value` is `*`, it means the `value` does not matter. If `value` is empty, it matches against when the value is `None`. */
|
|
10777
|
+
tag?: string[];
|
|
10728
10778
|
};
|
|
10729
10779
|
header?: {
|
|
10730
10780
|
/** @description The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database. */
|
|
@@ -11522,6 +11572,84 @@ export interface operations {
|
|
|
11522
11572
|
};
|
|
11523
11573
|
};
|
|
11524
11574
|
};
|
|
11575
|
+
"modify-tags-of-conversation": {
|
|
11576
|
+
parameters: {
|
|
11577
|
+
query?: never;
|
|
11578
|
+
header?: {
|
|
11579
|
+
/** @description The Mongo cluster name to perform this request in. This is usually not needed unless the organization does not exist yet in the Amigo organization infra config database. */
|
|
11580
|
+
"x-mongo-cluster-name"?: string | null;
|
|
11581
|
+
"Sec-WebSocket-Protocol"?: string[];
|
|
11582
|
+
};
|
|
11583
|
+
path: {
|
|
11584
|
+
organization: string;
|
|
11585
|
+
conversation_id: string;
|
|
11586
|
+
};
|
|
11587
|
+
cookie?: never;
|
|
11588
|
+
};
|
|
11589
|
+
requestBody: {
|
|
11590
|
+
content: {
|
|
11591
|
+
"application/json": components["schemas"]["conversation__modify_tags_of_conversation__Request"];
|
|
11592
|
+
};
|
|
11593
|
+
};
|
|
11594
|
+
responses: {
|
|
11595
|
+
/** @description Succeeded. */
|
|
11596
|
+
204: {
|
|
11597
|
+
headers: {
|
|
11598
|
+
[name: string]: unknown;
|
|
11599
|
+
};
|
|
11600
|
+
content?: never;
|
|
11601
|
+
};
|
|
11602
|
+
/** @description The conversation cannot contain more than 20 tags. */
|
|
11603
|
+
400: {
|
|
11604
|
+
headers: {
|
|
11605
|
+
[name: string]: unknown;
|
|
11606
|
+
};
|
|
11607
|
+
content?: never;
|
|
11608
|
+
};
|
|
11609
|
+
/** @description Invalid authorization credentials. */
|
|
11610
|
+
401: {
|
|
11611
|
+
headers: {
|
|
11612
|
+
[name: string]: unknown;
|
|
11613
|
+
};
|
|
11614
|
+
content?: never;
|
|
11615
|
+
};
|
|
11616
|
+
/** @description Missing required permissions. */
|
|
11617
|
+
403: {
|
|
11618
|
+
headers: {
|
|
11619
|
+
[name: string]: unknown;
|
|
11620
|
+
};
|
|
11621
|
+
content?: never;
|
|
11622
|
+
};
|
|
11623
|
+
/** @description Specified organization or conversation is not found. */
|
|
11624
|
+
404: {
|
|
11625
|
+
headers: {
|
|
11626
|
+
[name: string]: unknown;
|
|
11627
|
+
};
|
|
11628
|
+
content?: never;
|
|
11629
|
+
};
|
|
11630
|
+
/** @description Invalid request path parameter or request body failed validation. */
|
|
11631
|
+
422: {
|
|
11632
|
+
headers: {
|
|
11633
|
+
[name: string]: unknown;
|
|
11634
|
+
};
|
|
11635
|
+
content?: never;
|
|
11636
|
+
};
|
|
11637
|
+
/** @description The user has exceeded the rate limit of 50 requests per minute for this endpoint. */
|
|
11638
|
+
429: {
|
|
11639
|
+
headers: {
|
|
11640
|
+
[name: string]: unknown;
|
|
11641
|
+
};
|
|
11642
|
+
content?: never;
|
|
11643
|
+
};
|
|
11644
|
+
/** @description The service is going through temporary maintenance. */
|
|
11645
|
+
503: {
|
|
11646
|
+
headers: {
|
|
11647
|
+
[name: string]: unknown;
|
|
11648
|
+
};
|
|
11649
|
+
content?: never;
|
|
11650
|
+
};
|
|
11651
|
+
};
|
|
11652
|
+
};
|
|
11525
11653
|
"get-users": {
|
|
11526
11654
|
parameters: {
|
|
11527
11655
|
query?: {
|