Skip to content

wmgillett/chat-pdf-langchain-faiss-streamlit

Repository files navigation

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

Chat with your pdf using a private Chat-GPT like interface. Stores all data locally in FAISS vector index.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages