Expand description
Hybrid query — combines semantic search, graph expansion, and episode search.
Pipeline:
- Semantic phase: HNSW KNN with
limit * 2to gather candidates - Graph phase: 1-hop expansion from top-N results, scored as
parent_score * 0.5 - Merge + deduplicate by entity ID, keeping highest score
- Episode search (optional) — separate KNN on episodes
Functions§
- pipeline_
entities - Get all pipeline entities for a given stage, optionally filtered by status.
- pipeline_
flow - Trace the lineage of a pipeline entity through relationship chains.
- pipeline_
stats - Get pipeline stats: counts by (stage, status), stale entities.
- query
- Run a hybrid query: semantic search + graph expansion + optional episode search.