Skip to content

AI powered voice calling assistant using Twilio as telephony server and Meta LLAMA as agent model.

License

Notifications You must be signed in to change notification settings

pyserve/EchoLink-AI-Powered-Voice-Calling-with-Twilio-and-Meta-LLAMA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EchoLink-AI-Powered-Voice-Calling-with-Twilio-and-Meta-LLAMA3.0

EchoLink is an AI-powered voice calling system leveraging Django, Twilio, and Meta LLAMA. It enables seamless voice communication by integrating natural language processing capabilities from HuggingFace with Twilio's telephony services, providing a robust platform for interactive and intelligent voice interactions.

Requirements

  1. Django/Python Web Server (Flask, etc.)
  2. Twilio Account (Free Tiers)
  3. HuggingFace (Access Token)
  4. Ngrok Server

Configuration

Step 1: Setup Django project: pip install django

Step 2: Install Ngrok server: pip install ngrok or download ngrok.exe file and install

Step 3: Create a Twilio Account and Set up an TwiML App:

image

image

Don't forget to set request URL inside TwiML app to the Ngrok server URL after running it (ngrok http 8000)
Go to your Active number in Twilio Account and within configure tab, set up "Configure with" as "TwiML App" and select your new created app as "TwiML App".

image

Add your friends or spare numbers to the verified list for calling during testing

image

Step 4: Create a HuggingFace Account and Create an Access Token:

App Usage

  • Download the code folder and unzip it.

  • Open a command terminal inside this directory.

  • Run pip install -r requirements.txt

  • Run Ngrok server ngrok http 8000 > must point to same address or port used by the web server

    image

  • Copy the ngrok domain url ( xxxxxxx-xxx-x.ngrok-free.app ) inside settings.py in project folder

  • Copy the ngrok full url ( https://xxxxxxx-xxx-x.ngrok-free.app/voice/ ) into the voice configuration > Request Url inside the TwiML App

  • Run the project's web server python manage.py runserver

    image

  • Call your Twilio number from a registered number (must be listed in verified caller in Twilio).

image

image

References and Documentation Links

https://www.twilio.com/docs/usage/api
https://docs.vocode.dev/welcome
https://ngrok.com/docs/
https://docs.djangoproject.com/en/5.0/
https://huggingface.co/docs

About

AI powered voice calling assistant using Twilio as telephony server and Meta LLAMA as agent model.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published