Giter Club home page Giter Club logo

-retrieval-augmented-generation-rag-with-open-source-llm-and-langchain-for-pdf-search's Introduction

Retrieval Augmented Generation (RAG) with Open Source LLM and LangChain for PDF Search

This project introduces an innovative approach to searching PDF documents using the power of LangChain, ChromaDB, and an Open Source LLM. The system aims to enable efficient retrieval, summarization, and response generation for user queries without relying on external services.

Features:

LangChain: LangChain facilitates language generation and understanding, enhancing the search tool's capabilities. ChromaDB: ChromaDB acts as a vector store and database, enabling efficient storage and retrieval of vector representations of PDF documents. Open Source LLM: Utilizing an Open Source Language Model (LLM) enables question-answering capabilities, allowing the system to process user queries and extract relevant information from PDF documents. Unique Aspects:

No External Services:

The system operates entirely on the CPU, eliminating the need for external services like the OpenAI API. This ensures greater control, privacy, and accessibility for PDF search needs. Tasks:

Data Pre-processing and Cleaning:

Clean PDF files by removing figures, tables, and in-text citations. Vector Database Creation: Index cleaned text files using an open-source vector database, preprocess text, and create vector representations of each file. Query Formulation and Retrieval: Use LangChain to integrate the vector database and LLM to retrieve the top 5 most similar research findings for each query. Summarization and Response Generation: Summarize retrieved findings using another LLM and generate final responses for each query. Application Process Integration using LangChain: Demonstrate proficiency in using LangChain to integrate various processes and application process integration in the code.

-retrieval-augmented-generation-rag-with-open-source-llm-and-langchain-for-pdf-search's People

Contributors

harshaldharpure 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.