Description
Background story
I'm a Developer Advocate, working with @DennisTraub and mentoring a student @monadierickx that currently works building a swift code library, on top of the AWS SDK for Swift to make it easier for Swift developers to use the Bedrock API.
Based on this work, we will submit Swift SDK code samples to be added to the documentation.
Here is our priority / list of samples
InvokeModel
andInvokeModelWithResonseStream
API for recent version of Claude (3.7 Sonnet) and Nova (Canvas and Reel) . Text and Image modalityConverse
andConverseStream
API with text and image. (same model)
Questions
- is there other API that should be top priority ?
- is there other model that should be stop priority
What does this example accomplish?
Demonstrate how to use latest generation model for text and image generation, using either the InvokeModel
or the Converse
API
Which AWS service(s)?
Amazon Bedrock
Which AWS SDKs or tools?
- All languages
- .NET
- C++
- Go (v2)
- Java
- Java (v2)
- JavaScript
- JavaScript (v3)
- Kotlin
- PHP
- Python
- Ruby
- Rust
- Swift
- Not applicable
Are there existing code examples to leverage?
We're working on a small library that would make easier for developers to use Bedrock models in Swift.
The proposed code sample for the doc will be based on the raw AWS SDK Swift constructs provided.
https://github.com/build-on-aws/swift-fm-playground