@amigo-ai/sdk 0.53.0 → 0.55.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.
|
@@ -2339,7 +2339,7 @@ export interface components {
|
|
|
2339
2339
|
/** Boundary Constraints */
|
|
2340
2340
|
boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
2341
2341
|
/** Exit Conditions */
|
|
2342
|
-
exit_conditions: components["schemas"]["
|
|
2342
|
+
exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition"][];
|
|
2343
2343
|
/** Action Tool Call Specs */
|
|
2344
2344
|
action_tool_call_specs: components["schemas"]["ToolCallSpec-Input"][];
|
|
2345
2345
|
/** Exit Condition Tool Call Specs */
|
|
@@ -2784,7 +2784,7 @@ export interface components {
|
|
|
2784
2784
|
type: "decision";
|
|
2785
2785
|
name: components["schemas"]["StateOrRefName"];
|
|
2786
2786
|
/** Exit Conditions */
|
|
2787
|
-
exit_conditions: components["schemas"]["
|
|
2787
|
+
exit_conditions: components["schemas"]["organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition"][];
|
|
2788
2788
|
/** Decision Guidelines */
|
|
2789
2789
|
decision_guidelines: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
2790
2790
|
objective: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
@@ -3526,7 +3526,7 @@ export interface components {
|
|
|
3526
3526
|
* Tags
|
|
3527
3527
|
* @description The tags of the metric.
|
|
3528
3528
|
*/
|
|
3529
|
-
tags: components["schemas"]["
|
|
3529
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
|
|
3530
3530
|
/** @description The user who created the metric. */
|
|
3531
3531
|
creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
|
|
3532
3532
|
/** @description The user who last updated the metric. */
|
|
@@ -3631,7 +3631,7 @@ export interface components {
|
|
|
3631
3631
|
* Tags
|
|
3632
3632
|
* @description The tags of the metric.
|
|
3633
3633
|
*/
|
|
3634
|
-
tags: components["schemas"]["
|
|
3634
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
|
|
3635
3635
|
/** @description The user who created the metric. */
|
|
3636
3636
|
creator: components["schemas"]["amigo_lib__mongo__collections__metric__Metric__UserInfo"];
|
|
3637
3637
|
/** @description The user who last updated the metric. */
|
|
@@ -4495,7 +4495,7 @@ export interface components {
|
|
|
4495
4495
|
* Tags
|
|
4496
4496
|
* @description The tags of the service.
|
|
4497
4497
|
*/
|
|
4498
|
-
tags: components["schemas"]["
|
|
4498
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
|
|
4499
4499
|
};
|
|
4500
4500
|
/** SimulationConversationInvocationSource */
|
|
4501
4501
|
SimulationConversationInvocationSource: {
|
|
@@ -4705,7 +4705,7 @@ export interface components {
|
|
|
4705
4705
|
* Tags
|
|
4706
4706
|
* @description The tags of the simulation persona.
|
|
4707
4707
|
*/
|
|
4708
|
-
tags: components["schemas"]["
|
|
4708
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
|
|
4709
4709
|
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
|
|
4710
4710
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
|
|
4711
4711
|
};
|
|
@@ -4777,7 +4777,7 @@ export interface components {
|
|
|
4777
4777
|
* Tags
|
|
4778
4778
|
* @description The tags of the simulation persona.
|
|
4779
4779
|
*/
|
|
4780
|
-
tags: components["schemas"]["
|
|
4780
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
|
|
4781
4781
|
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
|
|
4782
4782
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test__SimulationUnitTest__UserInfo"];
|
|
4783
4783
|
};
|
|
@@ -4832,7 +4832,7 @@ export interface components {
|
|
|
4832
4832
|
* Tags
|
|
4833
4833
|
* @description The tags of the simulation unit test set.
|
|
4834
4834
|
*/
|
|
4835
|
-
tags: components["schemas"]["
|
|
4835
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
|
|
4836
4836
|
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
|
|
4837
4837
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
|
|
4838
4838
|
};
|
|
@@ -4884,7 +4884,7 @@ export interface components {
|
|
|
4884
4884
|
* Tags
|
|
4885
4885
|
* @description The tags of the simulation unit test set.
|
|
4886
4886
|
*/
|
|
4887
|
-
tags: components["schemas"]["
|
|
4887
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
|
|
4888
4888
|
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
|
|
4889
4889
|
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UserInfo"];
|
|
4890
4890
|
};
|
|
@@ -5400,7 +5400,7 @@ export interface components {
|
|
|
5400
5400
|
* Tags
|
|
5401
5401
|
* @description The tags of the simulation persona.
|
|
5402
5402
|
*/
|
|
5403
|
-
tags: components["schemas"]["
|
|
5403
|
+
tags: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag"][];
|
|
5404
5404
|
};
|
|
5405
5405
|
/** ToolVersionInstance */
|
|
5406
5406
|
ToolVersionInstance: {
|
|
@@ -6015,13 +6015,6 @@ export interface components {
|
|
|
6015
6015
|
*/
|
|
6016
6016
|
overrides_instructions: boolean;
|
|
6017
6017
|
};
|
|
6018
|
-
/** Tag */
|
|
6019
|
-
amigo_lib__mongo__collections__metric__Metric__Tag: {
|
|
6020
|
-
/** Key */
|
|
6021
|
-
key: string;
|
|
6022
|
-
/** Value */
|
|
6023
|
-
value: string | null;
|
|
6024
|
-
};
|
|
6025
6018
|
/** UserInfo */
|
|
6026
6019
|
amigo_lib__mongo__collections__metric__Metric__UserInfo: {
|
|
6027
6020
|
/** Org Id */
|
|
@@ -6115,6 +6108,13 @@ export interface components {
|
|
|
6115
6108
|
/** User Id */
|
|
6116
6109
|
user_id: string;
|
|
6117
6110
|
};
|
|
6111
|
+
/** Tag */
|
|
6112
|
+
amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__Tag: {
|
|
6113
|
+
/** Key */
|
|
6114
|
+
key: string;
|
|
6115
|
+
/** Value */
|
|
6116
|
+
value: string | null;
|
|
6117
|
+
};
|
|
6118
6118
|
/** UnitTestRunDescriptor */
|
|
6119
6119
|
amigo_lib__mongo__collections__simulation_unit_test_set__SimulationUnitTestSet__UnitTestRunDescriptor: {
|
|
6120
6120
|
/** Unit Test Id */
|
|
@@ -7081,7 +7081,7 @@ export interface components {
|
|
|
7081
7081
|
global_boundary_constraints: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
7082
7082
|
};
|
|
7083
7083
|
/** ExitCondition */
|
|
7084
|
-
|
|
7084
|
+
organization__create_service_hierarchical_state_machine_version__Request__ActionState__ExitCondition: {
|
|
7085
7085
|
description: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
7086
7086
|
/** Next State */
|
|
7087
7087
|
next_state: components["schemas"]["StateOrRefName"] | [
|
|
@@ -7435,7 +7435,7 @@ export interface components {
|
|
|
7435
7435
|
* Permission Grants
|
|
7436
7436
|
* @description A list of permission grants associated with this role.
|
|
7437
7437
|
*/
|
|
7438
|
-
permission_grants: components["schemas"]["
|
|
7438
|
+
permission_grants: components["schemas"]["role__create_role__Request__PermissionGrant"][];
|
|
7439
7439
|
/** @description The frontend view for users of this role. */
|
|
7440
7440
|
frontend_view: components["schemas"]["FrontendView"];
|
|
7441
7441
|
/**
|
|
@@ -7449,6 +7449,25 @@ export interface components {
|
|
|
7449
7449
|
*/
|
|
7450
7450
|
inherited_from: string | null;
|
|
7451
7451
|
};
|
|
7452
|
+
/** PermissionGrant */
|
|
7453
|
+
role__create_role__Request__PermissionGrant: {
|
|
7454
|
+
/**
|
|
7455
|
+
* Action
|
|
7456
|
+
* @description Whether this grant allows or denies the specified access.
|
|
7457
|
+
* @enum {string}
|
|
7458
|
+
*/
|
|
7459
|
+
action: "Allow" | "Deny";
|
|
7460
|
+
/** Permission Name */
|
|
7461
|
+
permission_name: string;
|
|
7462
|
+
/**
|
|
7463
|
+
* Conditions
|
|
7464
|
+
* @description A dictionary of attribute name to condition that must be met for this grant to be applicable.
|
|
7465
|
+
*/
|
|
7466
|
+
conditions: {
|
|
7467
|
+
[key: string]: components["schemas"]["Condition"];
|
|
7468
|
+
};
|
|
7469
|
+
description?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
|
|
7470
|
+
};
|
|
7452
7471
|
/** Response */
|
|
7453
7472
|
role__create_role__Response: {
|
|
7454
7473
|
/**
|
|
@@ -7473,7 +7492,7 @@ export interface components {
|
|
|
7473
7492
|
* Permission Grants
|
|
7474
7493
|
* @description A list of permission grants associated with this role. Only updated if specified. This field is an immutable field.
|
|
7475
7494
|
*/
|
|
7476
|
-
permission_grants?: components["schemas"]["
|
|
7495
|
+
permission_grants?: components["schemas"]["role__create_role__Request__PermissionGrant"][] | null;
|
|
7477
7496
|
/** @description The frontend view for the user of this role. Only updated if specified. This field is an immutable field. */
|
|
7478
7497
|
frontend_view?: components["schemas"]["FrontendView"] | null;
|
|
7479
7498
|
/**
|
|
@@ -7483,25 +7502,6 @@ export interface components {
|
|
|
7483
7502
|
*/
|
|
7484
7503
|
inherited_from?: string | components["schemas"]["_NotSet"] | null;
|
|
7485
7504
|
};
|
|
7486
|
-
/** PermissionGrant */
|
|
7487
|
-
role__modify_role__Request__PermissionGrant: {
|
|
7488
|
-
/**
|
|
7489
|
-
* Action
|
|
7490
|
-
* @description Whether this grant allows or denies the specified access.
|
|
7491
|
-
* @enum {string}
|
|
7492
|
-
*/
|
|
7493
|
-
action: "Allow" | "Deny";
|
|
7494
|
-
/** Permission Name */
|
|
7495
|
-
permission_name: string;
|
|
7496
|
-
/**
|
|
7497
|
-
* Conditions
|
|
7498
|
-
* @description A dictionary of attribute name to condition that must be met for this grant to be applicable.
|
|
7499
|
-
*/
|
|
7500
|
-
conditions: {
|
|
7501
|
-
[key: string]: components["schemas"]["Condition"];
|
|
7502
|
-
};
|
|
7503
|
-
description?: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
|
|
7504
|
-
};
|
|
7505
7505
|
/** Response */
|
|
7506
7506
|
role__modify_role__Response: {
|
|
7507
7507
|
/**
|
|
@@ -7556,27 +7556,16 @@ export interface components {
|
|
|
7556
7556
|
service_hierarchical_state_machine_version_number: number | null;
|
|
7557
7557
|
/** Llm Model Preferences */
|
|
7558
7558
|
llm_model_preferences: {
|
|
7559
|
-
[key: string]: components["schemas"]["
|
|
7559
|
+
[key: string]: components["schemas"]["service__upsert_service_version_set__Request__VersionSet__LLMConfig"] | components["schemas"]["service__create_service__Request__VersionSet__LLMLoadBalancingSetConfig"];
|
|
7560
7560
|
};
|
|
7561
7561
|
};
|
|
7562
|
-
/**
|
|
7563
|
-
|
|
7564
|
-
|
|
7565
|
-
/**
|
|
7566
|
-
|
|
7567
|
-
|
|
7568
|
-
|
|
7569
|
-
top_p: number;
|
|
7570
|
-
/**
|
|
7571
|
-
* Temperature
|
|
7572
|
-
* @description The preferred temperature value.
|
|
7573
|
-
*/
|
|
7574
|
-
temperature: number;
|
|
7575
|
-
/**
|
|
7576
|
-
* Top K
|
|
7577
|
-
* @description The preferred `top_k` value. Note that not all LLMs support this.
|
|
7578
|
-
*/
|
|
7579
|
-
top_k: number;
|
|
7562
|
+
/** LLMLoadBalancingSetConfig */
|
|
7563
|
+
service__create_service__Request__VersionSet__LLMLoadBalancingSetConfig: {
|
|
7564
|
+
llm_load_balancing_set_name: components["schemas"]["LLMLoadBalancingSetType"];
|
|
7565
|
+
/** Configs */
|
|
7566
|
+
configs: {
|
|
7567
|
+
[key: string]: components["schemas"]["PerLLMConfig"];
|
|
7568
|
+
};
|
|
7580
7569
|
};
|
|
7581
7570
|
/** Response */
|
|
7582
7571
|
service__create_service__Response: {
|
|
@@ -7655,13 +7644,24 @@ export interface components {
|
|
|
7655
7644
|
/** @description The version set to upsert. */
|
|
7656
7645
|
version_set: components["schemas"]["service__create_service__Request__VersionSet"];
|
|
7657
7646
|
};
|
|
7658
|
-
/**
|
|
7659
|
-
|
|
7660
|
-
|
|
7661
|
-
/**
|
|
7662
|
-
|
|
7663
|
-
|
|
7664
|
-
|
|
7647
|
+
/** LLMConfig */
|
|
7648
|
+
service__upsert_service_version_set__Request__VersionSet__LLMConfig: {
|
|
7649
|
+
llm_name: components["schemas"]["LLMType"];
|
|
7650
|
+
/**
|
|
7651
|
+
* Top P
|
|
7652
|
+
* @description The preferred `top_p` value.
|
|
7653
|
+
*/
|
|
7654
|
+
top_p: number;
|
|
7655
|
+
/**
|
|
7656
|
+
* Temperature
|
|
7657
|
+
* @description The preferred temperature value.
|
|
7658
|
+
*/
|
|
7659
|
+
temperature: number;
|
|
7660
|
+
/**
|
|
7661
|
+
* Top K
|
|
7662
|
+
* @description The preferred `top_k` value. Note that not all LLMs support this.
|
|
7663
|
+
*/
|
|
7664
|
+
top_k: number;
|
|
7665
7665
|
};
|
|
7666
7666
|
/** Request */
|
|
7667
7667
|
simulation__create_simulation_persona__Request: {
|
|
@@ -7992,7 +7992,7 @@ export interface components {
|
|
|
7992
7992
|
* Simulation Scenarios
|
|
7993
7993
|
* @description The list of simulation scenarios.
|
|
7994
7994
|
*/
|
|
7995
|
-
simulation_scenarios: components["schemas"]["
|
|
7995
|
+
simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
|
|
7996
7996
|
/**
|
|
7997
7997
|
* Has More
|
|
7998
7998
|
* @description Whether there are more simulation scenarios to fetch.
|
|
@@ -8022,47 +8022,6 @@ export interface components {
|
|
|
8022
8022
|
*/
|
|
8023
8023
|
tags: string[];
|
|
8024
8024
|
};
|
|
8025
|
-
/** SimulationScenarioInstance */
|
|
8026
|
-
simulation__get_simulation_scenarios__Response__SimulationScenarioInstance: {
|
|
8027
|
-
/**
|
|
8028
|
-
* Id
|
|
8029
|
-
* @description The ID of the simulation scenario.
|
|
8030
|
-
*/
|
|
8031
|
-
id: string;
|
|
8032
|
-
/**
|
|
8033
|
-
* Name
|
|
8034
|
-
* @description The name of the simulation scenario.
|
|
8035
|
-
*/
|
|
8036
|
-
name: string;
|
|
8037
|
-
/**
|
|
8038
|
-
* Tags
|
|
8039
|
-
* @description The tags of the simulation scenario.
|
|
8040
|
-
*/
|
|
8041
|
-
tags: {
|
|
8042
|
-
[key: string]: string | null;
|
|
8043
|
-
};
|
|
8044
|
-
/**
|
|
8045
|
-
* Is Deleted
|
|
8046
|
-
* @description Whether the simulation scenario is deleted.
|
|
8047
|
-
*/
|
|
8048
|
-
is_deleted: boolean;
|
|
8049
|
-
/**
|
|
8050
|
-
* Created At
|
|
8051
|
-
* Format: date-time
|
|
8052
|
-
* @description The timestamp when the simulation scenario was created.
|
|
8053
|
-
*/
|
|
8054
|
-
created_at: string;
|
|
8055
|
-
/** @description The user who created the simulation scenario. */
|
|
8056
|
-
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
|
|
8057
|
-
/**
|
|
8058
|
-
* Updated At
|
|
8059
|
-
* Format: date-time
|
|
8060
|
-
* @description The timestamp when the simulation scenario was last updated.
|
|
8061
|
-
*/
|
|
8062
|
-
updated_at: string;
|
|
8063
|
-
/** @description The user who last updated the simulation scenario. */
|
|
8064
|
-
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
|
|
8065
|
-
};
|
|
8066
8025
|
/** Response */
|
|
8067
8026
|
simulation__get_simulation_unit_test_set_run_artifacts__Response: {
|
|
8068
8027
|
/**
|
|
@@ -8275,7 +8234,48 @@ export interface components {
|
|
|
8275
8234
|
* Simulation Scenarios
|
|
8276
8235
|
* @description The list of simulation scenarios.
|
|
8277
8236
|
*/
|
|
8278
|
-
simulation_scenarios: components["schemas"]["
|
|
8237
|
+
simulation_scenarios: components["schemas"]["simulation__search_simulation_scenarios__Response__SimulationScenarioInstance"][];
|
|
8238
|
+
};
|
|
8239
|
+
/** SimulationScenarioInstance */
|
|
8240
|
+
simulation__search_simulation_scenarios__Response__SimulationScenarioInstance: {
|
|
8241
|
+
/**
|
|
8242
|
+
* Id
|
|
8243
|
+
* @description The ID of the simulation scenario.
|
|
8244
|
+
*/
|
|
8245
|
+
id: string;
|
|
8246
|
+
/**
|
|
8247
|
+
* Name
|
|
8248
|
+
* @description The name of the simulation scenario.
|
|
8249
|
+
*/
|
|
8250
|
+
name: string;
|
|
8251
|
+
/**
|
|
8252
|
+
* Tags
|
|
8253
|
+
* @description The tags of the simulation scenario.
|
|
8254
|
+
*/
|
|
8255
|
+
tags: {
|
|
8256
|
+
[key: string]: string | null;
|
|
8257
|
+
};
|
|
8258
|
+
/**
|
|
8259
|
+
* Is Deleted
|
|
8260
|
+
* @description Whether the simulation scenario is deleted.
|
|
8261
|
+
*/
|
|
8262
|
+
is_deleted: boolean;
|
|
8263
|
+
/**
|
|
8264
|
+
* Created At
|
|
8265
|
+
* Format: date-time
|
|
8266
|
+
* @description The timestamp when the simulation scenario was created.
|
|
8267
|
+
*/
|
|
8268
|
+
created_at: string;
|
|
8269
|
+
/** @description The user who created the simulation scenario. */
|
|
8270
|
+
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
|
|
8271
|
+
/**
|
|
8272
|
+
* Updated At
|
|
8273
|
+
* Format: date-time
|
|
8274
|
+
* @description The timestamp when the simulation scenario was last updated.
|
|
8275
|
+
*/
|
|
8276
|
+
updated_at: string;
|
|
8277
|
+
/** @description The user who last updated the simulation scenario. */
|
|
8278
|
+
updated_by: components["schemas"]["amigo_lib__mongo__collections__simulation_scenario__SimulationScenario__UserInfo"];
|
|
8279
8279
|
};
|
|
8280
8280
|
/** Response */
|
|
8281
8281
|
simulation__search_simulation_unit_test_set__Response: {
|
|
@@ -8418,7 +8418,7 @@ export interface components {
|
|
|
8418
8418
|
* Tool Invocations
|
|
8419
8419
|
* @description The list of tool invocations.
|
|
8420
8420
|
*/
|
|
8421
|
-
tool_invocations: components["schemas"]["
|
|
8421
|
+
tool_invocations: components["schemas"]["tool__search_tool_invocations__Response__ToolInvocationInstance"][];
|
|
8422
8422
|
/**
|
|
8423
8423
|
* Has More
|
|
8424
8424
|
* @description Whether there are more tool invocations to retrieve.
|
|
@@ -8430,47 +8430,6 @@ export interface components {
|
|
|
8430
8430
|
*/
|
|
8431
8431
|
continuation_token: unknown | null;
|
|
8432
8432
|
};
|
|
8433
|
-
/** ToolInvocationInstance */
|
|
8434
|
-
tool__get_tool_invocations__Response__ToolInvocationInstance: {
|
|
8435
|
-
/**
|
|
8436
|
-
* Id
|
|
8437
|
-
* @description The ID of the tool invocation.
|
|
8438
|
-
*/
|
|
8439
|
-
id: string;
|
|
8440
|
-
/**
|
|
8441
|
-
* Org Id
|
|
8442
|
-
* @description The ID of the organization.
|
|
8443
|
-
*/
|
|
8444
|
-
org_id: string;
|
|
8445
|
-
/**
|
|
8446
|
-
* Created At
|
|
8447
|
-
* Format: date-time
|
|
8448
|
-
*/
|
|
8449
|
-
created_at?: string;
|
|
8450
|
-
/**
|
|
8451
|
-
* Updated At
|
|
8452
|
-
* Format: date-time
|
|
8453
|
-
*/
|
|
8454
|
-
updated_at?: string;
|
|
8455
|
-
/** @description The status of the tool invocation. */
|
|
8456
|
-
invocation_status: components["schemas"]["InvocationStatus"];
|
|
8457
|
-
/** @description The source of the tool invocation. */
|
|
8458
|
-
invocation_source: components["schemas"]["InvocationSource"];
|
|
8459
|
-
/** Logs */
|
|
8460
|
-
logs: string[];
|
|
8461
|
-
/**
|
|
8462
|
-
* Duration Ms
|
|
8463
|
-
* @description The duration of the tool invocation in milliseconds.
|
|
8464
|
-
*/
|
|
8465
|
-
duration_ms: number;
|
|
8466
|
-
/**
|
|
8467
|
-
* Tool Id
|
|
8468
|
-
* @description The ID of the tool that was invoked.
|
|
8469
|
-
*/
|
|
8470
|
-
tool_id: string;
|
|
8471
|
-
/** @description The version of the tool that was invoked. */
|
|
8472
|
-
tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
|
|
8473
|
-
};
|
|
8474
8433
|
/** Response */
|
|
8475
8434
|
tool__get_tool_versions__Response: {
|
|
8476
8435
|
/**
|
|
@@ -8627,7 +8586,48 @@ export interface components {
|
|
|
8627
8586
|
* Tool Invocations
|
|
8628
8587
|
* @description The list of tool invocations.
|
|
8629
8588
|
*/
|
|
8630
|
-
tool_invocations: components["schemas"]["
|
|
8589
|
+
tool_invocations: components["schemas"]["tool__search_tool_invocations__Response__ToolInvocationInstance"][];
|
|
8590
|
+
};
|
|
8591
|
+
/** ToolInvocationInstance */
|
|
8592
|
+
tool__search_tool_invocations__Response__ToolInvocationInstance: {
|
|
8593
|
+
/**
|
|
8594
|
+
* Id
|
|
8595
|
+
* @description The ID of the tool invocation.
|
|
8596
|
+
*/
|
|
8597
|
+
id: string;
|
|
8598
|
+
/**
|
|
8599
|
+
* Org Id
|
|
8600
|
+
* @description The ID of the organization.
|
|
8601
|
+
*/
|
|
8602
|
+
org_id: string;
|
|
8603
|
+
/**
|
|
8604
|
+
* Created At
|
|
8605
|
+
* Format: date-time
|
|
8606
|
+
*/
|
|
8607
|
+
created_at?: string;
|
|
8608
|
+
/**
|
|
8609
|
+
* Updated At
|
|
8610
|
+
* Format: date-time
|
|
8611
|
+
*/
|
|
8612
|
+
updated_at?: string;
|
|
8613
|
+
/** @description The status of the tool invocation. */
|
|
8614
|
+
invocation_status: components["schemas"]["InvocationStatus"];
|
|
8615
|
+
/** @description The source of the tool invocation. */
|
|
8616
|
+
invocation_source: components["schemas"]["InvocationSource"];
|
|
8617
|
+
/** Logs */
|
|
8618
|
+
logs: string[];
|
|
8619
|
+
/**
|
|
8620
|
+
* Duration Ms
|
|
8621
|
+
* @description The duration of the tool invocation in milliseconds.
|
|
8622
|
+
*/
|
|
8623
|
+
duration_ms: number;
|
|
8624
|
+
/**
|
|
8625
|
+
* Tool Id
|
|
8626
|
+
* @description The ID of the tool that was invoked.
|
|
8627
|
+
*/
|
|
8628
|
+
tool_id: string;
|
|
8629
|
+
/** @description The version of the tool that was invoked. */
|
|
8630
|
+
tool_version: components["schemas"]["amigo_lib__mongo__collections__tool_invocation__ToolInvocation__Version"];
|
|
8631
8631
|
};
|
|
8632
8632
|
/** Request */
|
|
8633
8633
|
tool__test_tool__Request: {
|
|
@@ -8767,7 +8767,7 @@ export interface components {
|
|
|
8767
8767
|
* Users
|
|
8768
8768
|
* @description Users in this organization.
|
|
8769
8769
|
*/
|
|
8770
|
-
users: components["schemas"]["
|
|
8770
|
+
users: components["schemas"]["user__search_users__Response__UserInstance"][];
|
|
8771
8771
|
/**
|
|
8772
8772
|
* Has More
|
|
8773
8773
|
* @description Whether there are more users to retrieve.
|
|
@@ -8779,8 +8779,16 @@ export interface components {
|
|
|
8779
8779
|
*/
|
|
8780
8780
|
continuation_token: number | null;
|
|
8781
8781
|
};
|
|
8782
|
+
/** Response */
|
|
8783
|
+
user__search_users__Response: {
|
|
8784
|
+
/**
|
|
8785
|
+
* Users
|
|
8786
|
+
* @description Users in this organization.
|
|
8787
|
+
*/
|
|
8788
|
+
users: components["schemas"]["user__search_users__Response__UserInstance"][];
|
|
8789
|
+
};
|
|
8782
8790
|
/** UserInstance */
|
|
8783
|
-
|
|
8791
|
+
user__search_users__Response__UserInstance: {
|
|
8784
8792
|
/**
|
|
8785
8793
|
* Org Id
|
|
8786
8794
|
* @description The ID of the organization that this user belongs to.
|
|
@@ -8807,7 +8815,7 @@ export interface components {
|
|
|
8807
8815
|
*/
|
|
8808
8816
|
email: string;
|
|
8809
8817
|
/** @description Statistics about the user's usage of the Amigo platform. */
|
|
8810
|
-
user_stats: components["schemas"]["
|
|
8818
|
+
user_stats: components["schemas"]["user__search_users__Response__UserInstance__UserStats"];
|
|
8811
8819
|
/**
|
|
8812
8820
|
* Role
|
|
8813
8821
|
* @description The ID of the role of the user.
|
|
@@ -8817,7 +8825,7 @@ export interface components {
|
|
|
8817
8825
|
preferences: components["schemas"]["amigo_lib__mongo__collections__user__User__Preferences"];
|
|
8818
8826
|
};
|
|
8819
8827
|
/** UserStats */
|
|
8820
|
-
|
|
8828
|
+
user__search_users__Response__UserInstance__UserStats: {
|
|
8821
8829
|
/**
|
|
8822
8830
|
* Num Conversations
|
|
8823
8831
|
* @description The number of conversations the user has created.
|
|
@@ -8834,14 +8842,6 @@ export interface components {
|
|
|
8834
8842
|
*/
|
|
8835
8843
|
last_message_time: string | null;
|
|
8836
8844
|
};
|
|
8837
|
-
/** Response */
|
|
8838
|
-
user__search_users__Response: {
|
|
8839
|
-
/**
|
|
8840
|
-
* Users
|
|
8841
|
-
* @description Users in this organization.
|
|
8842
|
-
*/
|
|
8843
|
-
users: components["schemas"]["user__get_users__Response__UserInstance"][];
|
|
8844
|
-
};
|
|
8845
8845
|
/** SigninWithAPIKeyResponse */
|
|
8846
8846
|
user__sign_in_with_api_key__Response: {
|
|
8847
8847
|
/**
|
|
@@ -5,7 +5,7 @@ export declare class UserResource {
|
|
|
5
5
|
private orgId;
|
|
6
6
|
constructor(c: AmigoFetch, orgId: string);
|
|
7
7
|
getUsers(queryParams?: operations['get-users']['parameters']['query'], headers?: operations['get-users']['parameters']['header']): Promise<{
|
|
8
|
-
users: components["schemas"]["
|
|
8
|
+
users: components["schemas"]["user__search_users__Response__UserInstance"][];
|
|
9
9
|
has_more: boolean;
|
|
10
10
|
continuation_token: number | null;
|
|
11
11
|
}>;
|