- (install express) Open a terminal in the folder and run -
npm install express
- (add your API key) Edit the
api.json
inside the uncompressed folder and replace the emoji with your key - (select service) in the same
api.json
file, edit theservice
field to choose your avatar type, usetalks
for an avatar made from an image orclips
to use a premade HQ avatar from a video
- (bring up the app) in the folder (ctr left click on folder through finder) open the terminal run
node app.js
- you should see this message - server started on port localhost:3000
- (open the app) In the browser - localhost:3000
- (connect) press connect you should see the connection ready
- (stream) Press the start button to start streaming
- (bring up the app) in the folder (ctr left click on folder through finder) open the terminal run
node app.js
- you should see this message - server started on port localhost:3000
- (open the app) In the browser - localhost:3000/ws-streaming
- (stream) Press the "start word" button to start streaming word chunks, or "start audio" button to start streaming audio chunks.
- (bring up the app) in the folder (ctr left click on folder through finder) open the terminal
run node app.js
- you should see this message - server started on port localhost:3000
- (open the app) In the browser - localhost:3000/agents
- press 'Create new Agent with Knowledge' to create a new Agent.
Do this action once, then store the createdagentId
andchatID
variables and at the bottom of theagents-client-api.js
file. - press 'Connect' to connect to the agent, once done, type a message and press 'Send' to start a chat