Skip to content

A discord bot using RAG methodology for the club

License

Notifications You must be signed in to change notification settings

asharan2buff/RagBot1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RAG Discord Bot

Welcome to the RAG Discord Bot project! This document provides an overview of the project, its goals, and the technologies we'll be using.

Project Overview

The RAG (Retrieve and Generate) Discord Bot aims to enhance our Discord server by providing intelligent responses based on our discussions and general club information. The project will span a month and is designed to be manageable within that timeframe.

image

Use Cases

  1. Transcript Querying: The bot will be able to refer to the transcripts of our discussions and answer questions based on them.
  2. General Club Information: The bot will provide information about announcements and club resources.

Architecture

The bot will be implemented using the following technologies:

Getting Started

Prerequisites

  • Python 3.x
  • Basic understanding of Discord.py
  • Familiarity with text embeddings and vector databases
  • Knowledge of FastAPI and Docker (optional but recommended)

We also follow 'learn as you do' motto so dont be afraid to pick up issues that intrest you.

Installation

  1. Clone the Repository

    git clone https://github.com/UB-AICLUB/RagBot.git
    cd RagBot
  2. Install Dependencies

    Create a virtual environment and install the necessary Python packages:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
    pip install -r requirements.txt
  3. Set Up Environment Variables

    Create a .env file and add your Discord bot token and other configuration details.

    DISCORD_TOKEN=your_discord_token

    for obvious reasons, this will not be pushed into the repository. This is required only if you wanna test it in your own server.

  4. Run the Bot

    python bot.py

Development

During the first week of September, we will have an in-person discussion session to provide a basic overview of the tools and technologies involved.

Contributions

Feel free to contribute to the project by submitting issues, suggestions, or pull requests. We encourage learning and collaboration throughout the development process.

Contact

If you have any questions or doubts, please reach out to me at mohantej@buffalo.edu or ping us in the Discord server.

Looking forward to working with you all!

About

A discord bot using RAG methodology for the club

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%