- Included YAML file for GitHub Actions integration to auto publish to NPM on release.
- Updated dependency
openai
to current version.
- Included preliminary support for for additional OpenAI model
gpt-4o-mini
. Setmsg.topic
togpt-4o-mini
to select the new model.
- Changed default behavior to use the new
GPT-4o-mini
model when no topic is selected.
- Depreciated edits api and complete migration to v4 of openai SDK.
- Properly migrate from v3 to v4 of openai SDK.
- Included support for new message property
msg.model
to select any model.
- Included support for image generation with the model
dall-e-3
- Removed support for depreciated model
text-davinci-003
.msg.topic
can no longer be set tocompletion
- Changed default behavior to use the new
GPT-4o
model.msg.topic
can be set togpt4o
- Properly included support for message properties
msg.API_KEY
andmsg.ORGANIZATION
- Reverted function calling with GPT-4 model due to issues
- Included support for message properties
msg.API_KEY
andmsg.ORGANIZATION
- Properly store credentials so they don't accidentally get exported in a flow
- Remembered to update changelog.
- Fixed formatting of help information displayed in the info tab of the editor.
- Included comments in
chatgpt.js
.
- Include function calling with GPT-4 model with the
msg.functions
property - Updated documentation
- Include
msg
with errors, so thatcatch
nodes can be used properly. - Updated the example
generate-node-red-nodes.json
to support Mac OS generating Node-RED nodes and importing them directly into the editor automatically.
- Included additional example.
generate-node-red-nodes.json
demonstrates how to generate Node-RED nodes and import them directly into the editor automatically (proof of concept for Windows). OpenAI models will write the code for you based on simple parameters.
- Included support for using a proxy to access the OpenAI API. Set the
BaseUrl
property value to the proxy/vpn service's url that you would like to use.
- Updated help information displayed in the info tab of the editor. (improved formatting and documentation)
- Fixed properly setting
msg.topic
to lowercase characters.
- Removed unnecessary whitespace in node edit dialog.
- Included support for using case insensitive topics input with the
msg.topic
property.
- Updated help information displayed in the info tab of the editor. (less verbose "details" section)
- Updated error message and removed unnecessary whitespace.
- Updated
README.md
formatting and usage information.
- Included the ability to set the behavior Topic in the node's edit dialog. Once set-up the node can be controlled with as little as a single required message property
msg.payload
. Behavior can still be set dynamically by selectingread from msg.topic
and setting themsg.topic
to the desired behavior.
- Updated help information displayed in the info tab of the editor. (
msg.max_tokens
support is now documented) - Updated the included example to demonstrate new features.
- Included preliminary support for for additional OpenAI model
gpt-4
. Setmsg.topic
togpt4
to select the new model. (untested, currently still on waitlist) - Included support for new message property
msg.suffix
, is expected to be a string that comes after a completion of inserted text. - Included support for new message property
msg.n
, is expected to be an number, the number of responses desired. - Included support for new message property
msg.temperature
, is expected to be an number, the sampling temperature to use. - Included support for new message property
msg.top_p
, is expected to be an number, an alternative to sampling with temperature. - Included support for new message property
msg.presence_penalty
, is expected to be an number, positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. - Included support for new message property
msg.frequency_penalty
, is expected to be an number, positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. - Included support for new message property
msg.echo
, is expected to be a boolean, echos back the prompt in addition to the completion when set totrue
.
- Improved help information displayed in the info tab of the editor.
- Updated node to fix unnecessary whitespace in conversation history.
- Updated
package.json
keywords.
- Included a CHANGELOG.md file to track changes to the project.
- Included support for additional OpenAI model
gpt-3.5-turbo
. Setmsg.topic
toturbo
to select the new model. - Included support for conversation history for new model
gpt-3.5-turbo
. - Included support for new message property
msg.history
, is expected to be an array of objects containing the conversation history.
- Updated the included example to demonstrate new features, new screenshot.
- Upgrade dependencies:
"openai": "^3.2.1"