I crafted this for my own enjoyment, involving the chunking of PDFs and their storage in a vector store for Retrieval-Augmented Generation (RAG) purposes.
Make sure node is already installed.
git clone [email protected]:synacktraa/pdf-service.git
npm run serve
Visit
/endpoints
for documentation.
npm run test
- Build the image
docker build -t pdf-service .
- Run the image
docker run -p 3000:3000 pdf-service
Make sure to update
-p
value accordingly if you're using--env-file .env