I spent a good chunk of time reworking the summary backend to fix some fundamental issues with how content was being compressed and summarized. The old approach kept summarizing and compressing the same chunks repeatedly, which ended up biasing the summaries toward the earliest content and wasting tokens. To fix that, I switched to a progressive compression method where chunks get summarized and compressed individually before being combined. This helped reduce bias and token use, and I reorganized the backend to avoid redundant summarization of the same chunks.
Along with that, I simplified and tuned the system prompts because the model was sometimes randomly changing or messing up content. At one point during a backend refactor, I realized the prompt wasn’t even being passed to the model, which caused totally nonsensical summaries. Fixing that by re-implementing the summarization step made a big difference.
I also overhauled the summary pipeline into multiple phases: pre-pass cleanup, chunking, summarizing, fact extraction, fact compression, synthesis, and then stylization based on predefined prompts. This structure feels more manageable and gives better control over the output style.
On the chunking front, I increased the default chunk size for OpenAI from 1500 tokens to 6000 tokens, which seems to help with coherence and reduces fragmentation. For the Ollama models, I adjusted chunk and context sizes too, and made those settings visible and configurable directly in the app. I added pre-built profiles that suggest optimal chunking and context sizes based on different hardware setups, which should make it easier for users to find a good balance without guessing. There’s also a lightweight balanced profile aimed at free users to keep things accessible.
Despite all these improvements, monthly summaries still struggle with sentence structure, repetition, and broken content. That’s a thorny problem I haven’t cracked yet. I’m also debating whether to let users tweak chunk size and context length themselves. It could be powerful but might mess with AI engine settings or cause confusion, so I’m weighing how best to support custom combinations in the UI.
Overall, the backend feels more stable now, and I fixed a state management bug that was causing UI inconsistencies. The save system pipeline got simplified too, which should make event handling cleaner. With these updates, I’m planning to re-publish the improved summaries online since the quality is better, but I’m still figuring out the best defaults and how to keep pushing summary quality further.
Two-Line Takeaway
Key step forward
The most important forward progress step was switching to a progressive compression method for summarizing chunks individually before combining them, which reduced bias and token use while improving summary quality.
Significant barrier or risk
The most important barrier or risk is the ongoing struggle with sentence structure, repetition, and broken content in monthly summaries, along with concerns about letting users tweak chunk size and context length, which could cause confusion or disrupt AI engine settings.
Keynotes
Decisions & Observations
- Decided to switch to a progressive compression method to reduce summary bias and token waste by summarizing chunks individually before combining.
- Added a lightweight balanced profile for free users to maintain accessibility.
- Will re-publish improved summaries online and continue refining default settings and summary quality.
Issues & Next Steps
- Needs to resolve ongoing issues with monthly summaries, specifically sentence structure, repetition, and broken content.
- Weighing whether to allow users to customize chunk size and context length, balancing power with potential confusion or AI engine conflicts.
Uncategorized Notes
- Reorganized the backend to avoid redundant summarization and fixed a critical bug where prompts were not passed to the model, improving summary coherence.
- Overhauled the summary pipeline into multiple distinct phases for better manageability and output control.
- Increased default chunk sizes (OpenAI: 1500 → 6000 tokens) and made chunk/context size settings configurable with pre-built profiles tailored to hardware setups.
- Fixed a state management bug causing UI inconsistencies and simplified the save system pipeline for cleaner event handling.
Generated with
Nucleate by Watchlight Studio— distilled from full transcription.