Skip to content

Commit 07ad61a

Browse files
committed
Update documentation
1 parent 089713c commit 07ad61a

File tree

2 files changed

+64
-1
lines changed

2 files changed

+64
-1
lines changed

.doc_gen/metadata/bedrock-runtime_metadata.yaml

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,26 @@ bedrock-runtime_Converse_Ai21LabsJurassic2:
6969
services:
7070
bedrock-runtime: {Converse}
7171

72+
bedrock-runtime_Converse_AmazonNovaText:
73+
title: Invoke Amazon Nova on &BR; using Bedrock's Converse API
74+
title_abbrev: "Converse"
75+
synopsis: send a text message to Amazon Nova, using Bedrock's Converse API.
76+
category: Amazon Nova
77+
languages:
78+
Java:
79+
versions:
80+
- sdk_version: 2
81+
github: javav2/example_code/bedrock-runtime
82+
excerpts:
83+
- description: Send a text message to Amazon Nova using Bedrock's Converse API with the async Java client.
84+
snippet_tags:
85+
- bedrock-runtime.java2.ConverseAsync_AmazonNovaText
86+
- description: Send a text message to Amazon Nova, using Bedrock's Converse API.
87+
snippet_tags:
88+
- bedrock-runtime.java2.Converse_AmazonNovaText
89+
services:
90+
bedrock-runtime: {Converse}
91+
7292
bedrock-runtime_Converse_AmazonTitanText:
7393
title: Invoke Amazon Titan Text on &BR; using Bedrock's Converse API
7494
title_abbrev: "Converse"
@@ -301,6 +321,23 @@ bedrock-runtime_Converse_Mistral:
301321
bedrock-runtime: {Converse}
302322

303323
# Converse Stream
324+
bedrock-runtime_ConverseStream_AmazonNovaText:
325+
title: Invoke Amazon Nova on &BR; using Bedrock's Converse API with a response stream
326+
title_abbrev: "ConverseStream"
327+
synopsis: send a text message to Amazon Nova, using Bedrock's Converse API and process the response stream in real-time.
328+
category: Amazon Nova
329+
languages:
330+
Java:
331+
versions:
332+
- sdk_version: 2
333+
github: javav2/example_code/bedrock-runtime
334+
excerpts:
335+
- description: Send a text message to Amazon Titan Text using Bedrock's Converse API and process the response stream in real-time.
336+
snippet_tags:
337+
- bedrock-runtime.java2.ConverseStream_AmazonNovaText
338+
services:
339+
bedrock-runtime: {ConverseStream}
340+
304341
bedrock-runtime_ConverseStream_AmazonTitanText:
305342
title: Invoke Amazon Titan Text on &BR; using Bedrock's Converse API with a response stream
306343
title_abbrev: "ConverseStream"
@@ -1072,6 +1109,23 @@ bedrock-runtime_InvokeModelWithResponseStream_MistralAi:
10721109
bedrock-runtime: {InvokeModelWithResponseStream}
10731110

10741111
# Image Generation Models
1112+
bedrock-runtime_InvokeModel_AmazonNovaImageGeneration:
1113+
title: Invoke Amazon Nova Canvas on &BR; to generate an image
1114+
title_abbrev: "InvokeModel"
1115+
synopsis: invoke Amazon Nova Canvas on &BR; to generate an image.
1116+
category: Amazon Nova Canvas
1117+
languages:
1118+
Java:
1119+
versions:
1120+
- sdk_version: 2
1121+
github: javav2/example_code/bedrock-runtime
1122+
excerpts:
1123+
- description: Create an image with Amazon Nova Canvas.
1124+
snippet_tags:
1125+
- bedrock-runtime.java2.InvokeModel_AmazonNovaImageGeneration
1126+
services:
1127+
bedrock-runtime: {InvokeModel}
1128+
10751129
bedrock-runtime_InvokeModel_TitanImageGenerator:
10761130
title: Invoke Amazon Titan Image on &BR; to generate an image
10771131
title_abbrev: "InvokeModel"

javav2/example_code/bedrock-runtime/README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,15 @@ For prerequisites, see the [README](../../README.md#Prerequisites) in the `javav
3838
- [Converse](src/main/java/com/example/bedrockruntime/models/ai21LabsJurassic2/Converse.java#L6)
3939
- [InvokeModel](src/main/java/com/example/bedrockruntime/models/ai21LabsJurassic2/InvokeModel.java#L6)
4040

41+
### Amazon Nova
42+
43+
- [Converse](src/main/java/com/example/bedrockruntime/models/amazon/nova/text/ConverseAsync.java#L6)
44+
- [ConverseStream](src/main/java/com/example/bedrockruntime/models/amazon/nova/text/ConverseStream.java#L6)
45+
46+
### Amazon Nova Canvas
47+
48+
- [InvokeModel](src/main/java/com/example/bedrockruntime/models/amazon/nova/canvas/InvokeModel.java#L6)
49+
4150
### Amazon Titan Image Generator
4251

4352
- [InvokeModel](src/main/java/com/example/bedrockruntime/models/amazonTitanImage/InvokeModel.java#L6)
@@ -127,4 +136,4 @@ in the `javav2` folder.
127136

128137
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
129138

130-
SPDX-License-Identifier: Apache-2.0
139+
SPDX-License-Identifier: Apache-2.0

0 commit comments

Comments
 (0)