We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da92365 commit f43bd4eCopy full SHA for f43bd4e
1 file changed
adminforth/types/adapters/ChatSurfaceAdapter.ts
@@ -9,6 +9,11 @@ export type ChatSurfaceRequestContext = {
9
export type ChatSurfaceIncomingMessage = {
10
surface: string;
11
prompt: string;
12
+ audio?: {
13
+ buffer: Buffer;
14
+ filename: string;
15
+ mimeType: string;
16
+ };
17
externalConversationId: string;
18
externalUserId: string;
19
userTimeZone?: string;
@@ -39,6 +44,12 @@ export type ChatSurfaceEvent =
39
44
type: "done";
40
45
text: string;
41
46
}
47
+ | {
48
+ type: "audio";
49
+ audio: Buffer;
50
51
52
+ }
42
53
| {
43
54
type: "error";
55
message: string;
0 commit comments