feat(Postgres Chat Memory, Redis Chat Memory, Xata): Add support for context window length (#10203)

This commit is contained in:
jeanpaul
2024-08-06 10:42:18 +02:00
committed by GitHub
parent 1eba7c3c76
commit e3edeaa035
5 changed files with 55 additions and 20 deletions

View File

@@ -33,3 +33,11 @@ export const sessionKeyProperty: INodeProperties = {
},
},
};
export const contextWindowLengthProperty: INodeProperties = {
displayName: 'Context Window Length',
name: 'contextWindowLength',
type: 'number',
default: 5,
hint: 'How many past interactions the model receives as context',
};