spring-projects / spring-ai

An Application Framework for AI Engineering
https://docs.spring.io/spring-ai/reference/1.0-SNAPSHOT/index.html
Apache License 2.0
2.99k stars 739 forks source link

AWS Bedrock models tools support #802

Open DEG-7 opened 4 months ago

DEG-7 commented 4 months ago

Hi team, Could you extend the tools support to AWS Bedrock models?

Amazon Bedrock supports tool calling with the following models. Anthropic Claude 3 models Mistral AI Large Cohere Command R and Command R+

AWS Bedrock documentation: https://docs.aws.amazon.com/bedrock/latest/userguide/tool-use.html

Thanks for the great work !!

maxjiang153 commented 4 months ago

I'm working on this, but first one is Anthropic Claude 3 models.

Mistral AI models and Cohere Command R models have not been merged yet: https://github.com/spring-projects/spring-ai/pull/808 https://github.com/spring-projects/spring-ai/pull/667

maxjiang153 commented 4 months ago

@tzolov plz take a look at recent AWS Bedrock PRs, I wonder if creating a PR includes all supported tool models instead of once a time.

markpollack commented 2 months ago

Thanks, this is a large change, so will take a bit to digest.