Sign up
Log in
Sign up
Log in
Live Webinar: June 25th
Join our Builder's Roundtable to learn all about fine-tuning LLMs
Register now
Back to demos & webinars
Tools

NodeJS, PDF-parse

Solutions

Text Gen

Date Published

Jan 26, 2024

Publisher

Thierry Moreau

Back to demos & webinars

PDF Summarizer

Tools

NodeJS, PDF-parse

Solutions

Text Gen

Date Published

Jan 26, 2024

Publisher

Thierry Moreau

Learn how to build a simple NodeJS app that summarizes any PDFs uploaded by users. Get a summary of all kinds of different content types, from manuals to resumes. You will be using the OctoAI Text Gen Solution to run the open source LLM of your choice behind the scenes for summarization. You will get a sense of how to start using LLMs in language workflows.

Repo

Build with PDF Summarizer

We built the PDF Summarizer to show the possibilities of using an LLM for all kinds of natural language processing, in this case summarization. From instruction manuals to short form content, see how easy it can be to incorporate this into your use case.

Prerequisites to get started

Before trying to setup or run this app you will need to do the following:

Start building

  • Run npm install to install modules

  • Place .pdf files in the files folder

  • Rename .env example to .env

  • Input your OctoAI API token in the .env file

OCTOAI_API_TOKEN=<your key here>
  • Run npm start in the terminal

Share what you build

We are excited to see what you build – feel free to show us in our Discord, and see what other community members are creating.

Your choice of models on our SaaS or in your environment

Run any model or checkpoint on our efficient, reliable, and customizable API endpoints. Sign up and start building in minutes.

Sign Up Today