Skip to main content

Module fusion_params

Module fusion_params 

Source
Expand description

Shared parameter extraction for graph-vector fusion SQL surfaces.

Two syntaxes reach the same GraphOp::RagFusion executor today:

  • GRAPH RAG FUSION ON <col> QUERY ARRAY[...] ... (DSL form)
  • SEARCH <col> USING FUSION(ARRAY[...] ...) (wrapped form)

They use different keyword aliases for the same parameters (EXPANSION_DEPTH vs DEPTH, EDGE_LABEL vs LABEL, FINAL_TOP_K vs TOP). Both must extract the same typed bag so future fusion variants (hybrid text+vector, multi-vector, etc.) can share this code and cannot silently drop parameters the way substring-find parsing did.

Structs§

FusionKeywords
Keyword aliases for the shared fusion parameters.
FusionParams
Typed parameter bag for every graph-vector fusion SQL surface.

Constants§

RAG_FUSION_KEYWORDS
Keywords used by GRAPH RAG FUSION ON ....
SEARCH_FUSION_KEYWORDS
Keywords used by SEARCH ... USING FUSION(...).

Functions§

parse_search_using_fusion
Parse SEARCH <collection> USING FUSION(...) into its collection name and a typed FusionParams. Returns None when the SQL does not match the expected shape.