@amigo-ai/sdk 0.38.0 → 0.40.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.
|
@@ -2312,7 +2312,7 @@ export interface components {
|
|
|
2312
2312
|
index: number;
|
|
2313
2313
|
};
|
|
2314
2314
|
/** ActionState */
|
|
2315
|
-
ActionState: {
|
|
2315
|
+
"ActionState-Input": {
|
|
2316
2316
|
/**
|
|
2317
2317
|
* @description discriminator enum property added by openapi-typescript
|
|
2318
2318
|
* @enum {string}
|
|
@@ -2340,6 +2340,69 @@ export interface components {
|
|
|
2340
2340
|
*/
|
|
2341
2341
|
skip_active_memory_retrieval: boolean;
|
|
2342
2342
|
};
|
|
2343
|
+
/**
|
|
2344
|
+
* ActionState
|
|
2345
|
+
* @description A state associated with an objective and a list of actions. The `Agent` will perform these actions towards achieving the objective. The session
|
|
2346
|
+
* may transition to a different state if any of the exit conditions are met, in which case the session proceeds to the next state specified in the
|
|
2347
|
+
* exit condition. If no exit conditions are met, the session remains in this state.
|
|
2348
|
+
*/
|
|
2349
|
+
"ActionState-Output": {
|
|
2350
|
+
/**
|
|
2351
|
+
* @description discriminator enum property added by openapi-typescript
|
|
2352
|
+
* @enum {string}
|
|
2353
|
+
*/
|
|
2354
|
+
type: "action";
|
|
2355
|
+
/**
|
|
2356
|
+
* Name
|
|
2357
|
+
* @description The name of this state.
|
|
2358
|
+
*/
|
|
2359
|
+
name: string;
|
|
2360
|
+
/**
|
|
2361
|
+
* Objective
|
|
2362
|
+
* @description The objective that the `Agent` works towards when in this state.
|
|
2363
|
+
*/
|
|
2364
|
+
objective: string;
|
|
2365
|
+
/**
|
|
2366
|
+
* Actions
|
|
2367
|
+
* @description A list of specific actions that the `Agent` performs in this state.
|
|
2368
|
+
*/
|
|
2369
|
+
actions: string[];
|
|
2370
|
+
/**
|
|
2371
|
+
* Intra State Navigation Guidelines
|
|
2372
|
+
* @description A list of guidelines for how the agent will navigate between subgoals and exit conditions within this state.
|
|
2373
|
+
*/
|
|
2374
|
+
intra_state_navigation_guidelines: string[];
|
|
2375
|
+
/**
|
|
2376
|
+
* Action Guidelines
|
|
2377
|
+
* @description A list of guidelines for how the agent will behave when engaging with user.
|
|
2378
|
+
*/
|
|
2379
|
+
action_guidelines: string[];
|
|
2380
|
+
/**
|
|
2381
|
+
* Boundary Constraints
|
|
2382
|
+
* @description A list of guidelines for how the agent will not behave when engaging with user.
|
|
2383
|
+
*/
|
|
2384
|
+
boundary_constraints: string[];
|
|
2385
|
+
/**
|
|
2386
|
+
* Exit Conditions
|
|
2387
|
+
* @description A list of exit conditions for this state that describes under what condition would the session be allowed to transition to another state.
|
|
2388
|
+
*/
|
|
2389
|
+
exit_conditions: components["schemas"]["ExitCondition-Output"][];
|
|
2390
|
+
/**
|
|
2391
|
+
* Action Tool Call Specs
|
|
2392
|
+
* @description A list of tool calls that the agent can make in this state when executing an action.
|
|
2393
|
+
*/
|
|
2394
|
+
action_tool_call_specs: components["schemas"]["ToolCallSpec-Output"][];
|
|
2395
|
+
/**
|
|
2396
|
+
* Exit Condition Tool Call Specs
|
|
2397
|
+
* @description A list of tool calls that the agent can make in this state when evaluating exit conditions.
|
|
2398
|
+
*/
|
|
2399
|
+
exit_condition_tool_call_specs: components["schemas"]["ToolCallSpec-Output"][];
|
|
2400
|
+
/**
|
|
2401
|
+
* Skip Active Memory Retrieval
|
|
2402
|
+
* @description If `True`, the agent will not perform active memory retrieval at the start of an interaction in this state.
|
|
2403
|
+
*/
|
|
2404
|
+
skip_active_memory_retrieval: boolean;
|
|
2405
|
+
};
|
|
2343
2406
|
/** ActionStateTransitionLog */
|
|
2344
2407
|
ActionStateTransitionLog: {
|
|
2345
2408
|
/**
|
|
@@ -2429,8 +2492,8 @@ export interface components {
|
|
|
2429
2492
|
*/
|
|
2430
2493
|
"AnnotationState-Output": {
|
|
2431
2494
|
/**
|
|
2432
|
-
*
|
|
2433
|
-
* @
|
|
2495
|
+
* @description discriminator enum property added by openapi-typescript
|
|
2496
|
+
* @enum {string}
|
|
2434
2497
|
*/
|
|
2435
2498
|
type: "annotation";
|
|
2436
2499
|
/**
|
|
@@ -2728,8 +2791,8 @@ export interface components {
|
|
|
2728
2791
|
*/
|
|
2729
2792
|
"DecisionState-Output": {
|
|
2730
2793
|
/**
|
|
2731
|
-
*
|
|
2732
|
-
* @
|
|
2794
|
+
* @description discriminator enum property added by openapi-typescript
|
|
2795
|
+
* @enum {string}
|
|
2733
2796
|
*/
|
|
2734
2797
|
type: "decision";
|
|
2735
2798
|
/**
|
|
@@ -3500,12 +3563,6 @@ export interface components {
|
|
|
3500
3563
|
format: components["schemas"]["Format"];
|
|
3501
3564
|
/** @description The type of the message. */
|
|
3502
3565
|
message_type: components["schemas"]["MessageType"];
|
|
3503
|
-
/**
|
|
3504
|
-
* Message Metadata
|
|
3505
|
-
* @deprecated
|
|
3506
|
-
* @description The metadata associated with the message.
|
|
3507
|
-
*/
|
|
3508
|
-
message_metadata: string[];
|
|
3509
3566
|
};
|
|
3510
3567
|
/** @enum {string} */
|
|
3511
3568
|
MessageType: "user-message" | "agent-message" | "agent-inner-thought" | "external-event";
|
|
@@ -3979,70 +4036,6 @@ export interface components {
|
|
|
3979
4036
|
/** Upper Bound */
|
|
3980
4037
|
upper_bound: number;
|
|
3981
4038
|
};
|
|
3982
|
-
/** OverrideActionState */
|
|
3983
|
-
OverrideActionState: {
|
|
3984
|
-
/**
|
|
3985
|
-
* Type
|
|
3986
|
-
* @constant
|
|
3987
|
-
*/
|
|
3988
|
-
type: "action";
|
|
3989
|
-
/**
|
|
3990
|
-
* Name
|
|
3991
|
-
* @description The name of this state.
|
|
3992
|
-
*/
|
|
3993
|
-
name: string;
|
|
3994
|
-
/**
|
|
3995
|
-
* Objective
|
|
3996
|
-
* @description The objective that the `Agent` works towards when in this state.
|
|
3997
|
-
*/
|
|
3998
|
-
objective: string;
|
|
3999
|
-
/**
|
|
4000
|
-
* Actions
|
|
4001
|
-
* @description A list of specific actions that the `Agent` performs in this state.
|
|
4002
|
-
*/
|
|
4003
|
-
actions: string[];
|
|
4004
|
-
/**
|
|
4005
|
-
* Intra State Navigation Guidelines
|
|
4006
|
-
* @description A list of guidelines for how the agent will navigate between subgoals and exit conditions within this state.
|
|
4007
|
-
*/
|
|
4008
|
-
intra_state_navigation_guidelines: string[];
|
|
4009
|
-
/**
|
|
4010
|
-
* Action Guidelines
|
|
4011
|
-
* @description A list of guidelines for how the agent will behave when engaging with user.
|
|
4012
|
-
*/
|
|
4013
|
-
action_guidelines: string[];
|
|
4014
|
-
/**
|
|
4015
|
-
* Boundary Constraints
|
|
4016
|
-
* @description A list of guidelines for how the agent will not behave when engaging with user.
|
|
4017
|
-
*/
|
|
4018
|
-
boundary_constraints: string[];
|
|
4019
|
-
/**
|
|
4020
|
-
* Exit Conditions
|
|
4021
|
-
* @description A list of exit conditions for this state that describes under what condition would the session be allowed to transition to another state.
|
|
4022
|
-
*/
|
|
4023
|
-
exit_conditions: components["schemas"]["ExitCondition-Output"][];
|
|
4024
|
-
/**
|
|
4025
|
-
* Action Tool Call Specs
|
|
4026
|
-
* @description A list of tool calls that the agent can make in this state when executing an action.
|
|
4027
|
-
*/
|
|
4028
|
-
action_tool_call_specs: components["schemas"]["ToolCallSpec-Output"][];
|
|
4029
|
-
/**
|
|
4030
|
-
* Exit Condition Tool Call Specs
|
|
4031
|
-
* @description A list of tool calls that the agent can make in this state when evaluating exit conditions.
|
|
4032
|
-
*/
|
|
4033
|
-
exit_condition_tool_call_specs: components["schemas"]["ToolCallSpec-Output"][];
|
|
4034
|
-
/**
|
|
4035
|
-
* Skip Active Memory Retrieval
|
|
4036
|
-
* @description If `True`, the agent will not perform active memory retrieval at the start of an interaction in this state.
|
|
4037
|
-
*/
|
|
4038
|
-
skip_active_memory_retrieval: boolean;
|
|
4039
|
-
/**
|
|
4040
|
-
* Message Metadata
|
|
4041
|
-
* @deprecated
|
|
4042
|
-
* @description Metadata associated with messages generated in this action state.
|
|
4043
|
-
*/
|
|
4044
|
-
message_metadata: string[];
|
|
4045
|
-
};
|
|
4046
4039
|
/** PCMUserMessageAudioConfig */
|
|
4047
4040
|
PCMUserMessageAudioConfig: {
|
|
4048
4041
|
/**
|
|
@@ -4215,8 +4208,8 @@ export interface components {
|
|
|
4215
4208
|
*/
|
|
4216
4209
|
"RecallState-Output": {
|
|
4217
4210
|
/**
|
|
4218
|
-
*
|
|
4219
|
-
* @
|
|
4211
|
+
* @description discriminator enum property added by openapi-typescript
|
|
4212
|
+
* @enum {string}
|
|
4220
4213
|
*/
|
|
4221
4214
|
type: "recall";
|
|
4222
4215
|
/**
|
|
@@ -4311,8 +4304,8 @@ export interface components {
|
|
|
4311
4304
|
*/
|
|
4312
4305
|
"ReflectionState-Output": {
|
|
4313
4306
|
/**
|
|
4314
|
-
*
|
|
4315
|
-
* @
|
|
4307
|
+
* @description discriminator enum property added by openapi-typescript
|
|
4308
|
+
* @enum {string}
|
|
4316
4309
|
*/
|
|
4317
4310
|
type: "reflection";
|
|
4318
4311
|
/**
|
|
@@ -4557,7 +4550,7 @@ export interface components {
|
|
|
4557
4550
|
* States
|
|
4558
4551
|
* @description The states in this state machine.
|
|
4559
4552
|
*/
|
|
4560
|
-
states:
|
|
4553
|
+
states: components["schemas"]["State"][];
|
|
4561
4554
|
/**
|
|
4562
4555
|
* New User Initial State
|
|
4563
4556
|
* @description The state a new user will be in when a session starts. This must be an action state.
|
|
@@ -5173,6 +5166,7 @@ export interface components {
|
|
|
5173
5166
|
/** @description The user who created the unit test set run. */
|
|
5174
5167
|
creator: components["schemas"]["amigo_lib__mongo__collections__simulation_unit_test_set_run__SimulationUnitTestSetRun__UserInfo"];
|
|
5175
5168
|
};
|
|
5169
|
+
State: components["schemas"]["ActionState-Output"] | components["schemas"]["DecisionState-Output"] | components["schemas"]["RecallState-Output"] | components["schemas"]["AnnotationState-Output"] | components["schemas"]["ReflectionState-Output"];
|
|
5176
5170
|
/** StateMachineInstance */
|
|
5177
5171
|
StateMachineInstance: {
|
|
5178
5172
|
/**
|
|
@@ -6462,6 +6456,16 @@ export interface components {
|
|
|
6462
6456
|
string,
|
|
6463
6457
|
number
|
|
6464
6458
|
] | null;
|
|
6459
|
+
/**
|
|
6460
|
+
* Select Next Action Tool Call Logs
|
|
6461
|
+
* @description A list of tool call logs that were performed during the final `SelectNextAction` LLM call during this interaction where an action was selected.
|
|
6462
|
+
*/
|
|
6463
|
+
select_next_action_tool_call_logs: components["schemas"]["ToolCallLog"][][];
|
|
6464
|
+
/**
|
|
6465
|
+
* Engage User Tool Call Logs
|
|
6466
|
+
* @description A list of tool call logs that were performed during the `EngageUser` LLM call during this interaction.
|
|
6467
|
+
*/
|
|
6468
|
+
engage_user_tool_call_logs: components["schemas"]["ToolCallLog"][][];
|
|
6465
6469
|
};
|
|
6466
6470
|
conversation__interact_with_conversation__Response: components["schemas"]["ConversationEvent"] | components["schemas"]["UserMessageAvailableEvent"] | components["schemas"]["ErrorEvent"];
|
|
6467
6471
|
/** Response */
|
|
@@ -7037,7 +7041,7 @@ export interface components {
|
|
|
7037
7041
|
* States
|
|
7038
7042
|
* @description The internal states in this service hierarchical state machine.
|
|
7039
7043
|
*/
|
|
7040
|
-
states: (components["schemas"]["ActionState"] | components["schemas"]["DecisionState-Input"] | components["schemas"]["RecallState-Input"] | components["schemas"]["AnnotationState-Input"] | components["schemas"]["ReflectionState-Input"])[];
|
|
7044
|
+
states: (components["schemas"]["ActionState-Input"] | components["schemas"]["DecisionState-Input"] | components["schemas"]["RecallState-Input"] | components["schemas"]["AnnotationState-Input"] | components["schemas"]["ReflectionState-Input"])[];
|
|
7041
7045
|
/** @description The state a new user will be in when a session starts. This must be an action state, and must be an internal state. */
|
|
7042
7046
|
new_user_initial_state: components["schemas"]["StateOrRefName"];
|
|
7043
7047
|
/** @description The state a returning user will be in when a session starts. This must be an action state, and must be an internal state. */
|
|
@@ -83,6 +83,8 @@ export declare class ConversationResource {
|
|
|
83
83
|
working_memory: components["schemas"]["WorkingMemory"][];
|
|
84
84
|
reflections: string[];
|
|
85
85
|
triggered_dynamic_behavior_set_version_info: [string, number] | null;
|
|
86
|
+
select_next_action_tool_call_logs: components["schemas"]["ToolCallLog"][][];
|
|
87
|
+
engage_user_tool_call_logs: components["schemas"]["ToolCallLog"][][];
|
|
86
88
|
}>;
|
|
87
89
|
getMessageSource(conversationId: string, messageId: string, headers?: operations['retrieve-message-source']['parameters']['header']): Promise<{}>;
|
|
88
90
|
generateConversationStarters(body: components['schemas']['conversation__generate_conversation_starter__Request'], headers?: operations['generate-conversation-starter']['parameters']['header']): Promise<{
|