aws-doc-sdk-examples icon indicating copy to clipboard operation
aws-doc-sdk-examples copied to clipboard

[Enhancement]: Java SDK Tool Call Example

Open KaisNeffati opened this issue 1 year ago • 2 comments

Background story

How to use function call/tool call in JAVA bedrock model runtime SDK

What does this example accomplish?

I want to use tool call with AWS bedrock model

Which AWS service(s)?

AWS Bedrock

Which AWS SDKs or tools?

  • [ ] All languages
  • [ ] .NET
  • [ ] C++
  • [ ] Go (v2)
  • [X] Java
  • [X] Java (v2)
  • [ ] JavaScript
  • [ ] JavaScript (v3)
  • [ ] Kotlin
  • [ ] PHP
  • [ ] Python
  • [ ] Ruby
  • [ ] Rust
  • [ ] Swift
  • [ ] Not applicable

Are there existing code examples to leverage?

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

Do you have any reference code?

No response

KaisNeffati avatar Dec 20 '24 09:12 KaisNeffati

@scmacdon Please evaluate this request.

brmur avatar Dec 20 '24 11:12 brmur

I already have the assigned example for a Bedrock tool call, will be sure we do the follow in Java.

rlhagerm avatar Dec 20 '24 13:12 rlhagerm

Tool use was added in Java with PR #7356

rlhagerm avatar Aug 08 '25 20:08 rlhagerm