Extensions
Extensions copied to clipboard
openAI Node default settings are very confusing
This is based on a partner question related to the openAI Extension.
Based on my testings a few things should be changed:
- the default value for prompt should be
{{input.text}}, the current value is wrong and utterly confusing, the model already has the information - 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
Thank you very much @cabullmann . I will implement and test the suggested changes.
Just for my understanding: Do you want to have {{input.text}} as default value for the text fields of the Flow Node?
@alexteusz yes, exactly