mirror of https://github.com/0xplaygrounds/rig
![]() The current ClientBuilder is limited. Instead of adding more options, we now provide a way to externally configure and inject a client. |
||
---|---|---|
.. | ||
examples | ||
src | ||
CHANGELOG.md | ||
Cargo.toml | ||
README.md |
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=......