Improve documentation for enabling Bedrock models
Presently this is difficult to get started with. Also need to document the necessary AWS environment variables.
Configuration is simplified down to just having embabel-agent-starter-bedrock (profile will be set by starter automatically). See PR https://github.com/embabel/embabel-agent/pull/876
Required environmental variables are:
AWS_REGION AWS_ACCESS_KEY_ID AWS_SECRET_ACCESS_KEY
Users are required to have AWS account, be aware of the AWS_REGION, generate AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY. There is youtube video: https://docs.aws.amazon.com/bedrock/latest/userguide/getting-started.html
Currently AWS requires users to manually grant access to selected Models available in AWS
Model Access is per AWS_REGION
https://us-east-1.console.aws.amazon.com/bedrock/home?region=us-east-1#/modelaccess
A few updates:
- Bedrock Model Access is now automatic so that makes things a lot easier.
- Spring AI 1.1 will support a Bedrock Bearer Token for auth which makes that part much easier for local development (once Embabel moves to Spring AI 1.1)