-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proxy & log speech-to-speech sessions on OpenAI Realtime API. #110
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
const audioFormatTypeSchema = z.enum(["pcm16", "g711_ulaw", "g711_alaw"]); | ||
type AudioFormatType = z.infer<typeof audioFormatTypeSchema>; | ||
|
||
const turnDetectionServerVadTypeSchema = z.object({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small nit: split the schema definitions into a separate file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
} | ||
} | ||
|
||
/** |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i wonder if we shuold move this into the SDK (perhaps in a separate change). So you can use it outside of the proxy too 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will do in a separate change. Probably also needs some API cleanup before we can commit to maintaining it as part of the SDK.
No description provided.