rig/rig-bedrock
Marc Bowes 33e8fc7a65
feat: support custom clients for bedrock (#403)
The current ClientBuilder is limited. Instead of adding more options, we
now provide a way to externally configure and inject a client.
2025-04-17 15:34:00 -07:00
..
examples feat: AWS Bedrock provider (#318) 2025-04-07 08:21:05 -07:00
src feat: support custom clients for bedrock (#403) 2025-04-17 15:34:00 -07:00
CHANGELOG.md chore: release (#375) 2025-04-15 10:23:05 -04:00
Cargo.toml feat: support custom clients for bedrock (#403) 2025-04-17 15:34:00 -07:00
README.md feat: AWS Bedrock provider (#318) 2025-04-07 08:21:05 -07:00

README.md

Rig-Bedrock

This companion crate integrates AWS Bedrock as model provider with Rig.

Usage

Add the companion crate to your Cargo.toml, along with the rig-core crate:

[dependencies]
rig-bedrock = "0.1.0"
rig-core = "0.9.1"

You can also run cargo add rig-bedrock rig-core to add the most recent versions of the dependencies to your project.

See the /examples folder for usage examples.

Make sure to have AWS credentials env vars loaded before starting client such as:

export AWS_DEFAULT_REGION=us-east-1
export AWS_SECRET_ACCESS_KEY=.......
export AWS_ACCESS_KEY_ID=......