Replies: 2 comments
-
|
IMO plugins are non-intrusive. The user has a choice to install it or not. It seems what is proposed in the OP is intrusive, if it is hardcoded into the core. It would remove the "opt in" possibility. The problem is there are a lot of different providers, which may have different preconditions, how to configure them. A session log can be huge. Especially if you need to copy images into the conversation, or if you use external tools like playwright (headless browser for debugging). The logs go to several megabytes easy. For one session. Native clients keep track of the session store and also "context tokes" which are active. While the information and knowledge, that is created during a conversation session is valuable. IMO about 60% to 80% is noise. So keeping the noise in the wiki, IMO is waste of wiki storage. Keeping it on disk is OK. May be it can be used later for "digging", but I doubt it. So being able to deleting it, without fear of loosing "value" is important. I personally use a skill that is named: claude-handoff, It creates a session summary, that depends on the current session context. This context depends on the LLM model that is used by the client. If it is eg: 1mio tokens the handoff file created is up to 500-800 lines, with a hard minimum of 250. It contains condensed (valuable) knowledge created during a session. This info can be used to start a new session, so the llm does not need to start from zero. These handoff files are definitely worth keeping. They contain the history of a conversation with all user decisions recorded. So they will tell you later, what you "thought" about something. ... Just some thoughts. |
Beta Was this translation helpful? Give feedback.
-
|
It's not just the era of LLM anymore; now it's the era of LLM agents. Agents will produce tons of text, measured in millions of words, and storing them in a knowledge base would cost more than it benefits. Therefore, I suggest that conversations should still be primarily stored in external storage (such as SQLite / IndexedDB databases), with only the truly valuable parts being excerpted and added to the user's knowledge base. And you are talking about tags for LLM, I think it is already handled in Jeremy's PR. And what needs more discussion is tags for LLM Agent: #9378 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I mean, yeah, there's many attempts to make plugins that integrate LLMs into TiddlyWiki, but there could be a way to enhance most TiddlyWiki with AIs without installing any plugin.
$:/LLMpath for all AI-related data (these tiddlers can be deleted to reset AI-related stuff)$:/LLM/config.jsoncontains OpenAI-compatible API URL, key (optional if is self-hosted), models (as an array), custom prompt (optional, default prompt is set by client)$:/LLM/logs/******.jsonare historical conversation data where a conversation can restore from$:/LLM/config.jsonis detected, using included configurations)$:/LLM/logs/, and loads the chosen one), 'Configure' (configure current/new conversation), input box, 'Attach' (lists and selects tiddler to attach to the conversation, images are supported as well, selected tiddlers are shown above the input box), 'Send'We might even have something similiar for TWC :3c
Beta Was this translation helpful? Give feedback.
All reactions