Coder Social home page Coder Social logo

nguyendinhtiem / aio_research_agent Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bachngoh/aio_research_agent

0.0 0.0 0.0 960 KB

AIO Research Agent - an all-in-one intelligent companion for navigating the academic world.

License: Apache License 2.0

Python 100.00%

aio_research_agent's Introduction

pipeline

GitHub starsGitHub issues

AIO Research Agent

AIO Research Agent is an all-in-one intelligent companion for navigating the world of academic research. Stay on top of the latest research, effortlessly find relevant papers, engage in insightful conversations with our AI Agent, and quickly grasp key takeaways with AI-generated summaries.

Features

  • Daily Paper Updates: Stay current with the latest research.
  • Targeted Search: Find the exact papers you need.
  • AI Chat Interface: Converse naturally, refine your search, and get personalized recommendations.
  • Concise Summaries: Quickly grasp key takeaways with AI-generated summaries.

Demo

Chatbot_demo.mp4

Getting Started

To install this application, follow these steps:

1. Clone the repository:

git clone https://github.com/AIVIETNAMResearch/AIO_Research_Agent.git
cd AIO_Research_Agent

2. (Optional) Create and activate a virtual environment:

  • For Unix/macOS:
python3 -m venv .venv
source .venv/bin/activate
  • For Windows:
python -m venv venv
.\venv\Scripts\activate

3. Install the required dependencies:

pip install -r requirements.txt

Data Preparation

This project uses research papers from arXiv to search for relevant publications based on your topics of interest.

Option 1: Download Pre-extracted Embeddings

For a quick start, download pre-extracted embeddings for chromaDB from Hugging Face in this link and place them in the ./DB folder. This dataset contains embeddings of the abstracts of approximately 330,000 arXiv papers in the fields of AI, ML, and DS, created using the mixedbread-ai/mxbai-embed-large-v1 model/.

Option 2: Self-Ingest Data

If you prefer to ingest your own data, you can use the Kaggle arXiv dataset.

1. Download Data: Obtain the arXiv dataset from Kaggle and store it in the ./data folder.

2. Ingest Paper Data:

python src/paper_ingest.py

Starting the Application

Before starting your application, you need to fill in some evironment variables. Create a .env file and fill in these:

# LLM Provider
OPENAI_API_KEY=
GROQ_API_KEY= # (Optional)
GOOGLE_API_KEY=

# For Searching
SERPER_API_KEY=

# Email Sending
SENDGRID_API_KEY= # (Optional)
CHAINLIT_AUTH_SECRET=

You can create th CHAINLIT_AUTH_SECRET by running the command chainlit create-secret.

Once everything is ready, you can launch the application by running:

chainlit run chainlit_app.py

The default username and password are admin and admin. Proper authentication will be added in the future.

Daily Paper Update (In Progress)

This feature is currently under development. Upon completion, the application will automatically download and process new papers daily. The embeddings of these new papers will be extracted, and a summary of the day's updates will be compiled into a daily report.

These reports will be published in a separate repository: https://github.com/BachNgoH/DailyAIReports.git. You can clone this repository and place it in the outputs directory if you'd like your chatbot to interact with the daily reports:

mkdir outputs
cd outputs
git clone https://github.com/BachNgoH/DailyAIReports.git

Acknowldgement

AIO Research Agent is made possible by these key technologies:

  • LlamaIndex: Providing the RAG (Retrieval Augmented Generation) framework.
  • Chainlit: Enabling the intuitive user interface.

aio_research_agent's People

Contributors

bachngoh avatar mf0212 avatar trinhxuankhai 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.