Skip to content

mperetto/JS-chat-over-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat PDF Clone

In this repository you will find a simple web app with functionalities similar to the ChatPDF service. The purpose of this repository is twofold:

  1. To facilitate my university life by giving me the opportunity to ask questions about professors' handouts and learn more quickly.
  2. To see the potential of langchain js and learn how to use it to its full potential with a practical project.

Running the Project

To run the application on your PC, simply follow these simple steps:

  1. Clone the repository to your PC.

    git clone https://github.com/mperetto/JS-chat-over-pdf.git
  2. Install all the dependencies.

    npm install
  3. Create a .env file with the following format and enter your OpenAI API KEY.

    OPENAI_API_KEY="<YOUR-OPENAI-APIKEY>"
  4. Start the local server.

    npm run serve

Et Voilà! Go to localhost:8080 and start using the app. 🚀

About

Clone of ChatPDF service written in Node with langchain js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors