Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 765 Bytes

File metadata and controls

25 lines (16 loc) · 765 Bytes

PlayHT SDK ChatGPT Example

This is an example usage of the PlayHT SDK to convert a response from ChatGPT into audio. For a full guide, see this guide

Setup

Create a new .env file in the packages/gpt-example/server folder by copying the .env.example file provided. Then edit the file with your credentials. This example requires your OpenAI credentials too, the the example .env file for details.

Installation

To install dependencies run from this folder:

yarn
yarn install:all

To start the sample server, run

yarn start

Navigate to localhost:5040.