Skip to content

Discord bot and R Shiny chat for scaffolding conversations with LLM generated prompts

Notifications You must be signed in to change notification settings

NUDelta/CE_relationship_development_prompts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CE_relationship_development_prompts

Discord bot and R Shiny chat for scaffolding conversations with LLM generated prompts

Discrod chatbot

Python bot script

prerequists: 0. Python

  1. DISCORD_TOKEN guide for creating a discord bot
  2. OPENAI_KEY OpenAI API key
  3. add DISCORD_TOKEN and OPENAI_KEY to the environment
  4. install all dependent packages
  5. change channel id for you channel
  6. run Python bot script

Using bot: Talk with each other, or on you own. Write !prompt to recive a message with prompt

Shiny chat with prompts

App folder

prerequists: 0. R

  1. OPENAI_KEY OpenAI API key
  2. (optional) Project on Atlas Mongo to store loggs externally
  3. creaete a file called secret.R and put all you key inside
  4. 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

About

Discord bot and R Shiny chat for scaffolding conversations with LLM generated prompts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published