Skip to main content

Integrate Rasa with AudioCodes VoiceAI Connect

Project description

AudioCodes VoiceAI Connect Channel for Rasa

AudioCodes VoiceAI Connect 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.8/site-packages/rasa_audiocodes

VoiceAI Connect Cloud Setup

The easiest way to start using VAIC is by visiting https://voiceaiconnect.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.

PNC Configuration

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.

VoiceAI Connect Configuration

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"
    }
  }

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rasa_audiocodes-1.0.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

rasa_audiocodes-1.0.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file rasa_audiocodes-1.0.0.tar.gz.

File metadata

  • Download URL: rasa_audiocodes-1.0.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.9

File hashes

Hashes for rasa_audiocodes-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8a2cf8709951a18b8d9a50aea64831b27fef7c00d330753ce70ccad5919ee207
MD5 f7833556ac597bfdc78c0f2fd91bac0e
BLAKE2b-256 c50df58882fd2dc3684c08ffcdc43140b99c84d49522003882f9af6e2335fc99

See more details on using hashes here.

File details

Details for the file rasa_audiocodes-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for rasa_audiocodes-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 bb3eb181563592c967545b37a6c10d636f5c986e6cb69b2bb0a4ca87e2ccc1ac
MD5 5c65ede973d0996116ba8cac0d1f23fa
BLAKE2b-256 47fead77167cbdc8f7ad0b25de633071926f62391c73034dbf36ec62a109f643

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page