AudioCodes VoiceAI Connect is an application that enables telephony access for chatbots.
The Rasa integration is using a REST protocol named AC-Bot-API.
The easiest way to install the package is through PyPI.
pip install rasa-audiocodesAdd the following content to credentials.yml:
rasa_audiocodes.AudiocodesInput:
token: "CHOOSE_YOUR_TOKEN"If you're using Rasa on Docker, you can install it from pip:
RUN pip install "rasa-audiocodes>=1.0.0"The easiest way to start using VAIC is by visiting https://livehub.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.
If you maintain a VAIC 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"
}
}