Taking Building with the Claude API. Notes from today
- Prompt caching in Claude works by storing the computational work done on your messages so it can be reused in follow-up requests.
- Requests that used cached consent are cheaper and faster to execute – only useful if you’re repeatedly sending the same content
- You can put in textblock with a breakpoint to pass into the cache
- Breakpoints and request ordering matter for what is retained in cache
- Content must be 1024 tokens long to be cached
Riffing with a colleague on current AI start-up funding environment
- “For AI companies, it’s unclear what is the moat” in the context of so many fast evolving changes
Leave a Reply