File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
apps/docs/content/docs/concepts Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change @@ -35,11 +35,6 @@ The macro will infer the following fields from the function:
3535arguements should implement the ` schemars::JsonSchema ` trait or be natively supported by the ` schemars ` crate.
3636- ** execute** : The function itself. The body will be executed when the AI model calls the tool.
3737
38-
39-
40-
41-
42-
4338A tool has 4 components:
4439
4540- ** name** : It is used to identify the tool in the AI model. Make sure it is unique and describes
@@ -88,15 +83,6 @@ let my_tool = Tool::builder()
8883 . unwrap ();
8984```
9085
91-
92-
93-
94-
95-
96-
97-
98-
99-
10086## Registering the tool
10187
10288To register the tool with the AI model, you need to add it to text generation builders using the ` with_tool ` method. This
You can’t perform that action at this time.
0 commit comments