Git Product home page Git Product logo

pdf-to-json-resume's Introduction

GPT-3 & Next.js - JSONify a PDF - Convert PDFs into JSON data with your own custom schema.

Working with PDFs can be a huge drag. With AI, we can take PDFs and extract custom JSON data which make them much easier to work with.

Check out a live deployment of this app at jsonify.org.

Tech stack includes Next.js, Tailwind, OpenAI, and Typescript. Note that this app does not use LangChain, Pinecone, or even GPT-4 (it is using the GPT-3.5 model). While you would likely want to consider these on a more robust app, the purpose of this app is to simply demonstrate the "JSONification of a PDF" process.

Get in touch via twitter if you have questions

Development

  1. Clone the repo
git clone https://github.com/AustonianTX/pdf-to-json.git
  1. Install packages
npm install
  1. Set up your .env file
  • Create a .env file, and add your OpenAI API key
OPENAI_API_KEY=
  • Visit openai to retrieve API keys and insert into your .env file.

Run the app

One you have installed the dependenies, you can run the app using npm run dev to launch the local dev environment. From there you can define a schema, upload your PDF file(s), and parse them into JSON.

Troubleshooting

In general, keep an eye out in the issues and discussions section of this repo for solutions.

Credit

The frontend of this repo was built with Austin Taylor at the Austin AI X Foundation Capital hackathon.

pdf-to-json-resume's People

Contributors

austonianai avatar dubbajubba avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.