The official Node.js / Typescript library for the OpenAI API
APACHE-2.0 License
Bot releases are visible (Hide)
Published by schnerd over 1 year ago
v4.0.0 Beta – Learn more
Published by schnerd over 1 year ago
v4.0.0 Beta – Learn more
Published by schnerd over 1 year ago
Add support for function calling in the Chat Completions API
Announcement: https://openai.com/blog/function-calling-and-other-api-updates
Documentation: https://platform.openai.com/docs/guides/gpt/function-calling
Published by schnerd over 1 year ago
Added new ChatGPT and Whisper APIs.
Breaking changes in this release:
createCompletion(engineId, params)
changed to createCompletion(params)
. The value previously passed in as the engineId
argument should now be passed in as model
in the params object (e.g. createCompletion({ model: "text-davinci-002, ... })
)