Pular para o conteúdo
Kitbay
SkillOficialPublic Beta

twilio-voice-conversation-relay

MITAtualizado em 11 de nov. de 202642Estrelas no GitHub

A Twilio skill for building voice agents on phone calls with ConversationRelay, where Twilio handles speech recognition and text-to-speech and your server exchanges text with Twilio over a WebSocket.

O que a skill ensina

A Twilio skill for building voice agents on phone calls with ConversationRelay, where Twilio handles speech recognition and text-to-speech and your server exchanges text with Twilio over a WebSocket. It covers the TwiML that connects a call to your WebSocket, each message type sent in either direction, streaming a language model's reply back token by token so the caller hears it quickly, and choosing voice providers and voices. Quickstart code is given in Python and Node.js. It suits voice bots, replacements for keypad menus and live assistants on calls.

O que faz

  • Connect a Twilio call to a WebSocket with ConversationRelay
  • Handle ConversationRelay WebSocket messages
  • Stream language model replies into a call
  • Configure speech recognition and text-to-speech voices