Nice work, and useful to have GPT-3 access directly in Slack. And cool to see the Slack next-gen platform in action... and Deno too!
One clarification you might want to mention in your README... this isn't using ChatGPT, which doesn't have a released official API yet.
This is using the completions
endpoint, which is fine for zero-shot scenarios, but it isn't stateful or conversational (not maintaining a conversation_id
/parent_id
that ChatGPT uses, for example).
This also uses the text-davinci-003
model, which is part of the GPT-3.5 series like the ChatGPT model, but they are distinct.
Though some folks have reverse-engineered the ChatGPT API and have released libraries to access the unofficial API until the official one is available:
Node:
https://github.com/transitive-bullshit/chatgpt-api
Python:
https://github.com/acheong08/ChatGPT
https://github.com/rawandahmad698/PyChatGPT