pedrojlazevedo / twitch-chatgpt

ChatGPT Implementation for Twitch Streamers
67 stars 1.61k forks source link

Multiple contexts for different characters #50

Open Iraito opened 2 months ago

Iraito commented 2 months ago

I'm trying to simulate multiple characters but it's pretty tough with a single context, is it possible to create multiple context and trigger a specific one with a command?

Meredith2k5 commented 1 month ago

Try Gpt 4o maybe, also have a look at the silly tavern discord and ask there perhaps as its more prompt engineering than the bot itself. GPT 3.5-turbo seems to be pretty janky for reading and adhering to the whole context (maybe being able to set temperature might work also?). I got around it with my python script by setting a 'COMMAND1', 'COMMAND2', 'PERSONALITY1', 'PERSONALITY2' variables in a script I made so it might be doable, setting COMMAND2 as RPG and asking it to replicate a DnD game has been pretty fun for chat. My coding skills are terrible though so I couldn't get it to work with Render and have to have it natively running in Visual Studio Code for it to work. Alot more works gone into this and I dont know how hard Javasript is so whether this is reasonably doable without cluttering the code and variables too much I cant say