[Enhancement]: Add Amazon Nova Converse API example for Go SDK v2 (bedrock-runtime)
Maintainers usually reply within 2 days
@rlhagerm is already working on this.
Since Apr 20, 2026.
Assessment
This issue has not been assessed yet.
Description
Background story
Hello, AWS team. 👋🏻
Currently, the Go SDK v2 gov2/bedrock-runtime only includes a converse api example for claude. Adding the Amazon Nova example will bring Go into parity with the other SDKs and make it much easier for devs to start building with Amazon Nova.
What does this example accomplish?
I would like to provide a PR demonstrating amazon.nova-lite-v1:0 via Bedrock's converse API using the Go v2 SDK, and return the model's text response. The update includes the core action method, unit tests, scenario integration, and metadata.
Which AWS service(s)?
AWS bedrock runtime - Converse API.
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?
sources and samples:
- ConverseClaude + ConverseWrapper
https://docs.aws.amazon.com/code-library/latest/ug/bedrock-runtime_example_bedrock-runtime_Converse_AnthropicClaude_section.html - ConverseClaude
gov2/bedrock-runtime/actions/converse.go - metadata (will add for Go v2)
bedrock-runtime_Converse_AmazonNovaText
Do you have any reference code?
func (wrapper ConverseWrapper) ConverseNova(ctx context.Context, prompt string) (string, error) {
var content = types.ContentBlockMemberText{
Value: prompt,
}
var message = types.Message{
Content: []types.ContentBlock{&content},
Role: "user",
}
modelId := "amazon.nova-lite-v1:0"
var converseInput = bedrockruntime.ConverseInput{
ModelId: aws.String(modelId),
Messages: []types.Message{message},
}
response, err := wrapper.BedrockRuntimeClient.Converse(ctx, &converseInput)
if err != nil {
ProcessError(err, modelId)
}
responseText, _ := response.Output.(*types.ConverseOutputMemberMessage)
responseContentBlock := responseText.Value.Content[0]
text, _ := responseContentBlock.(*types.ContentBlockMemberText)
return text.Value, nil
}
- Dominant language
- Java
- Stars
- 10.5k
- Forks
- 5.8k
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 30
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from awsdocs/aws-doc-sdk-examples
-
[Enhancement]: Add Go (v2) example: Converse API with extended/adaptive thinking (Bedrock Runtime)May be free again @brmur claimed this 79 days ago, and no pull request is open. OpenGo-v2 New example request
awsdocs/aws-doc-sdk-examples#8093 · 1 assignee ·
Maintainers usually reply within 2 days
-
Modify ListObjectVersions to also show how do list versions of only a single objectMay be free again @brmur claimed this 163 days ago, and no pull request is open. OpenTask
awsdocs/aws-doc-sdk-examples#7914 · 1 assignee ·
Maintainers usually reply within 2 days
-
Create Rust DynamoDB GetItem single action exampleMay be free again @brmur claimed this 171 days ago, and no pull request is open. OpenNew example request Rust
awsdocs/aws-doc-sdk-examples#7913 · 1 assignee ·
Maintainers usually reply within 2 days
-
[Bug]: CloudWatch Logs Large Query Scenario - Offset BugMay be free again @rlhagerm claimed this 198 days ago, and no pull request is open. Open
awsdocs/aws-doc-sdk-examples#7873 · 1 assignee ·
Maintainers usually reply within 2 days
-
[Enhancement]: Update S3 Go code examples to use feature/s3/transfermanager instead of deprecated feature/s3/managerMay be free again @brmur claimed this 198 days ago, and no pull request is open. Open
awsdocs/aws-doc-sdk-examples#7872 · 3 comments · 1 assignee ·
Maintainers usually reply within 2 days
All issues in awsdocs/aws-doc-sdk-examples
Similar issues
-
面渣逆袭Spring事务传播机制勘误Open
Difficulty 1/5 Under an hour Newbie friendliness 80/100
itwanger/toBeBetterJavaer#218 ·
-
Markdown and Astro language servers do not start when the project path contains a non-ASCII character or a spacePossibly taken @RoiSoleil claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
eclipse-wildwebdeveloper/wildwebdeveloper#2277 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
johanhaleby/occurrent#1462 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
SasanLabs/VulnerableApp#912 ·
Maintainers usually reply within 1 day
-
area/build area/events area/storage area/storage/kafkasql area/storage/sql
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Apicurio/apicurio-registry#11079 ·
Maintainers usually reply within 1 day