This repo implements a Collab.Land action to add /chatgpt
command to your
Discord server and it allows members to interact with ChatGPT.
-
Configure
OPENAI_API_KEY
environment variableexport OPENAI_API_KEY=<your-openai-api-key>
-
Run the action
npm run server ngrok http 3000
From a Discord channel:
/test-flight install <https-url-from-grok>/chatgpt
/chatgpt <optional-prompt>