Skip to content

Commit e266185

Browse files
committed
Merge branch 'dotnetv4-test-fixes' of github.com:rlhagerm/aws-doc-sdk-examples into dotnetv4-test-fixes
2 parents 54c3c47 + cc89646 commit e266185

File tree

141 files changed

+4561
-6713
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

141 files changed

+4561
-6713
lines changed

.doc_gen/metadata/bedrock-runtime_metadata.yaml

Lines changed: 17 additions & 255 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,6 @@ bedrock-runtime_Hello:
2222
snippet_files:
2323
- javascriptv3/example_code/bedrock-runtime/hello.js
2424

25-
Python:
26-
versions:
27-
- sdk_version: 3
28-
github: python/example_code/bedrock-runtime
29-
sdkguide:
30-
excerpts:
31-
- description: Send a prompt to a model with the InvokeModel operation.
32-
snippet_tags:
33-
- bedrock-runtime.example_code.hello_bedrock_invoke.complete
34-
- description: Send a user message to a model with the Converse operation.
35-
snippet_tags:
36-
- bedrock-runtime.example_code.hello_bedrock_converse.complete
37-
3825
services:
3926
bedrock-runtime: {InvokeModel}
4027

@@ -115,50 +102,6 @@ bedrock-runtime_Converse_AmazonNovaText:
115102
services:
116103
bedrock-runtime: {Converse}
117104

118-
bedrock-runtime_Converse_AmazonTitanText:
119-
title: Invoke Amazon Titan Text on &BR; using Bedrock's Converse API
120-
title_abbrev: "Converse"
121-
synopsis: send a text message to Amazon Titan Text, using Bedrock's Converse API.
122-
category: Amazon Titan Text
123-
languages:
124-
Java:
125-
versions:
126-
- sdk_version: 2
127-
github: javav2/example_code/bedrock-runtime
128-
excerpts:
129-
- description: Send a text message to Amazon Titan Text, using Bedrock's Converse API.
130-
snippet_tags:
131-
- bedrock-runtime.java2.Converse_AmazonTitanText
132-
- description: Send a text message to Amazon Titan Text, using Bedrock's Converse API with the async Java client.
133-
snippet_tags:
134-
- bedrock-runtime.java2.ConverseAsync_AmazonTitanText
135-
.NET:
136-
versions:
137-
- sdk_version: 4
138-
github: dotnetv4/Bedrock-runtime
139-
excerpts:
140-
- description: Send a text message to Amazon Titan Text, using Bedrock's Converse API.
141-
snippet_tags:
142-
- BedrockRuntime.dotnetv4.Converse_AmazonTitanText
143-
Python:
144-
versions:
145-
- sdk_version: 3
146-
github: python/example_code/bedrock-runtime
147-
excerpts:
148-
- description: Send a text message to Amazon Titan Text, using Bedrock's Converse API.
149-
snippet_tags:
150-
- python.example_code.bedrock-runtime.Converse_AmazonTitanText
151-
JavaScript:
152-
versions:
153-
- sdk_version: 3
154-
github: javascriptv3/example_code/bedrock-runtime
155-
excerpts:
156-
- description: Send a text message to Amazon Titan Text, using Bedrock's Converse API.
157-
snippet_tags:
158-
- javascript.v3.bedrock-runtime.Converse_AmazonTitanText
159-
services:
160-
bedrock-runtime: {Converse}
161-
162105
bedrock-runtime_Scenario_ToolUse:
163106
title: "A tool use example illustrating how to connect AI models on &BR; with a custom tool or API"
164107
title_abbrev: "Tool use with the Converse API"
@@ -508,47 +451,6 @@ bedrock-runtime_ConverseStream_AmazonNovaText:
508451
services:
509452
bedrock-runtime: {ConverseStream}
510453

511-
bedrock-runtime_ConverseStream_AmazonTitanText:
512-
title: Invoke Amazon Titan Text on &BR; using Bedrock's Converse API with a response stream
513-
title_abbrev: "ConverseStream"
514-
synopsis: send a text message to Amazon Titan Text, using Bedrock's Converse API and process the response stream in real-time.
515-
category: Amazon Titan Text
516-
languages:
517-
Java:
518-
versions:
519-
- sdk_version: 2
520-
github: javav2/example_code/bedrock-runtime
521-
excerpts:
522-
- description: Send a text message to Amazon Titan Text, using Bedrock's Converse API and process the response stream in real-time.
523-
snippet_tags:
524-
- bedrock-runtime.java2.ConverseStream_AmazonTitanText
525-
.NET:
526-
versions:
527-
- sdk_version: 4
528-
github: dotnetv4/Bedrock-runtime
529-
excerpts:
530-
- description: Send a text message to Amazon Titan Text, using Bedrock's Converse API and process the response stream in real-time.
531-
snippet_tags:
532-
- BedrockRuntime.dotnetv4.ConverseStream_AmazonTitanText
533-
Python:
534-
versions:
535-
- sdk_version: 3
536-
github: python/example_code/bedrock-runtime
537-
excerpts:
538-
- description: Send a text message to Amazon Titan Text, using Bedrock's Converse API and process the response stream in real-time.
539-
snippet_tags:
540-
- python.example_code.bedrock-runtime.ConverseStream_AmazonTitanText
541-
JavaScript:
542-
versions:
543-
- sdk_version: 3
544-
github: javascriptv3/example_code/bedrock-runtime
545-
excerpts:
546-
- description: Send a text message to Amazon Titan Text, using Bedrock's Converse API and process the response stream in real-time.
547-
snippet_tags:
548-
- javascript.v3.bedrock-runtime.ConverseStream_AmazonTitanText
549-
services:
550-
bedrock-runtime: {ConverseStream}
551-
552454
bedrock-runtime_ConverseStream_AnthropicClaude:
553455
title: Invoke Anthropic Claude on &BR; using Bedrock's Converse API with a response stream
554456
title_abbrev: "ConverseStream"
@@ -741,64 +643,6 @@ bedrock-runtime_ConverseStream_Mistral:
741643
bedrock-runtime: {ConverseStream}
742644

743645
# Invoke Model
744-
bedrock-runtime_InvokeModel_TitanText:
745-
title: Invoke Amazon Titan Text models on &BR; using the Invoke Model API
746-
title_abbrev: "InvokeModel"
747-
synopsis: send a text message to Amazon Titan Text, using the Invoke Model API.
748-
category: Amazon Titan Text
749-
languages:
750-
Java:
751-
versions:
752-
- sdk_version: 2
753-
github: javav2/example_code/bedrock-runtime
754-
excerpts:
755-
- description: Use the Invoke Model API to send a text message.
756-
snippet_tags:
757-
- bedrock-runtime.java2.InvokeModel_AmazonTitanText
758-
Kotlin:
759-
versions:
760-
- sdk_version: 1
761-
github: kotlin/services/bedrock-runtime
762-
excerpts:
763-
- description: Use the Invoke Model API to generate a short story.
764-
snippet_tags:
765-
- bedrock-runtime.kotlin.InvokeModel_AmazonTitanText
766-
.NET:
767-
versions:
768-
- sdk_version: 4
769-
github: dotnetv4/Bedrock-runtime
770-
excerpts:
771-
- description: Use the Invoke Model API to send a text message.
772-
snippet_tags:
773-
- BedrockRuntime.dotnetv4.InvokeModel_AmazonTitanText
774-
Python:
775-
versions:
776-
- sdk_version: 3
777-
github: python/example_code/bedrock-runtime
778-
excerpts:
779-
- description: Use the Invoke Model API to send a text message.
780-
snippet_tags:
781-
- python.example_code.bedrock-runtime.InvokeModel_TitanText
782-
JavaScript:
783-
versions:
784-
- sdk_version: 3
785-
github: javascriptv3/example_code/bedrock-runtime
786-
excerpts:
787-
- description: Use the Invoke Model API to send a text message.
788-
snippet_files:
789-
- javascriptv3/example_code/bedrock-runtime/models/amazonTitanText/invoke_model.js
790-
Go:
791-
versions:
792-
- sdk_version: 2
793-
github: gov2/bedrock-runtime
794-
excerpts:
795-
- description: Use the Invoke Model API to send a text message.
796-
snippet_tags:
797-
- gov2.bedrock-runtime.InvokeModelWrapper.struct
798-
- gov2.bedrock-runtime.InvokeTitanText
799-
services:
800-
bedrock-runtime: {InvokeModel}
801-
802646
bedrock-runtime_InvokeModel_AnthropicClaude:
803647
title: Invoke Anthropic Claude on &BR; using the Invoke Model API
804648
title_abbrev: "InvokeModel"
@@ -872,39 +716,6 @@ bedrock-runtime_InvokeModel_AnthropicClaude:
872716
services:
873717
bedrock-runtime: {InvokeModel}
874718

875-
bedrock-runtime_InvokeModel_CohereCommand:
876-
title: Invoke Cohere Command on &BR; using the Invoke Model API
877-
title_abbrev: "InvokeModel: Command and Command Light"
878-
synopsis: send a text message to Cohere Command, using the Invoke Model API.
879-
category: Cohere Command
880-
languages:
881-
Java:
882-
versions:
883-
- sdk_version: 2
884-
github: javav2/example_code/bedrock-runtime
885-
excerpts:
886-
- description: Use the Invoke Model API to send a text message.
887-
snippet_tags:
888-
- bedrock-runtime.java2.InvokeModel_CohereCommand
889-
.NET:
890-
versions:
891-
- sdk_version: 3
892-
github: dotnetv3/Bedrock-runtime
893-
excerpts:
894-
- description: Use the Invoke Model API to send a text message.
895-
snippet_tags:
896-
- BedrockRuntime.dotnetv3.InvokeModel_CohereCommand
897-
Python:
898-
versions:
899-
- sdk_version: 3
900-
github: python/example_code/bedrock-runtime
901-
excerpts:
902-
- description: Use the Invoke Model API to send a text message.
903-
snippet_tags:
904-
- python.example_code.bedrock-runtime.InvokeModel_CohereCommand
905-
services:
906-
bedrock-runtime: {InvokeModel}
907-
908719
bedrock-runtime_InvokeModel_CohereCommandR:
909720
title: Invoke Cohere Command R and R+ on &BR; using the Invoke Model API
910721
title_abbrev: "InvokeModel: Command R and R+"
@@ -1021,39 +832,6 @@ bedrock-runtime_InvokeModel_MistralAi:
1021832
bedrock-runtime: {InvokeModel}
1022833

1023834
# Invoke Model with Response Stream
1024-
bedrock-runtime_InvokeModelWithResponseStream_TitanText:
1025-
title: Invoke Amazon Titan Text models on &BR; using the Invoke Model API with a response stream
1026-
title_abbrev: "InvokeModelWithResponseStream"
1027-
synopsis: send a text message to Amazon Titan Text models, using the Invoke Model API, and print the response stream.
1028-
category: Amazon Titan Text
1029-
languages:
1030-
Java:
1031-
versions:
1032-
- sdk_version: 2
1033-
github: javav2/example_code/bedrock-runtime
1034-
excerpts:
1035-
- description: Use the Invoke Model API to send a text message and process the response stream in real-time.
1036-
snippet_tags:
1037-
- bedrock-runtime.java2.InvokeModelWithResponseStream_AmazonTitanText
1038-
.NET:
1039-
versions:
1040-
- sdk_version: 3
1041-
github: dotnetv3/Bedrock-runtime
1042-
excerpts:
1043-
- description: Use the Invoke Model API to send a text message and process the response stream in real-time.
1044-
snippet_tags:
1045-
- BedrockRuntime.dotnetv3.InvokeModelWithResponseStream_AmazonTitanText
1046-
Python:
1047-
versions:
1048-
- sdk_version: 3
1049-
github: python/example_code/bedrock-runtime
1050-
excerpts:
1051-
- description: Use the Invoke Model API to send a text message and process the response stream in real-time.
1052-
snippet_tags:
1053-
- python.example_code.bedrock-runtime.InvokeModelWithResponseStream_TitanText
1054-
services:
1055-
bedrock-runtime: {InvokeModelWithResponseStream}
1056-
1057835
bedrock-runtime_InvokeModelWithResponseStream_AnthropicClaude:
1058836
title: Invoke Anthropic Claude models on &BR; using the Invoke Model API with a response stream
1059837
title_abbrev: "InvokeModelWithResponseStream"
@@ -1104,39 +882,6 @@ bedrock-runtime_InvokeModelWithResponseStream_AnthropicClaude:
1104882
services:
1105883
bedrock-runtime: {InvokeModelWithResponseStream}
1106884

1107-
bedrock-runtime_InvokeModelWithResponseStream_CohereCommand:
1108-
title: Invoke Cohere Command on &BR; using the Invoke Model API with a response stream
1109-
title_abbrev: "InvokeModelWithResponseStream: Command and Command Light"
1110-
synopsis: send a text message to Cohere Command, using the Invoke Model API with a response stream.
1111-
category: Cohere Command
1112-
languages:
1113-
Java:
1114-
versions:
1115-
- sdk_version: 2
1116-
github: javav2/example_code/bedrock-runtime
1117-
excerpts:
1118-
- description: Use the Invoke Model API to send a text message and process the response stream in real-time.
1119-
snippet_tags:
1120-
- bedrock-runtime.java2.InvokeModelWithResponseStream_CohereCommand
1121-
.NET:
1122-
versions:
1123-
- sdk_version: 3
1124-
github: dotnetv3/Bedrock-runtime
1125-
excerpts:
1126-
- description: Use the Invoke Model API to send a text message and process the response stream in real-time.
1127-
snippet_tags:
1128-
- BedrockRuntime.dotnetv3.InvokeModelWithResponseStream_CohereCommand
1129-
Python:
1130-
versions:
1131-
- sdk_version: 3
1132-
github: python/example_code/bedrock-runtime
1133-
excerpts:
1134-
- description: Use the Invoke Model API to send a text message and process the response stream in real-time.
1135-
snippet_tags:
1136-
- python.example_code.bedrock-runtime.InvokeModelWithResponseStream_CohereCommand
1137-
services:
1138-
bedrock-runtime: {InvokeModel}
1139-
1140885
bedrock-runtime_InvokeModelWithResponseStream_CohereCommandR:
1141886
title: Invoke Cohere Command R and R+ on &BR; using the Invoke Model API with a response stream
1142887
title_abbrev: "InvokeModelWithResponseStream: Command R and R+"
@@ -1738,3 +1483,20 @@ bedrock-runtime_Scenario_GenerateVideos_NovaReel:
17381483
- bedrock-runtime.java2.NovaReel.VideoGeneration
17391484
services:
17401485
bedrock-runtime: {StartAsyncInvoke, GetAsyncInvoke}
1486+
1487+
bedrock-runtime_InvokeModel_TitanText:
1488+
title: Invoke Amazon Titan Text models on &BR; using the Invoke Model API
1489+
title_abbrev: "InvokeModel"
1490+
synopsis: send a text message to Amazon Titan Text, using the Invoke Model API.
1491+
category: Amazon Titan Text
1492+
languages:
1493+
Python:
1494+
versions:
1495+
- sdk_version: 3
1496+
github: python/example_code/bedrock-runtime
1497+
excerpts:
1498+
- description: Use the Invoke Model API to send a text message.
1499+
snippet_tags:
1500+
- python.example_code.bedrock-runtime.InvokeModel_TitanText
1501+
services:
1502+
bedrock-runtime: {InvokeModel}

0 commit comments

Comments
 (0)