Table of Contents
This is a demo project to present how customer services can be enhanced using Symbl.ai and Vonage communication API.
Here's a quick description about the functionality of the demo project:
- Customers can connect with the airline's customer care agents using Vonage SDK.
- They can share their audio and video along with controls to turn them on/off.
- Airline customer care agents can see real-time sentiment analysis during the conversation along with the transcription.
- Airline agents can view all the questions asked by customers during the real-time conversation. .
Following framework/libraries were used to develop the project.
Follow these simple steps to get a copy of the project running in your local environment.
This is an example of how to list things you need to use the software and how to install them.
Below is an example of how you can instruct your audience on installing and setting up your app. This template doesn't rely on any external dependencies or services.
-
Create an opentok application from vonage dashboard and note down api key and secret.
-
Clone the repo
git clone https://github.com/agilityfeat/customer-service-airline-demo.git
-
Install NPM packages
npm install
-
Create a .env file and add following opentok environment variables
/* PRODUCTION WARNING! A secure mechanism with proper authentication should be used to generate opentok access token and session Id */ NEXT_PUBLIC_OPENTOK_API_KEY='ENTER YOUR OPENTOK API KEY'; NEXT_PUBLIC_OPENTOK_SECRET='ENTER YOUR OPENTOK APPLICATION SECRET'; NEXT_PUBLIC_OPENTOK_SESSION_ID='ENTER YOUR GENERATED OPENTOK SESSION ID'; NEXT_PUBLIC_OPENTOK_TOKEN='ENTER YOUR GENERATED OPENTOK ACCESS TOKEN';
-
Add following variables from the symbl.ai dashboard in the src/config/symbl.ts file
/* PRODUCTION WARNING! A secure mechanism with proper authentication should be used to generate symbl.ai access token and session Id */
const symblConfig = {
BASE_URI: 'https://api.symbl.ai/v1',
SESSION_ID: 'ANY UNIQUE SESSION ID',
ACCESS_TOKEN: 'ENTER GENERATED Symbl.ai Access Token',
};
- Run the project from the terminal using:
npm run start or yarn start
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Webrtc.ventures Team - @WebRTCVentures - [email protected]
Project Link: https://github.com/agilityfeat/customer-service-airline-demo