Giter Site home page Giter Site logo

mhijazi16 / briefly Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 17 KB

๐Ÿ“œ Briefly utilizes open-source LLM's with text embeddings and vectorstores to chat with your documents

Python 100.00%
llama2-7b llama3 llama3-rag llm machine-learning python rag retrival-augmented

briefly's Introduction

๐Ÿ“œ Briefly

Briefly is an innovative application that allows you to chat with your documents using open-source Large Language Models (LLMs). Upload your PDFs, ask questions, and receive relevant answers in no time!

Briefly-Brave2024-06-2312-46-19-ezgif com-video-to-gif-converter

๐Ÿš€ Features

  • Interactive Chat: Engage in a conversation with your documents.
  • Easy Upload: Upload multiple PDF files effortlessly.
  • Efficient Processing: Fast and accurate document processing.
  • Open-Source LLMs: Powered by open-source language models.

๐Ÿ› ๏ธ Installation

To get started with Briefly, follow these steps:

make sure Ollama and llama3 is installed

  1. Clone the repository:

    git clone https://github.com/Mhijazi16/Briefly.git
    cd Briefly
  2. Install the required dependencies:

    pip install -r requirements.txt
  3. Run the application:

    streamlit run Briefly.py

๐Ÿ“š Usage

  1. Upload Documents: Use the sidebar to upload your PDF documents.
  2. Ask Questions: Enter your questions in the text input field.
  3. Get Answers: Receive relevant answers extracted from your documents.

๐Ÿ“ Code Overview

Here's a brief overview of the main components of the code:

  • Document Reading: Uses PyPDF2 to read and extract text from PDF documents.
  • Text Splitting: Utilizes RecursiveCharacterTextSplitter from Langchain to split text into manageable chunks.
  • Embedding and Retrieval: Implements OllamaEmbeddingWrapper to embed documents and FAISS for efficient retrieval.
  • Interactive Interface: Built with Streamlit to provide a user-friendly interface.

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.