Skip to content

A Sample ChatPDF App based on LangChain For Testing with Observability

License

Notifications You must be signed in to change notification settings

jaikanthjay46/langchain-sample-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatPDF App

This is a sample ChatPDF app built using Langchain.

Installation

  1. Clone the repository:

    git clone https://github.com/jaikanthjay46/langchain-sample-app.git
  2. Navigate to the project directory:

    cd ChatPDF
  3. Create and activate a virtual environment:

    python3 -m venv venv
    . ./venv/bin/activate
  4. Install the required dependencies:

    pip install -r requirements.txt

Usage

Replace book.pdf with your PDF

curl https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf -o book.pdf

Run queries on book.pdf

. ./venv/bin/activate 
python main.py

License

This project is licensed under the MIT License.

About

A Sample ChatPDF App based on LangChain For Testing with Observability

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages