Amazon Bedrock Proxy
Proxy endpoint for Amazon Bedrock Chat Completions API
Note: Only Chat Completion LLMs are compatible with this proxy.
Before you can begin using Amazon Bedrock, make sure you complete the following setup:
-
Create an AWS Account
If you do not already have an AWS account, you must create one. -
Set Up an IAM Role
Create an IAM role with the necessary permissions to access and use Amazon Bedrock. -
Request Access to Foundation Models (FM)
Submit a request to gain access to the specific foundation models you intend to use.
Useful AWS Onboarding Links
Amazon Bedrock Models
Authorizations
Headers
AWS ACCESS KEY
AWS SECRET ACCESS KEY
AWS Region Name
Body
Schema for Amazon Bedrock API requests.
The model used for the chat completion
amazon.titan-text-express-v1
, anthropic.claude-3-sonnet-20240229-v1:0
, anthropic.claude-3-haiku-20240307-v1:0
, anthropic.claude-3-5-sonnet-20240620-v1:0
, meta.llama3-8b-instruct-v1:0
, meta.llama3-70b-instruct-v1:0
, mistral.mistral-7b-instruct-v0:2
, mistral.mixtral-8x7b-instruct-v0:1
, mistral.mistral-large-2402-v1:0
A list of messages comprising the conversation
If set, partial message deltas will be sent
Timeout in seconds for completion requests
Sampling temperature
0 <= x <= 2
Nucleus sampling parameter
0 <= x <= 1
Maximum number of tokens to generate
x > 0