├── .gitignore ├── activision.txt ├── adobe.txt ├── apple.txt ├── example.env ├── index.d.ts ├── microsoft.pdf ├── microsoft.txt ├── package.json ├── readme.md ├── src ├── ask-pdf.ts └── ask-txt.ts ├── tesla.txt ├── tsconfig.json └── utils └── CustomPDFLoader.ts /.gitignore: -------------------------------------------------------------------------------- 1 | .env* 2 | node_modules 3 | package-lock.json 4 | .DS_Store 5 | -------------------------------------------------------------------------------- /activision.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdcorps/langchain-pdf-qa/HEAD/activision.txt -------------------------------------------------------------------------------- /adobe.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdcorps/langchain-pdf-qa/HEAD/adobe.txt -------------------------------------------------------------------------------- /apple.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdcorps/langchain-pdf-qa/HEAD/apple.txt -------------------------------------------------------------------------------- /example.env: -------------------------------------------------------------------------------- 1 | OPENAI_API_KEY= 2 | -------------------------------------------------------------------------------- /index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdcorps/langchain-pdf-qa/HEAD/index.d.ts -------------------------------------------------------------------------------- /microsoft.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdcorps/langchain-pdf-qa/HEAD/microsoft.pdf -------------------------------------------------------------------------------- /microsoft.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdcorps/langchain-pdf-qa/HEAD/microsoft.txt -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdcorps/langchain-pdf-qa/HEAD/package.json -------------------------------------------------------------------------------- /readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdcorps/langchain-pdf-qa/HEAD/readme.md -------------------------------------------------------------------------------- /src/ask-pdf.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdcorps/langchain-pdf-qa/HEAD/src/ask-pdf.ts -------------------------------------------------------------------------------- /src/ask-txt.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdcorps/langchain-pdf-qa/HEAD/src/ask-txt.ts -------------------------------------------------------------------------------- /tesla.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdcorps/langchain-pdf-qa/HEAD/tesla.txt -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdcorps/langchain-pdf-qa/HEAD/tsconfig.json -------------------------------------------------------------------------------- /utils/CustomPDFLoader.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bdcorps/langchain-pdf-qa/HEAD/utils/CustomPDFLoader.ts --------------------------------------------------------------------------------