You can upload a pdf document and ask questions.
- Create a virtual environment
python -m venv langchain
- Activate it:
- Windows:
.\langchain\Scripts\activate
- Mac:
source langchain/bin/activate
- Windows:
- Clone this repo
git clone https://github.com/nicknochnack/LangchainDocuments
- Go into the directory
cd LangchainDocuments
- Install the required dependencies
pip install -r requirements.txt
. Note: For macos, currently python3.11 (from homebrew) is the only one that worked for me to install chromadb and hnswlib. - Add your OpenAI APIKey in
.env
file and execute the commandsource .env
- Start the app
streamlit run app.py
The main LG Agent used:Langchain VectorStore Agents
OpenAI https://chat.openai.com/
👨🏾💻 Author: Abdullah Khan Zehady
📜 License: This project is licensed under the MIT License
https://youtu.be/u8vQyTzNGVY Thanks Nicholas Renotte