Skip to content
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

query support audio as input #11

Open
adham995 opened this issue Mar 28, 2020 · 1 comment
Open

query support audio as input #11

adham995 opened this issue Mar 28, 2020 · 1 comment

Comments

@adham995
Copy link

According to : assistant.query(textOrAudio),
[textOrAudio] - The text query or the audio buffer to send to the Assistant.

I need to send audio file to assistant over assistant.query(), How can I do it. I have made many attempts but the result is always the same ("Invalid 'audio_in': audio frame length is too long.").

Thanks,

@Shugabuga
Copy link

Are you trying to send data over as a PCM/raw or as a specific file format? I'm having a similar issue, but I get the error "Invalid 'audio_in': contains no audio data." instead whilst trying to send over a Buffer of raw audio.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants