Skip to main content

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.

Setting Credentials

In order to integrate with AudioCodes Voice.AI Gateway, configure a provider on VAIG side with the following attributes:

  {
    "name": "rasa",
    "type": "ac-bot-api",
    "botURL": "https://<RASA>/webhooks/audiocodes/webhook",
    "credentials": {
      "token": "CHOOSE_YOUR_TOKEN"
    }
  }

Running on AudioCodes Voice.​AI Gateway

If you want to connect to the AudioCodes input channel using the run script, e.g. using:

rasa run

you need to supply a credentials.yml with the following content:

rasa_audiocodes.AudiocodesInput:
  token: "CHOOSE_YOUR_TOKEN"

Installation

The easiest way to install the package is through PyPI.

pip install rasa-audiocodes

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

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-0.1.4.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

rasa_audiocodes-0.1.4-py2-none-any.whl (9.3 kB view hashes)

Uploaded Python 2

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