aws-doc-sdk-examples
aws-doc-sdk-examples copied to clipboard
[Enhancement]: Java SDK Tool Call Example
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
@scmacdon Please evaluate this request.
I already have the assigned example for a Bedrock tool call, will be sure we do the follow in Java.
Tool use was added in Java with PR #7356