@amigo-ai/sdk 0.34.0 → 0.36.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.
|
@@ -2318,6 +2318,7 @@ export interface components {
|
|
|
2318
2318
|
* @enum {string}
|
|
2319
2319
|
*/
|
|
2320
2320
|
type: "action";
|
|
2321
|
+
name: components["schemas"]["StateOrRefName"];
|
|
2321
2322
|
objective: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
2322
2323
|
/** Actions */
|
|
2323
2324
|
actions: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"][];
|
|
@@ -2353,6 +2354,11 @@ export interface components {
|
|
|
2353
2354
|
* @enum {string}
|
|
2354
2355
|
*/
|
|
2355
2356
|
type: "action";
|
|
2357
|
+
/**
|
|
2358
|
+
* Name
|
|
2359
|
+
* @description The name of this state.
|
|
2360
|
+
*/
|
|
2361
|
+
name: string;
|
|
2356
2362
|
/**
|
|
2357
2363
|
* Objective
|
|
2358
2364
|
* @description The objective that the `Agent` works towards when in this state.
|
|
@@ -2448,6 +2454,28 @@ export interface components {
|
|
|
2448
2454
|
*/
|
|
2449
2455
|
tool_call_logs: components["schemas"]["ToolCallLog"][][];
|
|
2450
2456
|
};
|
|
2457
|
+
/**
|
|
2458
|
+
* ActionTooLongEvent
|
|
2459
|
+
* @description Indicating that a previously-started action of the agent is taking too long. This event supplies a filler text that can be displayed
|
|
2460
|
+
* while waiting for the action to complete.
|
|
2461
|
+
*/
|
|
2462
|
+
ActionTooLongEvent: {
|
|
2463
|
+
/**
|
|
2464
|
+
* @description discriminator enum property added by openapi-typescript
|
|
2465
|
+
* @enum {string}
|
|
2466
|
+
*/
|
|
2467
|
+
type: "action-too-long";
|
|
2468
|
+
/**
|
|
2469
|
+
* Filler
|
|
2470
|
+
* @description An audio filler that can be played while waiting for the action to complete.
|
|
2471
|
+
*/
|
|
2472
|
+
filler: string;
|
|
2473
|
+
/**
|
|
2474
|
+
* Previously Started Event
|
|
2475
|
+
* @description The previously started event that is taking too long.
|
|
2476
|
+
*/
|
|
2477
|
+
previously_started_event: unknown;
|
|
2478
|
+
};
|
|
2451
2479
|
AgentFrameworkInvocationMetadata: components["schemas"]["StateTransitionInvocationMetadata"] | components["schemas"]["EngageUserInvocationMetadata"];
|
|
2452
2480
|
/** AnnotationState */
|
|
2453
2481
|
"AnnotationState-Input": {
|
|
@@ -2456,6 +2484,7 @@ export interface components {
|
|
|
2456
2484
|
* @enum {string}
|
|
2457
2485
|
*/
|
|
2458
2486
|
type: "annotation";
|
|
2487
|
+
name: components["schemas"]["StateOrRefName"];
|
|
2459
2488
|
inner_thought: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
2460
2489
|
/** Next State */
|
|
2461
2490
|
next_state: components["schemas"]["StateOrRefName"] | [
|
|
@@ -2473,6 +2502,11 @@ export interface components {
|
|
|
2473
2502
|
* @enum {string}
|
|
2474
2503
|
*/
|
|
2475
2504
|
type: "annotation";
|
|
2505
|
+
/**
|
|
2506
|
+
* Name
|
|
2507
|
+
* @description The name of this state.
|
|
2508
|
+
*/
|
|
2509
|
+
name: string;
|
|
2476
2510
|
/**
|
|
2477
2511
|
* Inner Thought
|
|
2478
2512
|
* @description The inner thought to add to the conversation.
|
|
@@ -2744,6 +2778,7 @@ export interface components {
|
|
|
2744
2778
|
* @enum {string}
|
|
2745
2779
|
*/
|
|
2746
2780
|
type: "decision";
|
|
2781
|
+
name: components["schemas"]["StateOrRefName"];
|
|
2747
2782
|
/** Exit Conditions */
|
|
2748
2783
|
exit_conditions: components["schemas"]["ExitCondition-Input"][];
|
|
2749
2784
|
/** Decision Guidelines */
|
|
@@ -2751,6 +2786,8 @@ export interface components {
|
|
|
2751
2786
|
objective: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
2752
2787
|
/** Tool Call Specs */
|
|
2753
2788
|
tool_call_specs: components["schemas"]["ToolCallSpec-Input"][];
|
|
2789
|
+
/** Audio Fillers */
|
|
2790
|
+
audio_fillers: components["schemas"]["StrippedNonemptyString_________"][];
|
|
2754
2791
|
};
|
|
2755
2792
|
/**
|
|
2756
2793
|
* DecisionState
|
|
@@ -2764,6 +2801,11 @@ export interface components {
|
|
|
2764
2801
|
* @enum {string}
|
|
2765
2802
|
*/
|
|
2766
2803
|
type: "decision";
|
|
2804
|
+
/**
|
|
2805
|
+
* Name
|
|
2806
|
+
* @description The name of this state.
|
|
2807
|
+
*/
|
|
2808
|
+
name: string;
|
|
2767
2809
|
/**
|
|
2768
2810
|
* Exit Conditions
|
|
2769
2811
|
* @description A list of exit conditions for this state that describes under what condition would the session be allowed to transition to another state.
|
|
@@ -2784,6 +2826,11 @@ export interface components {
|
|
|
2784
2826
|
* @description A list of tool calls that the agent can make in this state.
|
|
2785
2827
|
*/
|
|
2786
2828
|
tool_call_specs: components["schemas"]["ToolCallSpec-Output"][];
|
|
2829
|
+
/**
|
|
2830
|
+
* Audio Fillers
|
|
2831
|
+
* @description A list of audio fillers to play in the audio mode if the `select-next-state-for-decision-state` prompt is taking too long to process.
|
|
2832
|
+
*/
|
|
2833
|
+
audio_fillers: string[];
|
|
2787
2834
|
};
|
|
2788
2835
|
/** DecisionStateTransitionLog */
|
|
2789
2836
|
DecisionStateTransitionLog: {
|
|
@@ -2990,7 +3037,7 @@ export interface components {
|
|
|
2990
3037
|
*/
|
|
2991
3038
|
type?: "end-session";
|
|
2992
3039
|
};
|
|
2993
|
-
EngageUserAgentActionEvent: components["schemas"]["EngageUserDynamicBehaviorOverrideEvent"] | components["schemas"]["EngageUserMessageFragmentGeneratedEvent"] | components["schemas"]["ToolCallStartedEvent"] | components["schemas"]["ToolCallEndedEvent"];
|
|
3040
|
+
EngageUserAgentActionEvent: components["schemas"]["EngageUserDynamicBehaviorOverrideEvent"] | components["schemas"]["EngageUserMessageFragmentGeneratedEvent"] | components["schemas"]["ToolCallStartedEvent"] | components["schemas"]["ToolCallEndedEvent"] | components["schemas"]["ActionTooLongEvent"];
|
|
2994
3041
|
/**
|
|
2995
3042
|
* EngageUserDynamicBehaviorOverrideEvent
|
|
2996
3043
|
* @description Indicating that the agent has merged the dynamic behavior set's instructions with the instructions from the current state.
|
|
@@ -3725,7 +3772,7 @@ export interface components {
|
|
|
3725
3772
|
/** Action */
|
|
3726
3773
|
action: string;
|
|
3727
3774
|
};
|
|
3728
|
-
NavigateStateMachineAgentActionEvent: components["schemas"]["NavigateStateMachineDynamicBehaviorOverrideEvent"] | components["schemas"]["NavigateStateMachineActionStateActionSelectedEvent"] | components["schemas"]["NavigateStateMachineExitConditionSelectedEvent"] | components["schemas"]["NavigateStateMachineRecallStateDynamicQueriesGeneratedEvent"] | components["schemas"]["NavigateStateMachineRecallStateStaticQueriesRetrievedEvent"] | components["schemas"]["NavigateStateMachineRecallStateActiveMemoryRetrievedEvent"] | components["schemas"]["NavigateStateMachineReflectionStatePromptRetrievedEvent"] | components["schemas"]["NavigateStateMachineReflectionStateReflectionGeneratedEvent"] | components["schemas"]["NavigateStateMachineAnnotationStateAnnotationRetrievedEvent"] | components["schemas"]["NavigateStateMachineStateTransitionedEvent"] | components["schemas"]["ToolCallStartedEvent"] | components["schemas"]["ToolCallEndedEvent"];
|
|
3775
|
+
NavigateStateMachineAgentActionEvent: components["schemas"]["NavigateStateMachineDynamicBehaviorOverrideEvent"] | components["schemas"]["NavigateStateMachineActionStateActionSelectedEvent"] | components["schemas"]["NavigateStateMachineDecisionStateDecisionStartedEvent"] | components["schemas"]["NavigateStateMachineExitConditionSelectedEvent"] | components["schemas"]["NavigateStateMachineRecallStateDynamicQueriesGeneratedEvent"] | components["schemas"]["NavigateStateMachineRecallStateStaticQueriesRetrievedEvent"] | components["schemas"]["NavigateStateMachineRecallStateActiveMemoryRetrievedEvent"] | components["schemas"]["NavigateStateMachineReflectionStatePromptRetrievedEvent"] | components["schemas"]["NavigateStateMachineReflectionStateReflectionGeneratedEvent"] | components["schemas"]["NavigateStateMachineAnnotationStateAnnotationRetrievedEvent"] | components["schemas"]["NavigateStateMachineStateTransitionedEvent"] | components["schemas"]["ToolCallStartedEvent"] | components["schemas"]["ToolCallEndedEvent"] | components["schemas"]["ActionTooLongEvent"];
|
|
3729
3776
|
/**
|
|
3730
3777
|
* NavigateStateMachineAnnotationStateAnnotationRetrievedEvent
|
|
3731
3778
|
* @description Indicating that the agent has retrieved the annotation in the current annotation state.
|
|
@@ -3739,6 +3786,17 @@ export interface components {
|
|
|
3739
3786
|
/** Annotation */
|
|
3740
3787
|
annotation: string;
|
|
3741
3788
|
};
|
|
3789
|
+
/**
|
|
3790
|
+
* NavigateStateMachineDecisionStateDecisionStartedEvent
|
|
3791
|
+
* @description Indicating that the agent has started making a decision in the current decision state.
|
|
3792
|
+
*/
|
|
3793
|
+
NavigateStateMachineDecisionStateDecisionStartedEvent: {
|
|
3794
|
+
/**
|
|
3795
|
+
* @description discriminator enum property added by openapi-typescript
|
|
3796
|
+
* @enum {string}
|
|
3797
|
+
*/
|
|
3798
|
+
type: "navigate-state-machine-decision-state-decision-started";
|
|
3799
|
+
};
|
|
3742
3800
|
/**
|
|
3743
3801
|
* NavigateStateMachineDynamicBehaviorOverrideEvent
|
|
3744
3802
|
* @description Indicating that the agent has merged the dynamic behavior set's instructions with the instructions from the current state.
|
|
@@ -4149,6 +4207,7 @@ export interface components {
|
|
|
4149
4207
|
* @enum {string}
|
|
4150
4208
|
*/
|
|
4151
4209
|
type: "recall";
|
|
4210
|
+
name: components["schemas"]["StateOrRefName"];
|
|
4152
4211
|
/** Queries */
|
|
4153
4212
|
queries: string[] | null;
|
|
4154
4213
|
requested_information: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"] | null;
|
|
@@ -4169,6 +4228,11 @@ export interface components {
|
|
|
4169
4228
|
* @enum {string}
|
|
4170
4229
|
*/
|
|
4171
4230
|
type: "recall";
|
|
4231
|
+
/**
|
|
4232
|
+
* Name
|
|
4233
|
+
* @description The name of this state.
|
|
4234
|
+
*/
|
|
4235
|
+
name: string;
|
|
4172
4236
|
/**
|
|
4173
4237
|
* Queries
|
|
4174
4238
|
* @description A list of queries to perform active memory extraction for. If this field is defined, `requested_information` must be `None`.
|
|
@@ -4236,6 +4300,7 @@ export interface components {
|
|
|
4236
4300
|
* @enum {string}
|
|
4237
4301
|
*/
|
|
4238
4302
|
type: "reflection";
|
|
4303
|
+
name: components["schemas"]["StateOrRefName"];
|
|
4239
4304
|
problem: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
4240
4305
|
/** Word Limit */
|
|
4241
4306
|
word_limit: number;
|
|
@@ -4246,6 +4311,8 @@ export interface components {
|
|
|
4246
4311
|
];
|
|
4247
4312
|
/** Tool Call Specs */
|
|
4248
4313
|
tool_call_specs: components["schemas"]["ToolCallSpec-Input"][];
|
|
4314
|
+
/** Audio Fillers */
|
|
4315
|
+
audio_fillers: components["schemas"]["StrippedNonemptyString_________"][];
|
|
4249
4316
|
};
|
|
4250
4317
|
/**
|
|
4251
4318
|
* ReflectionState
|
|
@@ -4257,6 +4324,11 @@ export interface components {
|
|
|
4257
4324
|
* @enum {string}
|
|
4258
4325
|
*/
|
|
4259
4326
|
type: "reflection";
|
|
4327
|
+
/**
|
|
4328
|
+
* Name
|
|
4329
|
+
* @description The name of this state.
|
|
4330
|
+
*/
|
|
4331
|
+
name: string;
|
|
4260
4332
|
/**
|
|
4261
4333
|
* Problem
|
|
4262
4334
|
* @description The problem to reflect upon.
|
|
@@ -4282,6 +4354,11 @@ export interface components {
|
|
|
4282
4354
|
* @description A list of tool calls that the agent can make in this state.
|
|
4283
4355
|
*/
|
|
4284
4356
|
tool_call_specs: components["schemas"]["ToolCallSpec-Output"][];
|
|
4357
|
+
/**
|
|
4358
|
+
* Audio Fillers
|
|
4359
|
+
* @description A list of audio fillers to play in audio mode if the reflection is taking too long to be generated.
|
|
4360
|
+
*/
|
|
4361
|
+
audio_fillers: string[];
|
|
4285
4362
|
};
|
|
4286
4363
|
/** ReflectionStateTransitionLog */
|
|
4287
4364
|
ReflectionStateTransitionLog: {
|
|
@@ -4489,9 +4566,7 @@ export interface components {
|
|
|
4489
4566
|
* States
|
|
4490
4567
|
* @description The states in this state machine.
|
|
4491
4568
|
*/
|
|
4492
|
-
states:
|
|
4493
|
-
[key: string]: components["schemas"]["State"];
|
|
4494
|
-
};
|
|
4569
|
+
states: components["schemas"]["State"][];
|
|
4495
4570
|
/**
|
|
4496
4571
|
* New User Initial State
|
|
4497
4572
|
* @description The state a new user will be in when a session starts. This must be an action state.
|
|
@@ -5165,6 +5240,7 @@ export interface components {
|
|
|
5165
5240
|
};
|
|
5166
5241
|
StateTransitionLog: components["schemas"]["ActionStateTransitionLog"] | components["schemas"]["DecisionStateTransitionLog"] | components["schemas"]["RecallStateTransitionLog"] | components["schemas"]["JumpbackStateTransitionLog"] | components["schemas"]["AnnotationStateTransitionLog"] | components["schemas"]["ReflectionStateTransitionLog"];
|
|
5167
5242
|
"StrippedNonemptyString_A-Z______": string;
|
|
5243
|
+
StrippedNonemptyString_________: string;
|
|
5168
5244
|
StrippedNonemptyString___w__s_____: string;
|
|
5169
5245
|
"StrippedNonemptyString_a-z-______": string;
|
|
5170
5246
|
"StrippedNonemptyString_a-z0-9______": string;
|
|
@@ -5301,6 +5377,8 @@ export interface components {
|
|
|
5301
5377
|
version_constraint: string;
|
|
5302
5378
|
/** @description Additional instruction to be supplied to the LLM in addition to the tool's description. */
|
|
5303
5379
|
additional_instruction: components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"];
|
|
5380
|
+
/** Audio Fillers */
|
|
5381
|
+
audio_fillers: components["schemas"]["StrippedNonemptyString_________"][];
|
|
5304
5382
|
};
|
|
5305
5383
|
/**
|
|
5306
5384
|
* ToolCallSpec
|
|
@@ -5322,6 +5400,11 @@ export interface components {
|
|
|
5322
5400
|
* @description Additional instruction to be supplied to the LLM in addition to the tool's description.
|
|
5323
5401
|
*/
|
|
5324
5402
|
additional_instruction: string;
|
|
5403
|
+
/**
|
|
5404
|
+
* Audio Fillers
|
|
5405
|
+
* @description A list of audio fillers to play in audio mode if the tool is taking a long time.
|
|
5406
|
+
*/
|
|
5407
|
+
audio_fillers: string[];
|
|
5325
5408
|
};
|
|
5326
5409
|
/**
|
|
5327
5410
|
* ToolCallStartedEvent
|
|
@@ -6964,9 +7047,7 @@ export interface components {
|
|
|
6964
7047
|
* States
|
|
6965
7048
|
* @description The internal states in this service hierarchical state machine.
|
|
6966
7049
|
*/
|
|
6967
|
-
states:
|
|
6968
|
-
[key: string]: components["schemas"]["ActionState-Input"] | components["schemas"]["DecisionState-Input"] | components["schemas"]["RecallState-Input"] | components["schemas"]["AnnotationState-Input"] | components["schemas"]["ReflectionState-Input"];
|
|
6969
|
-
};
|
|
7050
|
+
states: (components["schemas"]["ActionState-Input"] | components["schemas"]["DecisionState-Input"] | components["schemas"]["RecallState-Input"] | components["schemas"]["AnnotationState-Input"] | components["schemas"]["ReflectionState-Input"])[];
|
|
6970
7051
|
/** @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. */
|
|
6971
7052
|
new_user_initial_state: components["schemas"]["StateOrRefName"];
|
|
6972
7053
|
/** @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. */
|