-
Notifications
You must be signed in to change notification settings - Fork 142
feat(bedrock): add docs for SystemContentBlock caching approach #314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(bedrock): add docs for SystemContentBlock caching approach #314
Conversation
|
@dbschmigelski Is there any specific order? Or support to few dynamic SystemContentBlock? Eg: or eg: Or could it even be built like this? I'm getting strange errors like this: Any best recommendation? Tested on versions 1.17.0 and 1.15.0 |
|
Hi, and appear valid to me. Can you take a look at the message array? Maybe there is an issue like an invalid character relating to |
|
Nevermind, problem was in a corrupted environment. By the way tested again and order didn't influence, although it might be worth documenting that dynamic content-blocks are supported. Also the default TTL of 5 minutes of the system prompt cache. |
Description
This is the followup to feat(models): add SystemContentBlock support for provider-agnostic caching strands-agents/sdk-python#1112. It includes documentation to describe the new approach.
After strands-agents/sdk-python#1141 is merged, we will update the LiteLLM section. Then after that as we begin progressing on
[FEATURE] Prompt caching support for all modelsstrands-agents/sdk-python#1140 we will update docs to provide a general caching sectionType of Change
Motivation and Context
strands-agents/sdk-python#1112
Areas Affected
http://127.0.0.1:8000/user-guide/concepts/model-providers/amazon-bedrock/#caching
Screenshots
Checklist
mkdocs serveAdditional Notes
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.