hardStudy question · answer published in Prompt Engineering interview questions, so no pointsprompt-cachingprompt-debugging
Prompt cache hit rate near zero
Your long system prompt should be cached, but the cache hit rate is almost zero. Look at how the prompt is built. Why?
system = f"""Current time: {datetime.now().isoformat()}
You are the support assistant for Acme...
(6,000 tokens of fixed policy and tool docs)"""Discussion 0
Join free to post in the discussion.
Related questions
- Getting prompt cache hitsPrompt Engineer
- Debugging a contradictory promptPrompt Engineer
- Every reply sounds like example 1Prompt Engineer
- Where is the RAG bug?Prompt Engineer
- The model agrees with everythingPrompt Engineer
- Savings from a cached prefixPrompt Engineer
- Caching and time to first tokenPrompt Engineer
- Per-request tool lists and cachingPrompt Engineer