API Reference macula_rag v#0.4.0
View SourceModules
Federated retrieval over the Macula mesh: ask every shard of an org, merge the answers.
The macula_rag application. It starts unconfigured; macula_rag:configure/3 binds it to a pool.
The wire contract every shard of an org speaks. Pure.
The RAG service contract's corpus identity: which corpus answered, and who vouches for it. Pure. guides/rag_service_contract.md is the canonical text, and test/vectors carries its frozen vectors.
What the org's shards hold: the summaries they publish, this node's own included.
One federated query: ask every shard of the org whose embedding matches, in parallel, and merge the answers by score.
This node's shard answering the org's queries.
Supervises the shard's two servers: the directory of the org's summaries, and the responder that answers for this node.