Integrate Rasa with AudioCodes Voice.AI Gateway
Project description
AudioCodes Voice.AI Gateway Channel for Rasa
AudioCodes Voice.AI Gateway is an application that enables telephony access for chatbots.
The Rasa integration is using a REST protocol named AC-Bot-API.
Installation
The easiest way to install the package is through PyPI.
pip install rasa-audiocodes
Rasa Configuration
Add the following content to credentials.yml
:
rasa_audiocodes.AudiocodesInput:
token: "CHOOSE_YOUR_TOKEN"
Docker
If you're using Rasa on Docker, you can copy rasa_audiocodes and docker-compose.yml to your application directory, and edit the volumes section to match your app directory.
If you already have a docker-compose file, just add this to the rasa volumes:
- ./rasa_audiocodes:/opt/venv/lib/python3.7/site-packages/rasa_audiocodes
PNC Setup
The easiest way to start using VAIG is by visiting https://pnc.audiocodes.io.
You can get a phone number, and route it to your bot.
Configuration is straight-forward. Click the + sign, then enter the name of the bot, URL and the token.
You can now click Validate to verify that the bot is accessible and the audiocodes channel is configured correctly.
Click Next, then choose a country and a city to get a phone number.
After a minute, the number should be routed to your bot.
Voice.AI Gateway Configuration
If you maintain a VAIG instance, configure a provider with the following attributes:
{
"name": "rasa",
"type": "ac-bot-api",
"botURL": "https://<RASA>/webhooks/audiocodes/webhook",
"credentials": {
"token": "CHOOSE_YOUR_TOKEN"
}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for rasa_audiocodes-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 878dfcf3dbbe62fe350619300928cc0faa713c1791f1fe064fcd594d3b87749d |
|
MD5 | 7d38f73f84d244daa109f829c9de6044 |
|
BLAKE2b-256 | 08be2f78d748627883d8ac3456e09042522c8df8b357b080b9a9d980396eb29f |