File tree 4 files changed +6
-6
lines changed
api/resources/empathicVoice/types
serialization/resources/empathicVoice/types
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 5
5
export interface TextInput {
6
6
/** Text to insert into the conversation. */
7
7
text : string ;
8
- type : "text_input " ;
8
+ type : "user_input " ;
9
9
}
Original file line number Diff line number Diff line change 5
5
export interface TtsInput {
6
6
/** Text to be synthesized. */
7
7
text : string ;
8
- type : "tts " ;
8
+ type : "assistant_input " ;
9
9
}
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ export const TextInput: core.serialization.ObjectSchema<
11
11
Hume . empathicVoice . TextInput
12
12
> = core . serialization . object ( {
13
13
text : core . serialization . string ( ) ,
14
- type : core . serialization . stringLiteral ( "text_input " ) ,
14
+ type : core . serialization . stringLiteral ( "user_input " ) ,
15
15
} ) ;
16
16
17
17
export declare namespace TextInput {
18
18
interface Raw {
19
19
text : string ;
20
- type : "text_input " ;
20
+ type : "user_input " ;
21
21
}
22
22
}
Original file line number Diff line number Diff line change @@ -11,12 +11,12 @@ export const TtsInput: core.serialization.ObjectSchema<
11
11
Hume . empathicVoice . TtsInput
12
12
> = core . serialization . object ( {
13
13
text : core . serialization . string ( ) ,
14
- type : core . serialization . stringLiteral ( "tts " ) ,
14
+ type : core . serialization . stringLiteral ( "assistant_input " ) ,
15
15
} ) ;
16
16
17
17
export declare namespace TtsInput {
18
18
interface Raw {
19
19
text : string ;
20
- type : "tts " ;
20
+ type : "assistant_input " ;
21
21
}
22
22
}
You can’t perform that action at this time.
0 commit comments