Skip to content

openAI Node default settings are very confusing #227

@cabullmann

Description

@cabullmann

This is based on a partner question related to the openAI Extension.

Based on my testings a few things should be changed:

  1. the default value for prompt should be {{input.text}} , the current value is wrong and utterly confusing, the model already has the information
  2. based on the openAI documentation and my testing the following default settings should be changed to the following values:
  • temperature: 1
  • max_tokens: 100
  • top_p: 0.1

In terms of postprocessing the following code provides good results in extracting the first proper paragraph:
input.openai.match(/\w.*[!"#$%&'()*+,\-.\/:;<=>?@[\]^_{|}~]/m)`
this should probably be part of the readme

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions