serdes-ai-macros
Procedural macros for serdes-ai (tool definitions, output schemas)
This crate provides procedural macros for SerdesAI:
#[derive(Output)]- Derive the Output trait with JSON schema generation#[derive(Tool)]- Derive tool implementations from functions- Schema generation utilities
Installation
[]
= "0.1"
Usage
Output Derive
use Output;
use ;
Tool Derive
use tool;
async
Part of SerdesAI
This crate is part of the SerdesAI workspace.
For most use cases, you should use the main serdes-ai crate which re-exports these macros.
License
MIT License - see LICENSE for details.