JoshMusira / RAG_Application

A state-of-the-art Retrieval-Augmented Generation (RAG) application using OpenAI, Qdrant vector store, embeddings, FastAPI, React for the UI, NewsAPI, Word Cloud, and Langchain. This project enables dynamic reading and QA on news articles, focusing on various people of interest, with real-time, personalized news insights.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RAG Fullstack Application

This repository contains the full-stack implementation for the RAG (Retrieve, Answer, Generate) application. It provides a web interface and backend API to interact with a language model, perform keyword extraction, and generate word clouds based on retrieved information.

Features

  • Frontend: Built with React to provide an interactive web interface.
  • Backend: Developed using FastAPI to handle API requests.
  • Vector Store: Utilizes Qdrant for vector storage and retrieval.
  • Language Model: Powered by OpenAI's GPT-3.5-turbo for generating answers.
  • Keyword Extraction: Uses TF-IDF vectorization to extract keywords from text responses.
  • Word Cloud Generation: Creates visual representations of word frequency using extracted keywords.

Requirements

  • Python 3.12
  • Node.js and npm
  • Qdrant
  • OpenAI API Key (set as environment variable OPENAI_API_KEY)

Contribute

  1. Clone the repository:

    git clone https://github.com/<username>/RAG-Fullstack-Backend.git
    cd RAG-Fullstack-Backend

About

A state-of-the-art Retrieval-Augmented Generation (RAG) application using OpenAI, Qdrant vector store, embeddings, FastAPI, React for the UI, NewsAPI, Word Cloud, and Langchain. This project enables dynamic reading and QA on news articles, focusing on various people of interest, with real-time, personalized news insights.


Languages

Language:Python 53.4%Language:JavaScript 41.8%Language:CSS 4.0%Language:HTML 0.6%Language:Shell 0.2%