AWS/Bedrock housekeeping updates
- upadate bedrockruntime version to 2.26.7 and align it with aws sdk dependecy. - minor ITs configuration, consistency and statbility fixes Use the EnvironmentVariableCredentialsProvider instead of the Profile credential provider. - update the Bedrock getting started documentation. - update the Genemi Prerequisites docs.
This commit is contained in:
@@ -10,9 +10,9 @@ Additionally, Spring AI provides Spring Auto-Configurations and Boot Starters fo
|
||||
|
||||
There are a few steps to get started
|
||||
|
||||
* *Add Boot Starter*: Add the Spring Boot starter for Bedrock to your project.
|
||||
* *Obtain AWS credentials*: If you don't have an AWS account and AWS CLI configured yet, this video guide can help you configure it: link:https://youtu.be/gswVHTrRX8I?si=buaY7aeI0l3-bBVb[AWS CLI & SDK Setup in Less Than 4 Minutes!]. You should be able to obtain your access and security keys.
|
||||
* *Enable Bedrock models to use*: Go to link:https://us-east-1.console.aws.amazon.com/bedrock/home[Amazon Bedrock] and from the link:https://us-east-1.console.aws.amazon.com/bedrock/home?region=us-east-1#/modelaccess[Model Access] menu on the left, configure access to the models you are going to use.
|
||||
* Add the Spring Boot starter for Bedrock to your project.
|
||||
* Obtain AWS credentials: If you don't have an AWS account and AWS CLI configured yet, this video guide can help you configure it: link:https://youtu.be/gswVHTrRX8I?si=buaY7aeI0l3-bBVb[AWS CLI & SDK Setup in Less Than 4 Minutes!]. You should be able to obtain your access and security keys.
|
||||
* Enable the Models to use: Go to link:https://us-east-1.console.aws.amazon.com/bedrock/home[Amazon Bedrock] and from the link:https://us-east-1.console.aws.amazon.com/bedrock/home?region=us-east-1#/modelaccess[Model Access] menu on the left, configure access to the models you are going to use.
|
||||
|
||||
=== Project Dependencies
|
||||
|
||||
|
||||
@@ -10,13 +10,14 @@ link:https://cloud.google.com/vertex-ai/docs/generative-ai/model-reference/gemin
|
||||
|
||||
== Prerequisites
|
||||
|
||||
Set up your Java Development Environment.
|
||||
Authenticate by running the following command. Replace `PROJECT_ID` with your Google Cloud project ID and `ACCOUNT` with your Google Cloud username.
|
||||
- Install the link:https://cloud.google.com/sdk/docs/install[gcloud] CLI, apropriate for you OS.
|
||||
- Authenticate by running the following command.
|
||||
Replace `PROJECT_ID` with your Google Cloud project ID and `ACCOUNT` with your Google Cloud username.
|
||||
|
||||
[source]
|
||||
----
|
||||
gcloud config set project PROJECT_ID &&
|
||||
gcloud auth application-default login ACCOUNT
|
||||
gcloud config set project <PROJECT_ID> &&
|
||||
gcloud auth application-default login <ACCOUNT>
|
||||
----
|
||||
|
||||
== Auto-configuration
|
||||
|
||||
Reference in New Issue
Block a user