Skip to main content

Using Amazon Bedrock with Phoenix Evals

Requires litellm and AWS credentials configured via environment variables or boto3.
Use the "litellm" provider with a Bedrock model ID:
LiteLLM reads AWS credentials from the standard environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_REGION_NAME).

Using with evaluators

Authentication with assumed roles

If you need to assume a role, configure your credentials via environment variables before creating the LLM: