https://www.boundaryml.com logo
Prompt Caching / Message Role Metadata |...
# suggestions
s
The BAML docs for prompt caching should be updated, since prompt caching is no longer an Anthropic beta feature: https://docs.boundaryml.com/guide/baml-advanced/prompt-caching-message-role-metadata Btw are doc contributions or fixes possible by non-BAML folks?
v
yes! we generally accept all contributions 🙂
(assuming they meet the quality expectations)
at the bottom of the page, there should be an "edit this page"
s
And the docs are updated from the github repo?
appreciate your support on this 🙂
s
Np! I found one more doc miss where it says Collector Usage doesn't show cached tokens, but the BAML codebase says Usage class has cachedInputTokens field. Just trying it out first
v
I think that is not well supported and not a promised API (hence why we dont include that in the docs 🥲 ) - yet
s
Ah got it
Okay I'm getting some values and Ant values look accurate against the Claude console