#voice conversation audio

1 messages · Page 1 of 1 (latest)

obtuse robin
#

I have a requirement to get recording of my voice conversation with voice agent implemented through deepgram. Is there any way I can get the conversation audio?

steel pikeBOT
#

Hi @obtuse robin. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:

#

If you are using Deepgram's Voice Agent API and want to obtain a recording of your voice conversation with the agent, the knowledge sources indicate that Deepgram itself does not provide a built-in feature to access or retrieve the audio that is sent to or generated by the Voice Agent for debugging or user access purposes. Deepgram does not store the audio in a way that makes it accessible after processing, so you cannot retrieve the audio directly from Deepgram after the conversation is complete. This is confirmed in an official response: "there is no such functionality. We do not store the audio in such a manner that it is then easily accessible" Is there a way to listen to the audio that is sent to deepgram?.

However, if you are implementing the Voice Agent yourself (for example, using the Python or Node.js starter code), you can modify your application to save the audio streams locally as the conversation happens. The Deepgram documentation for building a basic Voice Agent shows that you can collect audio chunks into a buffer and save completed responses as WAV files. When you run the example agent, it saves the conversation audio to files like output-0.wav in your working directory, which you can then access and use as needed Build a Basic Voice Agent.

In summary:

  • Deepgram does not provide a direct way to retrieve conversation audio after processing.
  • If you control the application code, you can save the audio locally during the conversation by handling the audio streams yourself.
#

If you need help with code to save the audio, let me know your tech stack and I can provide a relevant example.

Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:

#

@obtuse robin Kapa.ai is still learning and improving, please let me know how I did by reacting below.