Skip to content

harshcoder7/Gen-Query

Repository files navigation

GenQuery: AI-Driven Research Query Tool

GenQuery is an AI-powered platform designed to streamline academic research by enabling efficient article retrieval and query handling. It integrates LangChain, OpenAI's GPT-3.5 Turbo, and FAISS for rapid and cost-effective similarity searches.

Key Features

  • Efficient Query Handling: Process large documents by breaking them into manageable segments and minimizing token consumption.
  • Fast Retrieval: Utilize FAISS for similarity-based searches and accurate query responses.
  • Seamless User Interaction: Transparent query results with links to source URLs.

Objectives

  • Build an AI-driven platform using LangChain, OpenAI embeddings, and FAISS for efficient information retrieval.
  • Implement Map Reduce Document Chaining to minimize API costs while preserving data integrity.

Technologies

  • LLMs (e.g., GPT-3.5 Turbo): Used for NLP tasks like query handling, summarization, and generating responses.
  • Transformer Models: Self-attention mechanism for understanding context and scalability.
  • FAISS: For high-dimensional data similarity searches.
  • LangChain: Manages data processing and integrates models.

System Design

System Architecture
Illustration of system architecture: Document retrieval, text segmentation, embedding construction, and FAISS for query handling.

Map-Reduce Chaining

Map-Reduce Process
Illustrates how Map-Reduce Chaining efficiently processes documents.

Stuff Method

Stuff Method
The Stuff Method optimizes API calls by reducing token consumption.

RAG Mechanism

RAG
Overview of the RAG system for enhancing query responses with context.

Demo

You can explore the tool in action by following this demo:
UI Screenshot YouTube Video Demo

  1. Input: Load URLs or text files for processing.
  2. Process: The tool fetches, segments, and generates embeddings using OpenAI models.
  3. Retrieve: FAISS handles similarity searches and returns accurate results.

Installation

Clone the repository:

git clone https://github.com/yourusername/GenQuery.git

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published