Skip to main content
Version: Next

Update Variables in Streamer.bot

Now we need to update some variables for the GPT action to work.

  1. Update the value of OPENAI_API_KEY to your exact API key you generated in previous steps
  2. Update the value of PROJECT_FILE_PATH to the full path your Content.txt, keyword_contexts.json and TwitchChatRecoder.js file are located in without a trailing ""
  3. Update the value of IgnoreBotNames under SaveMessagetoQueue to reflect a comma-separated list of bot names you want to not be recorded from chat.
  4. Update the value of stripEmojis to either be 'true' or 'false' depending on whether you want emojis stripped from the response
  5. Update the Speak action to use the Voice Alias you want it to use in Speaker.bot. This allows you to have the bot use a different voice or the same voice as your other actions in Speaker.bot
  6. Enable the !modgpt command, and assign Moderators access to use it.
  7. Enable the !modteach command, and assign Moderators access to use it.
  8. Enable the Chat Message trigger under SaveMessagetoQueue
  9. Associate the GPT and Teach commands with either Cheer or Channel Point Redemption triggers for users to be able to use it, alternatively, you can create a !gpt command and allow users access to it