Skip to content

vannsoko/DocumentQA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Question Answering AI bot

Table of Contents
  1. About The Project
  2. Getting Started
  3. Contributing

About The Project

Question Answering AI project using ChatGPT to respond to questions, Vector Stores to efficiently handle, retrieve information from the context files and Discord as interface.

(back to top)

Built With

  • Disnake
  • OpenAi

To be able to respond to the questions, I integrated the openAI API and used a vector store to enhance the speed of data retrieval for the custom files and reduce cost. I'm using Discord as interface for the project, therefore I used Disnake to interact with the Discord API.

(back to top)

Getting Started

Prerequisites

  • Docker
  • Discord Bot Token

Installation

  1. Creat a free discord bot Discord developers portal to get a bot token
  2. Invite you new bot with admin permissions in your discord server
  3. Clone the repo
    git clone https://github.com/vannsoko/DocumentQA.git
  4. Renaming .env.exemple to .env
  5. Enter BOT_TOKEN and START_CHANNEL_ID in .env
     BOT_TOKEN="REPLACE THIS WITH THE BOT TOKEN FROM THE DISCORD DEVELOPERS PORTAL"
     START_CHANNEL_ID="START_CHANNEL ID WHERE THE BOT WILL BE INITIALIZED"
     OPENAI_API_KEY=""
     IN_DEV=true

(back to top)

Contributing

  1. Find an issue or create one your self. If you have create the issue please make sure that it is relevant to the project.
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature). Please use the name of the issue in the branch name. or reference the issue id in the name.
  3. Do your changes and commit them (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request and wait for it to be merged

(back to top)

About

Question Answering AI project for custom files using ChatGPT engine and Discord as interface

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages