Skip to content

nicknochnack/LangchainDocuments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Leveraging Your Own Documents in a Langchain Pipeline

This project highlights how to leverage a ChromaDB vectorstore in a Langchain pipeline to create drumroll please a GPT Investment Banker (ergh, I cringed as I wrote that, but alas it's actually pretty practical). You can load in a pdf based document and use it alongside an LLM without the need for fine tuning.

See it live and in action πŸ“Ί

Tutorial

Startup πŸš€

  1. Create a virtual environment python -m venv langchainenv
  2. Activate it:
    • Windows:.\langchainenv\Scripts\activate
    • Mac: source langchain/bin/activate
  3. Clone this repo git clone https://github.com/nicknochnack/LangchainDocuments
  4. Go into the directory cd LangchainDocuments
  5. Install the required dependencies pip install -r requirements.txt
  6. Add your OpenAI APIKey to line 22 of app.py
  7. Start the app streamlit run app.py
  8. Go back to my YouTube channel and like and subscribe πŸ˜‰...no seriously...please! lol

Other References πŸ”—

The main LG Agent used:Langchain VectorStore Agents

Who, When, Why?

πŸ‘¨πŸΎβ€πŸ’» Author: Nick Renotte
πŸ“… Version: 1.?
πŸ“œ License: This project is licensed under the MIT License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages