Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0a5eebe

Browse files
committedApr 23, 2024·
SDK regeneration
1 parent 249ad81 commit 0a5eebe

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed
 

‎src/api/resources/empathicVoice/types/TextInput.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
export interface TextInput {
66
/** Text to insert into the conversation. */
77
text: string;
8-
type: "text_input";
8+
type: "user_input";
99
}

‎src/api/resources/empathicVoice/types/TtsInput.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
export interface TtsInput {
66
/** Text to be synthesized. */
77
text: string;
8-
type: "tts";
8+
type: "assistant_input";
99
}

‎src/serialization/resources/empathicVoice/types/TextInput.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ export const TextInput: core.serialization.ObjectSchema<
1111
Hume.empathicVoice.TextInput
1212
> = core.serialization.object({
1313
text: core.serialization.string(),
14-
type: core.serialization.stringLiteral("text_input"),
14+
type: core.serialization.stringLiteral("user_input"),
1515
});
1616

1717
export declare namespace TextInput {
1818
interface Raw {
1919
text: string;
20-
type: "text_input";
20+
type: "user_input";
2121
}
2222
}

‎src/serialization/resources/empathicVoice/types/TtsInput.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ export const TtsInput: core.serialization.ObjectSchema<
1111
Hume.empathicVoice.TtsInput
1212
> = core.serialization.object({
1313
text: core.serialization.string(),
14-
type: core.serialization.stringLiteral("tts"),
14+
type: core.serialization.stringLiteral("assistant_input"),
1515
});
1616

1717
export declare namespace TtsInput {
1818
interface Raw {
1919
text: string;
20-
type: "tts";
20+
type: "assistant_input";
2121
}
2222
}

0 commit comments

Comments
 (0)
Please sign in to comment.