kamaalsultan / ChatWithYourOwnPrivateDocs

Users can auth and chat with their uploaded docs (.pdf, .docx, .txt). Users can't access others' documents.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Chat-LangChain-Faiss-Streamlit-py

ChatGPT-like app for querying pdf files. User can upload a pdf file and the app will allow for queries against it. Built on Langchain, OpenAI, FAISS, Streamlit. Inspired by YouTube Video from Prompt Engineer.

Process Flow

Installation

Prerequisites:

1) Clone repo

2) Create virtual env (e.g. venv)

3) Install required python packages via pip

pip install -r requirements.txt

4) Create .env file from example and copy over API key

cp .env.example .env

Usage

Launch app from terminal

streamlit run app.py

Open App in browser & follow prompts

http://localhost:8501/

Screenshots

User Prompt & Reponse

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

Users can auth and chat with their uploaded docs (.pdf, .docx, .txt). Users can't access others' documents.

License:MIT License


Languages

Language:Python 100.0%