@amigo-ai/sdk 0.15.0 → 0.17.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.
|
@@ -5997,15 +5997,6 @@ export interface components {
|
|
|
5997
5997
|
* @description The type of the `initial_message`. Can only be specified if `initial_message` is provided.
|
|
5998
5998
|
*/
|
|
5999
5999
|
initial_message_type?: ("user-message" | "external-event") | null;
|
|
6000
|
-
/**
|
|
6001
|
-
* External Events
|
|
6002
|
-
* @description A list of external event messages that are sequenced before the initial message. This field must be empty if `initial_message` is not provided.
|
|
6003
|
-
* @default []
|
|
6004
|
-
*/
|
|
6005
|
-
external_events?: [
|
|
6006
|
-
string,
|
|
6007
|
-
components["schemas"]["amigo_lib__pydantic__base_model__StrippedNonemptyString__1"]
|
|
6008
|
-
][];
|
|
6009
6000
|
};
|
|
6010
6001
|
conversation__create_conversation__Response: components["schemas"]["ConversationCreatedEvent"] | components["schemas"]["NewMessageEvent"] | components["schemas"]["InteractionCompleteEvent"] | components["schemas"]["CurrentAgentActionEvent"] | components["schemas"]["ErrorEvent"];
|
|
6011
6002
|
/** Request */
|
|
@@ -10249,7 +10240,7 @@ export interface operations {
|
|
|
10249
10240
|
response_format: "text" | "voice";
|
|
10250
10241
|
/** @description The format of the audio response, if `response_format` is set to `voice`. */
|
|
10251
10242
|
audio_format?: ("mp3" | "pcm") | null;
|
|
10252
|
-
/** @description A regex for filtering the type of the current agent action to return. By default, all are returned. If you don't want to receive any events, set this to a regex that matches nothing, for instance
|
|
10243
|
+
/** @description A regex for filtering the type of the current agent action to return. By default, all are returned. If you don't want to receive any events, set this to a regex that matches nothing, for instance `^$`. */
|
|
10253
10244
|
current_agent_action_type?: string;
|
|
10254
10245
|
};
|
|
10255
10246
|
header?: {
|
|
@@ -10665,7 +10656,7 @@ export interface operations {
|
|
|
10665
10656
|
request_audio_config?: components["schemas"]["UserMessageAudioConfig"] | null;
|
|
10666
10657
|
/** @description The format of the audio response, if `response_format` is set to `voice`. */
|
|
10667
10658
|
audio_format?: ("mp3" | "pcm") | null;
|
|
10668
|
-
/** @description
|
|
10659
|
+
/** @description An RE2 style regex pattern for filtering the type of the current agent action to return. By default, all are returned. If you don't want to receive any events, set this to a regex that matches nothing, for instance `^$`. */
|
|
10669
10660
|
current_agent_action_type?: string;
|
|
10670
10661
|
};
|
|
10671
10662
|
header?: {
|
|
@@ -10694,7 +10685,7 @@ export interface operations {
|
|
|
10694
10685
|
"application/x-ndjson": components["schemas"]["conversation__interact_with_conversation__Response"];
|
|
10695
10686
|
};
|
|
10696
10687
|
};
|
|
10697
|
-
/** @description The user message is empty, or the preferred language does not support voice transcription or response, or the `audio_format` field is not set when voice output is requested. */
|
|
10688
|
+
/** @description The user message is empty, or the preferred language does not support voice transcription or response, or the `audio_format` field is not set when voice output is requested, or the timestamps for external event messages are not in the past, or the timestamps for external event messages are inconsistent with the conversation. */
|
|
10698
10689
|
400: {
|
|
10699
10690
|
headers: {
|
|
10700
10691
|
[name: string]: unknown;
|