Log in
Log into community
Welcome to Portkey Forum
New post
View all posts
Related posts
Did this answer your question?
😞
😐
😃
Powered by
Hall
Active
Updated 4 weeks ago
0
Follow
Prompt Caching by Anthropic
Prompt Caching by Anthropic
Active
0
Follow
s
s44002
4 weeks ago
·
to use prompt caching by anthropic, do we just include the promptcaching cache type ephemeral as they have specified??
V
s
2 comments
Share
Open in Discord
V
Vrushank | Portkey
edited 4 weeks ago
Correct! Pass
"cache_control": {"type": "ephemeral"}
in the specific message body.
See this doc for more info:
https://portkey.ai/docs/integrations/llms/anthropic/prompt-caching
s
s44002
4 weeks ago
ok, thank you for such prompt support, i had rly not expected such fast response times
Add a reply
Sign up and join the conversation on Discord
Join on Discord