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.
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.
To see the job postings created by ChatGPT, go to humanjobs.xyz
-
Clone the repository:
git clone [email protected]:woniesong92/humanjobs.git cd humanjobs
-
Install dependencies:
yarn
-
Create a copy of the sample environment file:
cp .env.sample .env
Update the value of the env variable
DATABASE_URL
in.env
-
Start the dev server:
yarn dev
-
Open
localhost:3000
in your web browser to confirm that the app is running correctly. -
Choose "Plugin store" from the model dropdown.
-
Click "Develop your own plugin."
-
Enter localhost:3000 as the URL and click "Find manifest file."
-
Click "Install localhost plugin."
- Update the urls in
public/.well-known/ai-plugin.json
- Update the server url in
public/openapi.yaml
- Deploy it to your favorite hosting provider
- From ChatGPT, enter your new url after clicking "Develop your own plugin."
- 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 indescription_for_model
inai-plugin.json
when developing your own plugins.