Skip to content

cshape/where-is-julian-morrow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Where is Julian Morrow - A Conversational Mystery powered by Inworld AI, Twilio, and Google STT

Using Inworld AI's character engine, we'll create a conversational game that players can access by making a phone call. Role playing as Richard Papen from The Secret History, the player will call Julian Morrow, their estranged ex-professor. The goal is to get Julian to reveal his address, but Julian won't divulge his location unless he trust you...

Prerequisites


Setup

  1. Create Julian Morrow in your Inworld AI account, making sure to give him a Goal where he will reveal his address.
  2. Set up the Google Project and retrieve the service account key
    1. Set up a new GCP Project
    2. Enable the Google Speech-To-Text API for that project
    3. Create a service account.
    4. Download a private key as JSON.
  3. Modify the .env.sample file to include the path to your JSON service account key and save it as a .env file
  4. Add the Twilio authorization credentials as ACCOUNT_SID and AUTH_TOKEN values to the .env file
  5. Add the Inworld API key as INWORLD_KEY to the .env file
  6. Update the sceneData variable in the index.js file to point to your own scene
  7. Update the workspaceName variable in the index.js file to point to your own workspace
  8. Update the data attribute in the sendTrigger function to point to your trigger
  9. Install the dependencies with $ npm install
  10. Start ngrok with $ ngrok http 8080
  11. Buy a phone number in Twilio and set its Voice Webhook to the URL provided by ngrok
  12. Start the server with $ npm start
  13. Call the number and try to convince Julian to give up his address!

About

Where is Julian Morrow?

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published