Skip to content

Coding-Rod/delve_final_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SmartDoc

RAG base chatbot with LLM and Qdrant

Installation

Clone the repo:

git clone https://github.com/Coding-Rod/delve_final_project.git

Install python dependencies:

pip install -r requirements.txt

Get a Groq API key from here

Create a .env file in the root of the project with the following content:

GROQ_API_KEY="YOUR API KEY"

Start project:

streamlit run src/app.py

Architecture

Ingestor

Extracts text from PDF documents and creates chunks (using semantic and character splitter) that are stored in a vector databse

Retriever

Given a query, searches for similar documents, reranks the result and applies LLM chain filter before returning the response.

Chain

Combines the LLM with the retriever to answer a given user question

More Info

  • Groq API - fast inference for mutliple LLMs
  • LangChain - build LLM-powered apps
  • Qdrant - vector search/database
  • Streamlit - build UI for data apps
  • PDFium - PDF processing and text extraction

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages