Repository navigation
Content pipeline and the assistant: what may the machine produce, and who owns the result? #94
Replies: 2 comments
The configuration surface, now that two single types exist to copy fromSince this was opened, two single types have shipped that answer "how does an admin configure a feature without a deploy": Cookie Banner (#140) and Demo Reset (#165). Both use the same shape, and it works well enough to be the pattern here:
A Translation is a separate switch from generation. They are different risks. Generating a title for an untitled upload is additive; overwriting an editor's English wording with a fresh machine translation is not. Anything that can do both needs to be told which. The part that is genuinely new: this is not only an admin settingA reader should be able to say what happens to their own content. Three positions, roughly:
That is a user preference, not a site setting, and it raises questions this thread has not touched:
I would leave the mechanism open here and settle the shape first: a floor set by the admin, a position chosen by the user within it, and a default that is stated rather than assumed. One thing this now blocksMaking comments bilingual (in progress) uses the model settled in #93: write one language, leave the other empty, render nothing until a translation exists. That "later" is this pipeline. Until it runs, a German comment simply has no English version — which is honest, but it is a gap that only this thread closes. |
The vision model is reading our watermarkA concrete case from seeding: an image of ocean waves is titled "Roboter auf hoher See" in the catalogue. There is no robot. Moondream saw the watermark sitting on top of the water and described what it found. This is not a tuning problem. Moondream runs after the converter, so what it receives is never the photograph — it is the photograph plus a graphic we put there ourselves. Every caption, every tag, every summary downstream inherits that. And because the metadata is generated once and then read by everything else, a single misread propagates into search, into the affinity graph, and into the alt text a screen reader announces. The shape of the fixGive the vision model the original, not the derivative. Two things have to be decided before that can be built. Where originals live — and it cannot be under The current tree is So originals belong outside the web root, e.g. How long they are kept. Two honest options, and they differ in cost rather than in correctness:
The recommendation is: keep originals for images, and for video extract the frame before watermarking and keep only that frame. The vision model never needed the whole file. What this changes about the content type
OrderingThis is a converter change first and a Strapi change second. The converter runs on a separate machine and is deployed by hand, so the sequence matters: it has to write originals for a while before anything depends on them existing, otherwise the vision pass starts failing on everything uploaded up to that point. |
Uh oh!
There was an error while loading. Please reload this page.
Second thinking-ahead thread, no todos. Companion to draft 01 on localization.
Two things that look separate and are not: where content comes from, and what the assistant is allowed to do about it. Both end up in the same place — an editor in Strapi where a human configures what the machine may generate.
Part 1 — omni-content-fill belongs in Strapi
Today
omni-content-fillruns as its own pm2 process with its behaviour in code. That is fine for a seeded preview and wrong for a boilerplate other people are meant to adopt: the interesting part — what to generate, how often, in which voice, for which content kinds — is exactly the part nobody can change without editing TypeScript.Moving it into Strapi means deciding what the configuration surface actually is. Some candidates, in rough order of how sure I am about them:
CONTENT_KINDSregistry inpackages/sharedalready enumerates the kinds, so this is a natural single-type-per-kind or a repeatable component.OLLAMA_URL/OLLAMA_MODELare env today. Some of that belongs in config, some stays env — probably endpoint in env, model choice in config.Open questions:
translationStatusidea in draft 01 — possibly the same field, possibly a sibling.Part 2 — what the assistant should be able to do
Right now the chat assistant does two things: it answers questions about Omni, and it adjusts the affinity graph when someone expresses a preference ("mehr Kochen"). The mechanism is a JSON contract in the system prompt at
cms/src/api/feed/services/ai-intent.ts, withresponse,vectorandvectorSummary.That contract is already the bottleneck. #90 (streaming) has to renegotiate it, because you cannot stream a JSON envelope to a reader. If we are going to change it anyway, it is worth asking what the assistant should be able to do at all before deciding on the format.
A rough ladder, each rung a bigger commitment than the last:
Rung 5 is where I would stop and think hard. An assistant that can delete a user's article because of a misread instruction is a different product with different failure modes, and "the model was confident" is not an audit trail. If we go there at all, it needs confirmation in the UI, an action log, and a scope that cannot exceed the user's own permissions — the same rule the rest of the app already follows, where
minetakes the creator from the session and never from the request.Rungs 3 and 4 seem clearly worth having. Rung 4 is also where draft 01 lands: "translate this article into English" is a drafting action, with a human accepting the result.
Open questions:
The thread connecting both
Both parts are the same question at different scales: a human decides what the machine may produce, the machine produces it, and the result stays marked as machine-made until a human takes ownership of it. Translations, generated articles, drafted summaries — same lifecycle. If that lifecycle is modelled once, all three get it. If it is modelled three times, we will get three different answers to "who wrote this?".
All reactions