Making LLM Features Cheap Enough to Actually Ship

In Part 7 of the series, the author emphasizes the significance of durability in AI to minimize costs, particularly focusing on memoization and caching techniques. They outline strategies to prevent unnecessary token expenses during retries and propose a structured approach to optimize budget management before any billing occurs, ensuring efficient usage of resources throughout the... Continue reading →

Where Did I Save That Article? Crawl, Cache, Retrieve

The post explores improvements to an AI tool for managing saved links, addressing challenges in retrieval. It proposes creating a durable cache for links and enhancing search functionality with vector embeddings. The author emphasizes the need for security in URL fetching and systematic database migrations. The goal is easy access to previously saved articles and... Continue reading →

The Cron That Double-Posts and the Calendar I Actually Want

The post discusses a critical bug in a scheduled publishing feature used for cross-posting on various platforms. It details how the current system may lead to double posts due to timing issues between cross-posting and database updates. The author suggests a robust solution involving a new scheduling system to avoid such errors while emphasizing the... Continue reading →

A Generate Button That Survives a Timeout and Asks Before It Writes

Part 3 of 8 discusses the development of a durable AI feature for generating lists within an application. The author emphasizes the importance of implementing a two-step process where users confirm outputs before any data is written. This design prevents timeouts and unauthorized data generation, ensuring reliability and user control. Continue reading →