Amazon Bedrock ↗ allows you to build and scale generative AI applications with foundation models.
Endpoint
Make a request
When making requests to Amazon Bedrock, replace https://bedrock-runtime.us-east-1.amazonaws.com/ in the URL you’re currently using with https://gateway.ai.cloudflare.com/v1/{account_id}/{gateway_id}/aws-bedrock/bedrock-runtime/us-east-1/, then add the model you want to run at the end of the URL.
With Bedrock, you will need to sign the URL before you make requests to AI Gateway. You can try using the aws4fetch ↗ SDK.
Examples
Use aws4fetch1 SDK with TypeScript
Was this helpful?
What did you like?
What went wrong?
Thank you for helping improve Cloudflare's documentation!