Platform / Vector Search & Retrieval
Retrieval with citations, in one declaration.
Every Maestra app includes a managed retrieval pipeline: extraction, chunking, embedding, hybrid search, and reranking behind a single declaration, returning answers with the passages they came from. Builders point it at documents. The platform does the rest.
The whole pipeline, managed
Retrieval pipeline
Sources
PDFs
Docs
Tickets
extract
Index
01Chunk
02Embed
03Store
hybrid search
Answer
Reranked passages
Citations
One declaration
export const Policies = collection("policies", {
sources: [drive("/HR/Policies")],
search: "hybrid",
rerank: true,
});
const hits = await Policies.ask("How much parental leave?");
Hybrid search, reranked
Keyword and semantic search run together, so exact terms and loose phrasing both find the right passage. A reranker then orders results by how well they actually answer the question.
Results · “How much parental leave?”
The guarantees
- Cited
- Every answer carries the passages it came from.
- Scoped
- Search respects the caller’s role; people only retrieve what they can read.
- Fresh
- Indexes update automatically when sources change.
Start building on Maestra.
Everything you just read is standard in every app, running from the first deploy.
Start building →← Back to the Platform