woniesong92 / humanjobs

HumanJobs is a ChatGPT Plugin that lets ChatGPT create job postings only for humans

Home Page:https://humanjobs.xyz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

HumanJobs

human-jobs

HumanJobs is a ChatGPT Plugin that lets users create job postings for tasks ChatGPT can't handle yet. See how it works in the diagram below.

Diagram

This repo can work as a template if you want to build a ChatGPT plugin with NextJS. If you prefer Python, check out the repo openai/plugins-quickstart.

Demo

demo

To see the job postings created by ChatGPT, go to humanjobs.xyz

Development Quickstart

  1. Clone the repository:

    git clone git@github.com:woniesong92/humanjobs.git
    cd humanjobs
  2. Install dependencies:

    yarn
  3. Create a copy of the sample environment file:

    cp .env.sample .env

    Update the value of the env variable DATABASE_URL in .env

  4. Start the dev server:

    yarn dev
  5. Open localhost:3000 in your web browser to confirm that the app is running correctly.

  6. Choose "Plugin store" from the model dropdown.

    image
  7. Click "Develop your own plugin."

    image
  8. Enter localhost:3000 as the URL and click "Find manifest file."

    image
  9. Click "Install localhost plugin."

    image

Deployment

  1. Update the urls in public/.well-known/ai-plugin.json
  2. Update the server url in public/openapi.yaml
  3. Deploy it to your favorite hosting provider
  4. From ChatGPT, enter your new url after clicking "Develop your own plugin."

Gotchas

  • ChatGPT does not need the user to say "call this API endpoint." Users enable what plugins should be included in the context of the prompts, and ChatGPT infers when to use which plugins and how to use them.
  • ChatGPT can hallucinate extra parameters for your service's endpoints, ignoring what is described in openapi.yaml. To prevent this from happening, you can try describing your API interface in description_for_model in ai-plugin.json when developing your own plugins.

About

HumanJobs is a ChatGPT Plugin that lets ChatGPT create job postings only for humans

https://humanjobs.xyz


Languages

Language:TypeScript 89.8%Language:JavaScript 9.5%Language:CSS 0.7%