bdcorps / langchain-pdf-qa

140 stars 13 forks source link

This repo lets you use a local PDF/text file to ask questions and generate asnwers.

How to use

  1. Add a .env file (OPENAI API key can be found in https://platform.openai.com/account/api-keys):
OPENAI_API_KEY=
  1. Run npm i
  2. Run npm run dev

You will see a response in your console for the Microsoft 10-K report

Acknowldgements