Memory refinement
All checks were successful
Publish Library / Build NPM Project (push) Successful in 54s
Publish Library / Tag Version (push) Successful in 11s

This commit is contained in:
2026-08-05 12:22:13 -04:00
parent 878a8794ee
commit d42f58d710
8 changed files with 400 additions and 784 deletions

View File

@@ -186,7 +186,7 @@ console.log(chunks);
// Manually compile history into memories at end of conversation
// Happens automatically when coverstaions are compressed
await ai.language.updateMemory(history, memory);
await ai.language.memorize(history, memory);
// Summarize text
const summary = await ai.language.summarize(longText, 200);