Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Add Function Calling to Amazon Bedrock integration #1074

Open
rossturner opened this issue May 9, 2024 · 0 comments
Open

[FEATURE] Add Function Calling to Amazon Bedrock integration #1074

rossturner opened this issue May 9, 2024 · 0 comments
Labels
enhancement New feature or request P2 High priority

Comments

@rossturner
Copy link

Is your feature request related to a problem? Please describe.
I wish to make use of function-calling/tools with models provided via Amazon Bedrock such as the Mistral and Anthropic models. LangChain4j has support for function calling when using these models via their own API, but not via Amazon Bedrock.

Describe the solution you'd like
Currently supplying ToolSpecifications via ChatLanguageModel.generate when the underlying implementation is a BedrockChatModel throws an exception as this is not yet implemented. Ideally it would be implemented and convert the supplied ToolSpecification in the format expected by the model.

Describe alternatives you've considered
The obvious alternative of using the Mistral or Anthropic integration is not viable as my company is mandating that we use Amazon Bedrock.

@rossturner rossturner added the enhancement New feature or request label May 9, 2024
@langchain4j langchain4j added the P2 High priority label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P2 High priority
Projects
None yet
Development

No branches or pull requests

2 participants