Git Product home page Git Product logo

arxiv-ai-knowledge-bot's Introduction

arXiv AI Knowledge Bot

The arXiv AI Knowledge Bot is a Discord bot designed to automatically scrape arXiv.com for new publications, adding them to an AI-powered knowledge base. This enables the bot to answer complex queries related to the subjects covered in the articles, making it a valuable resource for academic and research communities on Discord.

Features

  • Automated Scraping: Periodically scrapes new publications from arXiv.com.
  • Knowledge Base Integration: Uses Pinecone to manage a growing index of document data.
  • AI-Powered Answers: Leverages OpenAI to answer questions based on the indexed knowledge.

Prerequisites

  • Python 3.10 or higher
  • Discord Bot Token
  • Pinecone API Key
  • Access to OpenAI API

Installation

  1. Clone the repository:
git clone https://github.com/abdulzain6/arXiv-AI-Knowledge-Bot.git
cd arXiv-AI-Knowledge-Bot
  1. Install the required Python packages:
pip install -r requirements.txt

Configuration

Fill in the required API credentials in credentials.py:

PINECONE_API_KEY = "your_pinecone_api_key"
PINECONE_ENVIRONMENT = "your_pinecone_environment"
INDEX_NAME = "pdf-gpt-index"
OPENAI_API_KEY = "your_openai_api_key"
BOT_TOKEN = "your_discord_bot_token"

Usage

To run the bot:

python discord_bot.py

Once running, the bot will listen for commands on Discord and provide answers based on the knowledge accumulated from arXiv articles.

Contributing

We welcome contributions from the community. If you have improvements or fixes, please fork this repository, commit your updates, and submit a pull request.

arxiv-ai-knowledge-bot's People

Contributors

abdulzain6 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.