n8n-nodes-tembory 1.0.41 → 1.0.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1125,7 +1125,7 @@ const applyOperationalPreset = (advanced = {}) => {
1125
1125
  enableTransientSummaryCache: true,
1126
1126
  transientSummaryCacheTTLSeconds: 300,
1127
1127
  compactStateSections: true,
1128
- useVectorMemory: false,
1128
+ useVectorMemory: true,
1129
1129
  persistBackendMemories: true,
1130
1130
  includeRecentMessageProbe: false,
1131
1131
  includeToolLedgerProbe: false,
@@ -1147,9 +1147,9 @@ const applyOperationalPreset = (advanced = {}) => {
1147
1147
  includeMemoryCompression: true,
1148
1148
  includeRecentMessages: true,
1149
1149
  includeRecentHighlights: false,
1150
- topK: 0,
1150
+ topK: 8,
1151
1151
  lastN: 0,
1152
- maxReturn: 0,
1152
+ maxReturn: 20,
1153
1153
  toolHistoryLastN: 15,
1154
1154
  recentMessagesLastN: 50,
1155
1155
  vectorMemoryMaxChars: 220,
@@ -2598,7 +2598,7 @@ class Mem0Memory {
2598
2598
  { displayName: 'Máximo de Relações', name: 'maxRelations', type: 'number', default: 10 },
2599
2599
  { displayName: 'Incluir Action Ledger', name: 'includeActionLedger', type: 'boolean', default: true },
2600
2600
  { displayName: 'Incluir Entity Timeline', name: 'includeEntityTimeline', type: 'boolean', default: false },
2601
- { displayName: 'Usar Memória Vetorial no Caminho Quente', name: 'useVectorMemory', type: 'boolean', default: false },
2601
+ { displayName: 'Usar Memória Vetorial no Caminho Quente', name: 'useVectorMemory', type: 'boolean', default: true },
2602
2602
  { displayName: 'Persistir Memórias no Backend', name: 'persistBackendMemories', type: 'boolean', default: true },
2603
2603
  { displayName: 'Probe Vetorial de Mensagens Recentes', name: 'includeRecentMessageProbe', type: 'boolean', default: false },
2604
2604
  { displayName: 'Probe Vetorial de Tool Ledger', name: 'includeToolLedgerProbe', type: 'boolean', default: false },
@@ -2695,7 +2695,7 @@ class Mem0Memory {
2695
2695
  { displayName: 'App ID', name: 'appId', type: 'string', default: '' },
2696
2696
  { displayName: 'Run ID', name: 'runId', type: 'string', default: '' },
2697
2697
  { displayName: 'Top K', name: 'topK', type: 'number', typeOptions: { minValue: 1 }, default: 25, description: 'Quantidade de memórias a recuperar (modos semânticos e limites de recentes)' },
2698
- { displayName: 'Usar Memória Vetorial no Caminho Quente', name: 'useVectorMemory', type: 'boolean', default: false, description: 'Quando desligado, o padrão usa thread estruturada, tools e SLM sem buscar/vetorizar a cada turno.' },
2698
+ { displayName: 'Usar Memória Vetorial no Caminho Quente', name: 'useVectorMemory', type: 'boolean', default: true, description: 'Quando ligado, usa uma busca BYO mínima para recuperar memórias persistidas; probes/grafo continuam separados.' },
2699
2699
  { displayName: 'Persistir Memórias no Backend', name: 'persistBackendMemories', type: 'boolean', default: true, description: 'Quando desligado, mantém o estado no workflow/static data para reduzir latência.' },
2700
2700
  { displayName: 'Rerank', name: 'rerank', type: 'boolean', default: true, description: 'Reordenação por relevância (modos semânticos)', displayOptions: { show: { '/retrievalMode': ['semantic', 'semanticV2', 'hybrid'] } } },
2701
2701
  { displayName: 'Fields (lista separada por vírgula)', name: 'fields', type: 'string', default: '', description: 'Campos específicos a retornar da API (modos semânticos)', displayOptions: { show: { '/retrievalMode': ['semantic', 'semanticV2', 'hybrid'] } } },
@@ -3006,7 +3006,7 @@ class Mem0Memory {
3006
3006
  body.run_id = String(adv.runId);
3007
3007
  if (adv.persistBackendMemories === false)
3008
3008
  return;
3009
- const connectedEmbedding = adv.useVectorMemory === false ? null : await getConnectedEmbedding(this, itemIndex);
3009
+ const connectedEmbedding = await getConnectedEmbedding(this, itemIndex);
3010
3010
  if (connectedEmbedding) {
3011
3011
  const ids = { user_id: body.user_id, agent_id: body.agent_id, run_id: body.run_id };
3012
3012
  const clientMemories = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-tembory",
3
- "version": "1.0.41",
3
+ "version": "1.0.43",
4
4
  "description": "Tembory node for n8n AI Agents with profile, tools, timeline, graph and semantic memory",
5
5
  "license": "MIT",
6
6
  "homepage": "https://tembory.com",