NEW

New University Course: SurrealDB for AI Engineers

Start the course

1/3

RECALL

Recall you can trust

Routed. Four tiers, the cheapest path that can answer taken first, and a fallback that widens the search.
Ranked. Seven signals, from semantic similarity and keywords to graph and geospatial, fused by one ranker.
Traced. Per-signal scores are recorded on the trace, so any ranking can be inspected afterwards.

01 |HYBRID RETRIEVAL

The cheapest path that can answer. Escalating only when it must.

A repeated question whose facts have not changed reuses the earlier answer. Otherwise hybrid retrieval ranks candidates, and a fallback widens the search when that is not enough.

Natural language query
Embed the query
gemini-embedding-2
Lexical search
passages, entity names, facts
BM25
Vector search
passages, turns, audio, images
HNSW · COSINE
Graph expansion
entity → relates_to → entity
1 TO 2 HOPS FROM SEEDS
memories + facts

02 |WHAT YOU GET

Seven signals, one ranker. Every score is recorded on the trace.

03 |THE ROUTER

Four tiers, cheapest first. Each query takes the cheapest path that can answer.

Tier 1

Structured seed reads

Reads over typed facts seed the ranking. They feed the ranker and are never the final answer on their own.

Tier 2

Response cache, invalidated by entity

A repeated chat question whose facts have not changed reuses the earlier answer. A cached answer is never reused once a fact it cited is superseded.

Tier 3

Hybrid retrieval

The seven signals are fused by one ranker: semantic similarity with keyword matching, graph relationships and the history of what proved useful.

Tier 4

Escalated fallback

When hybrid retrieval is not enough, the fallback uses HyDE and a doubled candidate pool.

GET STARTED

Give your agents recall they can trust. Four tiers, seven signals and a trace for every ranking, on one SurrealDB engine.

ISO 27001
AICPA SOC 2 Type 2
Cyber Essentials
GDPR
Cyber Essentials Plus