mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
feat(Postgres Chat Memory, Redis Chat Memory, Xata): Add support for context window length (#10203)
This commit is contained in:
@@ -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',
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user