Minor fix in flowise request body
This commit is contained in:
parent
1b2bc33e5e
commit
e8a8728f57
1 changed files with 6 additions and 1 deletions
|
|
@ -102,7 +102,12 @@ class Flowise extends BaseLLM {
|
|||
|
||||
protected _convertArgs(options: CompletionOptions): IFlowiseApiOptions {
|
||||
const finalOptions: IFlowiseApiOptions = {
|
||||
...options
|
||||
temperature: options.temperature,
|
||||
maxTokens: options.maxTokens,
|
||||
topP: options.topP,
|
||||
topK: options.topK,
|
||||
presencePenalty: options.presencePenalty,
|
||||
frequencyPenalty: options.frequencyPenalty,
|
||||
};
|
||||
|
||||
for (const additionalConfig of this.additionalFlowiseConfiguration) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue