Server Video AI Avatars

AI Video feature in LiveSmart Server Video combines the amazing capabilities of OpenAI ChatGPT with a video avatar by your choice. Interact with one of the greatest AI generated video avatars having a meaningful conversation on a variety of topics.

Requirements and Installation

– Get LiveSmart Server Video from CodeCanyon;
– Follow the instructions for LiveSmart Server Video installation;
– API keys from HeyGen and OpenAI (free);
If you are doing a fresh install, the wizard will ask you for the keys and will update the config file accordingly. If you are an existing customer, you need to update the src/config.js file manually and run npm restart livesmart in the terminal.

How to get Api Key from HeyGen:
  1. Go to https://heygen.com/;
  2. Create your account;
  3. Go to API
How to get Api Key from OpenAI:
  1. Go to https://platform.openai.com/;
  2. Create your account;
  3. Generate your APIKey

Usages

Combining AI avatars and ChatGPT for video interaction is incredibly resourceful. This technology provides large variety of possible scenarios and usages:

  • Personal assistant for large e-commerce sites, providing information about inventory and prices;
  • First line support operator;
  • Healthcare operator who can check for doctor availability and schedule meetings;
  • City sightseeing guide with information about coming festivals, celebrations or events;
  • Travelling mate who can estimate your shortest route between two points;
  • Business assistant to remind you about upcoming meetings;
  • Airport information about arriving flights or helping you with booking tickets;

Advanced options allows you to define specific instructions so the avatar can intelligently capture visitor questions and give back highly accurate answers. This allows you to enormously extend the possibility of interaction with AI avatars. Following examples show how avatars can be “trained” to answer with run-time live data.

Weather Forecast

You can ask Kristin for weather conditions at a specific location, for example “Tell me what is the weather like in San Francisco, CA, please”

Stock Price

This avatar, Tyler, can inform you about stock price. You can ask “What is the price of crude oil”

Currency Conversion

Ask Monica to convert a currency to USD, i.e. “Convert me 100 euros”

General Queries

You can compare the above specialized avatars with Angela who is not “trained” and can not answer with run-time live data.

Advanced Options Guide

The file src/callTools.js is responsible for avatar specific live data retrieval. If you need a live weather information, you can check the included example with getCurrentWeather function in it. To specify an avatar to use it, in the dashboard from Rooms -> Video AI Avatars, in the Advanced tools section, in function name add getCurrentWeather, in description add Get the current weather in a given location. This is very important as it is giving instructions to AI to listen to specific keywords, for example, “give me current weather for San Francisco”. In parameters add location,unit. Unit is optional and is if you specify the temperature to be in Fahrenheit.

Video Tutorial

Was This Article Helpful?

1
Similar Articles
0 Comments

There are no comments yet

Leave a comment

Your email address will not be published. Required fields are marked *