AI4Bharat/transactional-voice-ai

The code for transactional voice AI

7

stars

53

commits

Python

primary language

Aug 30, 2023

updated

README

Transcational Voice AI

Transcational Voice AI is a library for building voice assistants by combining ASR, Intent recognition and Entity prediction. This library can be used for training models and building predictors to support voice assistants. The final pipeline takes audio as input and returns the predicted transcription, intent and entities corresponding to the input. The pipeline can be integrated with conversational logic to build end-to-end voice assistants.

For more info on the Transactional Voice AI deployment codebase, refer here.

Setup

  1. Clone the repository
git clone https://github.com/AI4Bharat/transactional-voice-ai.git
  1. Import the conda environment and activate
conda env create -n dev-env --file conda-env-setup.yaml
conda activate dev-env
  1. Clone the indic-punct library (outside the transactional voice ai folder). Follow the installation instructions to setup indic-punct.
  2. Fetch the model and data files using git-lfs command: git lfs fetch --all

Structure

The project contains four modules as shown in the image.
structure
Note: Deployment utils provided here are not production ready. For deployment, use transactional-voice-ai_serving.

The individual components are defined in detail in the following faces:

Pipeline

The complete pipeline integrating the components is given in the following diagram.
structure
This pipeline is implemented in pipeline.py and also on transactional-voice-ai_serving.

Contributors

hdidwania

53 commits

AI4Bharat/transactional-voice-ai

The code for transactional voice AI

7

stars

53

commits

Python

primary language

Aug 30, 2023

updated

README

Transcational Voice AI

Transcational Voice AI is a library for building voice assistants by combining ASR, Intent recognition and Entity prediction. This library can be used for training models and building predictors to support voice assistants. The final pipeline takes audio as input and returns the predicted transcription, intent and entities corresponding to the input. The pipeline can be integrated with conversational logic to build end-to-end voice assistants.

For more info on the Transactional Voice AI deployment codebase, refer here.

Setup

  1. Clone the repository
git clone https://github.com/AI4Bharat/transactional-voice-ai.git
  1. Import the conda environment and activate
conda env create -n dev-env --file conda-env-setup.yaml
conda activate dev-env
  1. Clone the indic-punct library (outside the transactional voice ai folder). Follow the installation instructions to setup indic-punct.
  2. Fetch the model and data files using git-lfs command: git lfs fetch --all

Structure

The project contains four modules as shown in the image.
structure
Note: Deployment utils provided here are not production ready. For deployment, use transactional-voice-ai_serving.

The individual components are defined in detail in the following faces:

Pipeline

The complete pipeline integrating the components is given in the following diagram.
structure
This pipeline is implemented in pipeline.py and also on transactional-voice-ai_serving.

Contributors

hdidwania

53 commits

Languages

Python

100.0%