Skip to main content

Crate cetai_macros

Crate cetai_macros 

Source
Expand description

Procedural macros for the cetai crate: the #[ai] attribute and the prompt! expression macro. See the repository PLAN.md for the design baseline this crate implements.

Macros§

prompt
Builds an AI prompt expression returning a future of cetai::Result<T>.

Attribute Macros§

ai
Marks an async fn whose whole body is a single prompt! call.