Update Variables in Streamer.bot
Now we need to update some variables for the GPT action to work.
- Update the value of OPENAI_API_KEY to your exact API key you generated in previous steps
- 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 ""
- Update the value of IgnoreBotNames under SaveMessagetoQueue to reflect a comma-separated list of bot names you want to not be recorded from chat.
- Update the value of stripEmojis to either be 'true' or 'false' depending on whether you want emojis stripped from the response
- 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
- Enable the !modgpt command, and assign Moderators access to use it.
- Enable the !modteach command, and assign Moderators access to use it.
- Enable the Chat Message trigger under SaveMessagetoQueue
- 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