Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jonmatthis/og_classbot
An AI-powered Discord chatbot for what to teach a class with 🤖❤️✨
https://github.com/jonmatthis/og_classbot
ai anthropic bot discord education edutech gpt langchain llm neuroscience teaching
Last synced: 14 days ago
JSON representation
An AI-powered Discord chatbot for what to teach a class with 🤖❤️✨
- Host: GitHub
- URL: https://github.com/jonmatthis/og_classbot
- Owner: jonmatthis
- License: agpl-3.0
- Created: 2023-05-09T10:29:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-12T23:07:41.000Z (over 1 year ago)
- Last Synced: 2024-11-23T02:10:36.418Z (3 months ago)
- Topics: ai, anthropic, bot, discord, education, edutech, gpt, langchain, llm, neuroscience, teaching
- Language: HTML
- Homepage:
- Size: 3.6 MB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# chatbot
Uses `discord.py` for the Discord stuff and `langchain` for the LLM stuff (mostly relying on OpenAI's `gpt-4` and Anthropic's `claude-v1` for the LLM stuff)
The bot's main AI brain lives in: `chatbot/ai/assistants/course_assistant`
It's main prompt is here: `chatbot/ai/assistants/course_assistant/prompts/general_course_assistant_prompt.py`
Summary data of a class deployed in Summer 2023 - `\chatbot\student_info\student_profiles\plots\html`
___## Install
- make a python 3.10ish environment
- `pip install -e .`## Run bot
- copy `sample.env` to `.env` and fill out the necessary info
- `python RUN_ME.py`## Talk to bot
- with bot running, type `/chat` in any channel## Scrape chat data
- with bot running, type `/scrape_threads` in any channel## Process chat data
- see `chatbot/ai/workers` for examples
- anything with an `if __name__ == __main__:` block can be run without the discord bot being active