> ## Documentation Index
> Fetch the complete documentation index at: https://hyperlocalise.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# AWS Bedrock

> Cấu hình AWS Bedrock làm nhà cung cấp LLM để tạo bản dịch.

## Giá trị nhà cung cấp

Sử dụng `bedrock` trong `llm.profiles.<name>.provider`.

## Hồ sơ ví dụ

```json theme={null}
{
  "llm": {
    "profiles": {
      "default": {
        "provider": "bedrock",
        "model": "anthropic.claude-3-5-sonnet-20241022-v2:0",
        "prompt": "Translate from {{source}} to {{target}}:\n\n{{input}}"
      }
    }
  }
}
```

## Các biến môi trường bắt buộc

<CodeGroup>
  ```bash Export theme={null}
  export AWS_REGION="us-east-1"
  export AWS_ACCESS_KEY_ID="your-access-key-id"
  export AWS_SECRET_ACCESS_KEY="your-secret-access-key"
  ```

  ```bash .env.local theme={null}
  AWS_REGION="us-east-1"
  AWS_ACCESS_KEY_ID="your-access-key-id"
  AWS_SECRET_ACCESS_KEY="your-secret-access-key"
  ```
</CodeGroup>

## Biến môi trường tùy chọn

`AWS_SESSION_TOKEN` khi sử dụng thông tin xác thực tạm thời.
