feat: save the parameters of the generate operator to the form field … (#1390)

### What problem does this PR solve?
feat: save the parameters of the generate operator to the form field of
the node #918

### Type of change


- [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
balibabu
2024-07-05 15:52:24 +08:00
committed by GitHub
parent 472fcba7af
commit edc61e9b4c
10 changed files with 208 additions and 236 deletions

View File

@ -145,13 +145,12 @@ const initialLlmBaseValues = {
};
export const initialGenerateValues = {
// parameters: ModelVariableType.Precise,
// temperatureEnabled: true,
...initialLlmBaseValues,
prompt: `Please summarize the following paragraphs. Be careful with the numbers, do not make things up. Paragraphs as following:
{cluster_content}
{input}
The above is the content you need to summarize.`,
cite: true,
parameters: [],
};
export const initialRewriteQuestionValues = {