spring-ai icon indicating copy to clipboard operation
spring-ai copied to clipboard

Use Amazon Bedrock Converse API to re-implementing Bedrock AI Models.

Open maxjiang153 opened this issue 8 months ago • 13 comments

see: https://github.com/spring-projects/spring-ai/issues/809

Provide a new BedrockConverseApi for AI model chat usage. Re-implementing current chat models from AbstractBedrockApi to the Bedrock Converse API to reduce complexity. Re-implementing Bedrock chat model usage information: https://github.com/spring-projects/spring-ai/pull/605. Support build-in exponential backoff: https://github.com/spring-projects/spring-ai/pull/759.

things todo:

  • [x] BedrockConverseApi
  • [x] re-implement the Bedrock chat model.
  • [x] chat model exponential backoff.
  • [x] chat model options document.
  • [x] re-implement the Bedrock chat model usage information. https://github.com/spring-projects/spring-ai/pull/605
  • [x] Tools support. https://github.com/spring-projects/spring-ai/issues/802 https://github.com/spring-projects/spring-ai/pull/810
  • [x] remove deprecated bedrock chat api.
  • [x] Support custom BedrockRuntimeClient and BedrockRuntimeAsyncClient.
  • [x] embedding model exponential backoff. https://github.com/spring-projects/spring-ai/pull/759
  • [x] Amazon Bedrock Mistral Chat model support. https://github.com/spring-projects/spring-ai/pull/808
  • [x] Amazon Bedrock Cohere Command R model support. https://github.com/spring-projects/spring-ai/pull/667
  • [x] Amazon Bedrock Anthropic Claude 3.5 Sonnet model support. https://github.com/spring-projects/spring-ai/issues/914

maxjiang153 avatar Jun 02 '24 23:06 maxjiang153