feat(web): Contains sys.files in the default template. (#21476)

feat/add-retrival-field-in-dataset
-LAN- 10 months ago committed by GitHub
parent 268da31332
commit 0f5417ab84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -22,7 +22,7 @@ export const useWorkflowTemplate = () => {
...nodesInitialData.llm,
memory: {
window: { enabled: false, size: 10 },
query_prompt_template: '{{#sys.query#}}',
query_prompt_template: '{{#sys.query#}}\n\n{{#sys.files#}}',
},
selected: true,
},

@ -53,7 +53,7 @@ type Props = {
const MEMORY_DEFAULT: Memory = {
window: { enabled: false, size: WINDOW_SIZE_DEFAULT },
query_prompt_template: '{{#sys.query#}}',
query_prompt_template: '{{#sys.query#}}\n\n{{#sys.files#}}',
}
const MemoryConfig: FC<Props> = ({

Loading…
Cancel
Save