awsdocs / aws-doc-sdk-examples

Welcome to the AWS Code Examples Repository. This repo contains code examples used in the AWS documentation, AWS SDK Developer Guides, and more. For more information, see the Readme.md file below.
Apache License 2.0
9.4k stars 5.6k forks source link

[Enhancement]: Tool call example #6693

Open LittleLittleCloud opened 1 month ago

LittleLittleCloud commented 1 month ago

Background story

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

What does this example accomplish?

I want to use tool call with AWS bedrock model

Which AWS service(s)?

Bedrock model inference

Which AWS SDKs or tools?

Are there existing code examples to leverage?

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

Do you have any reference code?

rlhagerm commented 1 month ago

@DennisTraub is this something we could include in the .NET Bedrock examples?

DennisTraub commented 1 month ago

@rlhagerm Yes, I've already built a demo in Python and can add a C# adaptation to the docs.

LittleLittleCloud commented 3 weeks ago

And update on this issue?

DennisTraub commented 2 weeks ago

@LittleLittleCloud thanks for checking in. I'll need a few weeks as I'm currently travelling but will keep this issue updated once I'm working on it.

KaisNeffati commented 1 week ago

Hey guys, I couldn't find an example for the Java SDK either! Should I go ahead and create a new [Enhancement] issue for this?