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.63k stars 5.65k forks source link

[Enhancement]: Tool call example #6693

Open LittleLittleCloud opened 4 months ago

LittleLittleCloud commented 4 months 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 3 months ago

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

DennisTraub commented 3 months ago

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

LittleLittleCloud commented 3 months ago

And update on this issue?

DennisTraub commented 3 months 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 2 months 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?