You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
synopsis: "build a typical interaction between an application, a generative AI model, and connected tools or APIs to mediate interactions between the AI and the outside world. It uses the example of connecting an external weather API to the AI model so it can provide real-time weather information based on user input."
190
186
category: Scenarios
191
187
languages:
188
+
Java:
189
+
versions:
190
+
- sdk_version: 2
191
+
github: javav2/example_code/bedrock-runtime
192
+
excerpts:
193
+
- description: "The primary execution of the scenario flow. This scenario orchestrates the conversation between the user, the &BR; Converse API, and a weather tool."
194
+
snippet_tags:
195
+
- bedrock.converseTool.javav2.scenario
196
+
- description: "The weather tool used by the demo. This file defines the tool specification and implements the logic to retrieve weather data using from the Open-Meteo API."
197
+
genai: some
198
+
snippet_tags:
199
+
- bedrock.converseTool.javav2.weathertool
200
+
- description: "The Converse API action with a tool configuration."
- description: "The primary execution of the scenario flow. This scenario orchestrates the conversation between the user, the &BR; Converse API, and a weather tool."
synopsis: "build a typical interaction between an application, a generative AI model, and connected tools or APIs to mediate interactions between the AI and the outside world. It uses the example of connecting an external weather API to the AI model so it can provide real-time weather information based on user input."
1476
1498
category: Amazon Nova
1477
1499
languages:
1500
+
Java:
1501
+
versions:
1502
+
- sdk_version: 2
1503
+
github: javav2/example_code/bedrock-runtime
1504
+
excerpts:
1505
+
- description: "The primary execution of the scenario flow. This scenario orchestrates the conversation between the user, the &BR; Converse API, and a weather tool."
1506
+
snippet_tags:
1507
+
- bedrock.converseTool.javav2.scenario
1508
+
- description: "The weather tool used by the demo. This file defines the tool specification and implements the logic to retrieve weather data using from the Open-Meteo API."
1509
+
genai: some
1510
+
snippet_tags:
1511
+
- bedrock.converseTool.javav2.weathertool
1512
+
- description: "The Converse API action with a tool configuration."
- description: "The primary execution of the scenario flow. This scenario orchestrates the conversation between the user, the &BR; Converse API, and a weather tool."
0 commit comments