jc2375's profile picture
jc2375

summary

Public

Forked from tupik/summary-chat

Summary Generator:: Plugin to compress context and insert a short annotation at the beginning of a new chat... [ Total 🧩 Recall ]

15 Downloads

README

🧩 SUMMARY Generator/plugin for LM Studio

TOTAL RECALL Generates a summary from old chat text into an annotation at the beginning of a new chat.
To run the generator, select it from the list of models (turn on), then enter the command summa: in the chat + part of the old chat name from the list on the left panel. The list of commands can be expanded in the config, using a separator(;). All words are synonyms for a single command: is a prefix for the name of the chat. Any language is supported. It's up to you.

Other words are not processed and print short instruction right in the chat.

Example 1: $$$old fairy tales
Example 2: summa:old fairy files
Example 3: ---all hairy falls

Where it from

available at https://lmstudio.ai/tupik

lms get tupik/summary-chat

🧩 Summary Generator Total Recall

How it works:

  • Select the generator from the top menu of models.
  • Enter the command and part of the old chat name.
  • Examples: $$$script, recall:project #67, summa:n8n, 合計 999, ---Ρ‡Π΅Ρ€Π½ΠΎΠ²ΠΈΠΊ Π΄ΠΈΠΏΠ»ΠΎΠΌΠ½ΠΎΠΉ Ρ€Π°Π±ΠΎΡ‚Ρ‹
  • The plugin will find the file, clear it of AI "thoughts" and produce a compressed summary.
  • Config: You can specify any custom prefixes in the config, with separator (e.g., summa:;$$$;γƒͺコール:;recall:;---)
  • The plugin doesn't work out of the box. You'll need to at least enter a custom command in the config.
  • LLM model for summary should already be loaded. Otherwise, the console will return an error.
β”Œ Error ──────────────────────────────────────────────────────────────────────┐
β”‚   No loaded model satisfies all requirements specified in the query.        β”‚
β”‚   Loaded Models:                                                            β”‚
β”‚   You don't have any models loaded.                                         β”‚
β”‚   Your query:                                                               β”‚
β”‚   β€’ The model must be an LLM                                                β”‚

There's no automatic model loading yet, even though the field exists in the config.
The generator uses any LLM model that is already loaded.

PS: for Windows only yet, path to .lmstudio/conversations/ hardcoded
Who knows how it is in the Linux/MacOS you could fork and fix it.
or I'll fix it later.

Known issues:

Since the chat name (in LM Studio) is generated automatically, the new chat will have the same name as the previous one, since the chat starts with the same words. You'll have to rename it manually. For your convenience. Sometimes it shows token:0. This isn't an error; this value is stored within the chat. The chat files aren't perfect. Ideally, the size of the annotation should not be fixed, but rather depend on the size of the source text. (7-10%-25) Summarizing System prompt should be in file.md - I know it.