Skip to content

replicate/replicate-models-chatgpt-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Replicate models – a ChatGPT plugin

A simple plugin based on https://github.com/openai/plugins-quickstart

Development

Preqrequisites:

  • Access to OpenAI's plugin beta
  • Node.js for running the server
  • ngrok for port forwarding

Clone this repo and install dependencies:

git clone https://github.com/fofr/replicate-models-chatgpt-plugin
cd replicate-models-chatgpt-plugin
npm install

Start the server:

npm run dev

Start up ngrok, pointing at port 5003:

ngrok http 5003

Create .env and set your ngrok URL as the APP_HOST:

APP_HOST="https://0dc4a909eb0e.ngrok.app"

Grab your Replicate API token from https://replicate.com/account, then paste it into .env:

REPLICATE_API_TOKEN=r8_...

Configure ChatGPT to use the plugin:

  1. Go to https://chat.openai.com
  2. Click Plugins dropdown
  3. Click Plugin store
  4. Click 'Develop your own plugin'
  5. Use your ngrok host as the domain

Releases

No releases published

Packages

No packages published