Skip to content

prompt_cache support in AWS Bedrock LLM #2136

@iRajul

Description

@iRajul

AWS Bedrock support prompt_cache as seen in https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-caching.html and https://github.com/aws-samples/amazon-bedrock-samples/tree/main/introduction-to-bedrock/prompt-caching

I tried to support it locally but I found that livekit uses aioboto3 which does not support prompt_cache
but this support is there in boto3 since 1.37.24 , so unable to use it.
What are the options available to support this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions