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
This example shows you how to 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.
Copy file name to clipboardExpand all lines: rustv1/examples/bedrock-runtime/README.md
+20-1Lines changed: 20 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,13 @@ For prerequisites, see the [README](../../README.md#Prerequisites) in the `rustv
28
28
29
29
<!--custom.prerequisites.start-->
30
30
<!--custom.prerequisites.end-->
31
+
### Scenarios
32
+
33
+
Code examples that show you how to accomplish a specific task by calling multiple
34
+
functions within the same service.
35
+
36
+
-[Tool use with the Converse API](src/bin/tool-use.rs)
37
+
31
38
### Anthropic Claude
32
39
33
40
-[Converse](src/bin/converse.rs#L43)
@@ -48,6 +55,18 @@ For prerequisites, see the [README](../../README.md#Prerequisites) in the `rustv
48
55
49
56
50
57
58
+
#### Tool use with the Converse API
59
+
60
+
This example shows you how to 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.
0 commit comments