Skip to content

Commit 862b7e2

Browse files
authored
Merge branch 'main' into llama-converse
2 parents 2f73caf + e359a63 commit 862b7e2

File tree

96 files changed

+16901
-8688
lines changed

Some content is hidden

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

96 files changed

+16901
-8688
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "file://zonbook/docbookx.dtd"[
3+
<!ENTITY % phrases-shared SYSTEM "file://AWSShared/common/phrases-shared.ent">
4+
%phrases-shared;
5+
]>
6+
<block>
7+
<para>
8+
Shows how to use &neptunelong; Java API to create a Lambda function that queries graph data within the VPC.
9+
</para>
10+
<para>
11+
For complete source code and instructions on how to set up and run, see the full example on
12+
<ulink url="https://github.com/awsdocs/aws-doc-sdk-examples/tree/main/javav2/usecases/creating_neptune_lambda">GitHub</ulink>.
13+
</para>
14+
</block>

.doc_gen/metadata/bedrock-runtime_metadata.yaml

Lines changed: 117 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,14 @@ bedrock-runtime_Converse_AmazonNovaText:
124124
genai: some
125125
snippet_tags:
126126
- Bedrock.ConverseTool.dotnetv3.SendConverseRequest
127+
PHP:
128+
versions:
129+
- sdk_version: 3
130+
github: php/example_code/bedrock-runtime
131+
excerpts:
132+
- description: Send a text message to Amazon Nova, using Bedrock's Converse API.
133+
snippet_tags:
134+
- php.example_code.bedrock-runtime.service.Converse_AmazonNovaText
127135
Python:
128136
versions:
129137
- sdk_version: 3
@@ -808,14 +816,6 @@ bedrock-runtime_InvokeModel_Ai21LabsJurassic2:
808816
snippet_tags:
809817
- gov2.bedrock-runtime.InvokeModelWrapper.struct
810818
- gov2.bedrock-runtime.InvokeJurassic2
811-
PHP:
812-
versions:
813-
- sdk_version: 3
814-
github: php/example_code/bedrock-runtime
815-
excerpts:
816-
- description: Use the Invoke Model API to send a text message.
817-
snippet_tags:
818-
- php.example_code.bedrock-runtime.service.invokeJurassic2
819819
services:
820820
bedrock-runtime: {InvokeModel}
821821

@@ -1017,9 +1017,9 @@ bedrock-runtime_InvokeModel_CohereCommandR:
10171017
bedrock-runtime: {InvokeModel}
10181018

10191019
bedrock-runtime_InvokeModel_MetaLlama3:
1020-
title: Invoke Meta Llama 3 on &BR; using the Invoke Model API
1021-
title_abbrev: "InvokeModel: Llama 3"
1022-
synopsis: send a text message to Meta Llama 3, using the Invoke Model API.
1020+
title: Invoke Meta Llama on &BR; using the Invoke Model API
1021+
title_abbrev: "InvokeModel"
1022+
synopsis: send a text message to Meta Llama, using the Invoke Model API.
10231023
category: Meta Llama
10241024
languages:
10251025
Java:
@@ -1249,9 +1249,9 @@ bedrock-runtime_InvokeModelWithResponseStream_CohereCommandR:
12491249
bedrock-runtime: {InvokeModel}
12501250

12511251
bedrock-runtime_InvokeModelWithResponseStream_MetaLlama3:
1252-
title: Invoke Meta Llama 3 on &BR; using the Invoke Model API with a response stream
1253-
title_abbrev: "InvokeModelWithResponseStream: Llama 3"
1254-
synopsis: send a text message to Meta Llama 3, using the Invoke Model API, and print the response stream.
1252+
title: Invoke Meta Llama on &BR; using the Invoke Model API with a response stream
1253+
title_abbrev: "InvokeModelWithResponseStream"
1254+
synopsis: send a text message to Meta Llama, using the Invoke Model API, and print the response stream.
12551255
category: Meta Llama
12561256
languages:
12571257
Java:
@@ -1538,6 +1538,109 @@ bedrock-runtime_InvokeModelWithResponseStream_TitanTextEmbeddings:
15381538
services:
15391539
bedrock-runtime: {InvokeModel}
15401540

1541+
# Document understanding
1542+
bedrock-runtime_DocumentUnderstanding_AmazonNova:
1543+
title: Send and process a document with Amazon Nova on &BR;
1544+
title_abbrev: "Document understanding"
1545+
synopsis: send and process a document with Amazon Nova on &BR;.
1546+
category: Amazon Nova
1547+
languages:
1548+
Python:
1549+
versions:
1550+
- sdk_version: 3
1551+
github: python/example_code/bedrock-runtime
1552+
excerpts:
1553+
- description: Send and process a document with Amazon Nova on &BR;.
1554+
snippet_tags:
1555+
- python.example_code.bedrock-runtime.DocumentUnderstanding_AmazonNovaText
1556+
services:
1557+
bedrock-runtime: {Converse}
1558+
1559+
bedrock-runtime_DocumentUnderstanding_AnthropicClaude:
1560+
title: Send and process a document with Anthropic Claude on &BR;
1561+
title_abbrev: "Document understanding"
1562+
synopsis: send and process a document with Anthropic Claude on &BR;.
1563+
category: Anthropic Claude
1564+
languages:
1565+
Python:
1566+
versions:
1567+
- sdk_version: 3
1568+
github: python/example_code/bedrock-runtime
1569+
excerpts:
1570+
- description: Send and process a document with Anthropic Claude on &BR;.
1571+
snippet_tags:
1572+
- python.example_code.bedrock-runtime.DocumentUnderstanding_AnthropicClaude
1573+
services:
1574+
bedrock-runtime: {Converse}
1575+
1576+
bedrock-runtime_DocumentUnderstanding_CohereCommand:
1577+
title: Send and process a document with Cohere Command models on &BR;
1578+
title_abbrev: "Document understanding"
1579+
synopsis: send and process a document with Cohere Command models on &BR;.
1580+
category: Cohere Command
1581+
languages:
1582+
Python:
1583+
versions:
1584+
- sdk_version: 3
1585+
github: python/example_code/bedrock-runtime
1586+
excerpts:
1587+
- description: Send and process a document with Cohere Command models on &BR;.
1588+
snippet_tags:
1589+
- python.example_code.bedrock-runtime.DocumentUnderstanding_CohereCommand
1590+
services:
1591+
bedrock-runtime: {Converse}
1592+
1593+
bedrock-runtime_DocumentUnderstanding_DeepSeek:
1594+
title: Send and process a document with DeepSeek on &BR;
1595+
title_abbrev: "Document understanding"
1596+
synopsis: send and process a document with DeepSeek on &BR;.
1597+
category: DeepSeek
1598+
languages:
1599+
Python:
1600+
versions:
1601+
- sdk_version: 3
1602+
github: python/example_code/bedrock-runtime
1603+
excerpts:
1604+
- description: Send and process a document with DeepSeek on &BR;.
1605+
snippet_tags:
1606+
- python.example_code.bedrock-runtime.DocumentUnderstanding_DeepSeek
1607+
services:
1608+
bedrock-runtime: {Converse}
1609+
1610+
bedrock-runtime_DocumentUnderstanding_MetaLlama:
1611+
title: Send and process a document with Llama on &BR;
1612+
title_abbrev: "Document understanding"
1613+
synopsis: send and process a document with Llama on &BR;.
1614+
category: Meta Llama
1615+
languages:
1616+
Python:
1617+
versions:
1618+
- sdk_version: 3
1619+
github: python/example_code/bedrock-runtime
1620+
excerpts:
1621+
- description: Send and process a document with Llama on &BR;.
1622+
snippet_tags:
1623+
- python.example_code.bedrock-runtime.DocumentUnderstanding_MetaLlama
1624+
services:
1625+
bedrock-runtime: {Converse}
1626+
1627+
bedrock-runtime_DocumentUnderstanding_Mistral:
1628+
title: Send and process a document with Mistral models on &BR;
1629+
title_abbrev: "Document understanding"
1630+
synopsis: send and process a document with Mistral models on &BR;.
1631+
category: Mistral AI
1632+
languages:
1633+
Python:
1634+
versions:
1635+
- sdk_version: 3
1636+
github: python/example_code/bedrock-runtime
1637+
excerpts:
1638+
- description: Send and process a document with Mistral models on &BR;.
1639+
snippet_tags:
1640+
- python.example_code.bedrock-runtime.DocumentUnderstanding_Mistral
1641+
services:
1642+
bedrock-runtime: {Converse}
1643+
15411644
# Tool use scenarios
15421645
bedrock-runtime_Scenario_ToolUseDemo_AmazonNova:
15431646
title: "A tool use demo illustrating how to connect AI models on &BR; with a custom tool or API"

.doc_gen/metadata/cross_metadata.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
# zexi 0.4.0
2+
cross_Neptune_Query:
3+
title: Use the &neptunelong; API to develop a &LAM; function that queries graph data
4+
title_abbrev: Use the &neptune; API to query graph data
5+
synopsis: use the &neptune; API to query graph data.
6+
category: Scenarios
7+
languages:
8+
Java:
9+
versions:
10+
- sdk_version: 2
11+
block_content: cross_Neptune_Java_block.xml
12+
service_main: neptune
13+
services:
14+
neptune:
15+
lambda:
216
cross_MessageProcessingFrameworkTutorial:
317
title: Use the &AWS; Message Processing Framework for .NET to publish and receive &SQS; messages
418
title_abbrev: Use the &AWS; Message Processing Framework for .NET with &SQS;

.doc_gen/metadata/entityresolution_metadata.yaml

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,14 @@ entityresolution_Hello:
1212
- description:
1313
snippet_tags:
1414
- entityres.java2_hello.main
15+
JavaScript:
16+
versions:
17+
- sdk_version: 3
18+
github: javascriptv3/example_code/entityresolution
19+
excerpts:
20+
- description:
21+
snippet_tags:
22+
- javascript.v3.entity-resolution.hello
1523
services:
1624
entityresolution: {listMatchingWorkflows}
1725
entityresolution_DeleteSchemaMapping:
@@ -24,6 +32,14 @@ entityresolution_DeleteSchemaMapping:
2432
- description:
2533
snippet_tags:
2634
- entityres.java2_delete_mappings.main
35+
JavaScript:
36+
versions:
37+
- sdk_version: 3
38+
github: javascriptv3/example_code/entityresolution
39+
excerpts:
40+
- description:
41+
snippet_tags:
42+
- entity-resolution.JavaScriptv3.delete.schema-mapping
2743
services:
2844
entityresolution: {DeleteSchemaMapping}
2945
entityresolution_TagEntityResource:
@@ -36,6 +52,14 @@ entityresolution_TagEntityResource:
3652
- description:
3753
snippet_tags:
3854
- entityres.java2_tag_resource.main
55+
JavaScript:
56+
versions:
57+
- sdk_version: 3
58+
github: javascriptv3/example_code/entityresolution
59+
excerpts:
60+
- description:
61+
snippet_tags:
62+
- entity-resolution.JavaScriptv3.tag.entity-resource
3963
services:
4064
entityresolution: {TagEntityResource}
4165
entityresolution_CreateMatchingWorkflow:
@@ -48,6 +72,14 @@ entityresolution_CreateMatchingWorkflow:
4872
- description:
4973
snippet_tags:
5074
- entityres.java2_create_matching_workflow.main
75+
JavaScript:
76+
versions:
77+
- sdk_version: 3
78+
github: javascriptv3/example_code/entityresolution
79+
excerpts:
80+
- description:
81+
snippet_tags:
82+
- entity-resolution.JavaScriptv3.create-matching-workflow
5183
services:
5284
entityresolution: {CreateMatchingWorkflow}
5385
entityresolution_CheckWorkflowStatus:
@@ -60,6 +92,14 @@ entityresolution_CheckWorkflowStatus:
6092
- description:
6193
snippet_tags:
6294
- entityres.java2_check_matching_workflow.main
95+
JavaScript:
96+
versions:
97+
- sdk_version: 3
98+
github: javascriptv3/example_code/entityresolution
99+
excerpts:
100+
- description:
101+
snippet_tags:
102+
- entity-resolution.JavaScriptv3.check-workflow-status
63103
services:
64104
entityresolution: {CheckWorkflowStatus}
65105
entityresolution_StartMatchingJob:
@@ -72,6 +112,14 @@ entityresolution_StartMatchingJob:
72112
- description:
73113
snippet_tags:
74114
- entityres.java2_start_job.main
115+
JavaScript:
116+
versions:
117+
- sdk_version: 3
118+
github: javascriptv3/example_code/entityresolution
119+
excerpts:
120+
- description:
121+
snippet_tags:
122+
- entity-resolution.JavaScriptv3.start.matching-job
75123
services:
76124
entityresolution: {StartMatchingJob}
77125
entityresolution_GetMatchingJob:
@@ -84,6 +132,14 @@ entityresolution_GetMatchingJob:
84132
- description:
85133
snippet_tags:
86134
- entityres.java2_get_job.main
135+
JavaScript:
136+
versions:
137+
- sdk_version: 3
138+
github: javascriptv3/example_code/entityresolution
139+
excerpts:
140+
- description:
141+
snippet_tags:
142+
- entity-resolution.JavaScriptv3.get.matching-job
87143
services:
88144
entityresolution: {GetMatchingJob}
89145
entityresolution_DeleteMatchingWorkflow:
@@ -96,6 +152,14 @@ entityresolution_DeleteMatchingWorkflow:
96152
- description:
97153
snippet_tags:
98154
- entityres.java2_delete_matching_workflow.main
155+
JavaScript:
156+
versions:
157+
- sdk_version: 3
158+
github: javascriptv3/example_code/entityresolution
159+
excerpts:
160+
- description:
161+
snippet_tags:
162+
- entity-resolution.JavaScriptv3.delete-matching-workflow
99163
services:
100164
entityresolution: {DeleteMatchingWorkflow}
101165
entityresolution_ListSchemaMappings:
@@ -108,6 +172,14 @@ entityresolution_ListSchemaMappings:
108172
- description:
109173
snippet_tags:
110174
- entityres.java2_list_mappings.main
175+
JavaScript:
176+
versions:
177+
- sdk_version: 3
178+
github: javascriptv3/example_code/entityresolution
179+
excerpts:
180+
- description:
181+
snippet_tags:
182+
- entity-resolution.JavaScriptv3.list.schema-mapping
111183
services:
112184
entityresolution: {ListSchemaMappings}
113185
entityresolution_GetSchemaMapping:
@@ -120,6 +192,14 @@ entityresolution_GetSchemaMapping:
120192
- description:
121193
snippet_tags:
122194
- entityres.java2_get_schema_mapping.main
195+
JavaScript:
196+
versions:
197+
- sdk_version: 3
198+
github: javascriptv3/example_code/entityresolution
199+
excerpts:
200+
- description:
201+
snippet_tags:
202+
- entity-resolution.JavaScriptv3.get.schema-mapping
123203
services:
124204
entityresolution: {GetSchemaMapping}
125205
entityresolution_CreateSchemaMapping:
@@ -132,6 +212,14 @@ entityresolution_CreateSchemaMapping:
132212
- description:
133213
snippet_tags:
134214
- entityres.java2_create_schema.main
215+
JavaScript:
216+
versions:
217+
- sdk_version: 3
218+
github: javascriptv3/example_code/entityresolution
219+
excerpts:
220+
- description:
221+
snippet_tags:
222+
- entity-resolution.JavaScriptv3.create-schema-mapping
135223
services:
136224
entityresolution: {CreateSchemaMapping}
137225
entityresolution_Scenario:
@@ -158,5 +246,14 @@ entityresolution_Scenario:
158246
- description: A wrapper class for &ERlong; SDK methods.
159247
snippet_tags:
160248
- entityres.java2_actions.main
249+
JavaScript:
250+
versions:
251+
- sdk_version: 2
252+
github: javav2/example_code/entityresolution
253+
sdkguide:
254+
excerpts:
255+
- description: Run an interactive scenario demonstrating &ERlong; features.
256+
snippet_tags:
257+
- entity-resolution.JavaScriptv3.scenario.basics
161258
services:
162259
entityresolution: {}

0 commit comments

Comments
 (0)