Skip to main content

Crate aisdk_macros

Crate aisdk_macros 

Source
Expand description

Macros for the aisdk library.

Attribute Macrosยง

tool
Constructs a tool from a function defnition. A tool has a name, a description, an input and a body. all three components are infered from a standard rust function. The name is the defined name of the function, The description is infered from the doc comments of the function, The input infered from the function arguments.