Discord bot and R Shiny chat for scaffolding conversations with LLM generated prompts
prerequists: 0. Python
- DISCORD_TOKEN guide for creating a discord bot
- OPENAI_KEY OpenAI API key
- add DISCORD_TOKEN and OPENAI_KEY to the environment
- install all dependent packages
- change channel id for you channel
- run Python bot script
Using bot: Talk with each other, or on you own. Write !prompt to recive a message with prompt
prerequists: 0. R
- OPENAI_KEY OpenAI API key
- (optional) Project on Atlas Mongo to store loggs externally
- creaete a file called secret.R and put all you key inside
- run shiny app
Using chat:
- send !show_prompt to show the get prompt botton
- send !show_likert_1 for the first survey question
- send !show_likert_2 for the second survey question
- send !show_users to see all active sessions
- send !delete to clean all log
- send !dump to send the chat history to mongo