@adonis-agora/agent
Version:
Governed, durable-backed AI agent (chat + tool-calling + governance) for AdonisJS — part of the Agora ecosystem.
11 lines • 688 B
JavaScript
/**
* Retrieval seam for RAG. A `Retriever` is a black box — the agent loop asks it for the passages most
* relevant to a query and never sees how (vector search, keyword, hybrid, a remote service). This
* package ships an {@link import('../rag/embedding-retriever.js').EmbeddingRetriever} (embed + vector
* store) built via the `retrievers` factory namespace, but any impl satisfying this SPI works. Wired
* on the config's `retriever` it drives always-on ("inject") retrieval: the loop retrieves once for
* the user message and folds the passages into the system prompt. Mirrors the reference `Retriever`
* contract exactly.
*/
export {};
//# sourceMappingURL=retriever.js.map