Convai Playground

Setup Convai Playground

Convai Playground provides an interactive UI to create, modify and test out your characters before they are released to your end-users.

Image:

circle-info

The final image link may vary depending on the client environment and the services being used. Please note that the link shared here is private and can only be accessed by members within the organization.

convaitech/convai-playground-onprem-mp:v0.1.6

Environment Variable Setup

Create a .env file in your system. Lets assume a playground.env file exists at /var/secrets. Fill the file with the required configurations as specified by the team. Here is some sample data..

// playground.env
IS_ON_PREM=true
API_URL=http://localhsot:8000
BASE_URL=http://localhost:3000
REALTIME_API_URL=http://localhost:8002
DOMAIN_LINK=localhsot
# CONVAI_SECRET=dXv4+D...

LOGIN_URL=http://localhost:8081
...

Config Setup

The playground requires a JSON based config files that helps determing the services to expose to developer. The final list is based on the requirements specifed and can be extended based on growing requirements. Here is a sample config file data...

Container Deployment:

Run the following docker command to start the server:

Sample Helm Config

Here we are attaching a sample helm chart to host the service.

Last updated