impl_rag_entity_auto

Macro impl_rag_entity_auto 

Source
macro_rules! impl_rag_entity_auto {
    ($struct_name:ident, $entity_type:expr, $id_field:ident) => { ... };
}
Expand description

Helper macro to implement RagEntity with automatic flattening

This macro uses serde_json to automatically flatten your struct, which is useful for rapid prototyping or complex nested structures.