//pdf-servicebysynacktraa

pdf-service

Node js PDF service

0
0
0
JavaScript

PDF reader service

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.

Installation

Make sure node is already installed.

git clone git@github.com:synacktraa/pdf-service.git

Serve the API

npm run serve

Visit /endpoints for documentation.

Run the test

npm run test

As a docker service

  • 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

[beta]v0.13.0