Cookbook#

The cookbook provides worked examples to show how to accomplish various tasks with VoiceStream.

  • Browser Text and Audio - Enhances the quickstart to display a transcript of the conversation in the browser.

  • Browser Audio Javascript - Explains the startAudio and stopAudio functions for handling 2-way audio in the browser.

  • Phone - Demonstrates using Twilio to automate voice calls powered by LLMs.

  • Desktop - Uses PyAudio to use your computer’s local audio.

  • Interruptions - Handling interruptions - when the speaker talks before the LLM is finished responding.

  • Voicemail Detection - Automatically detecting and handling voicemail during phone calls.

  • Recording - Record incoming audio while also running a LangChain LLM.

  • Tips - General guidelines for creating good voice applications.

The examples directory of the VoiceStream repo contains even more detailed examples of larger applications.