Back to Ruflo

Embeddings

plugins/ruflo-agentdb/commands/embeddings.md

3.6.30993 B
Original Source

Embedding engine commands:

  1. Call mcp__claude-flow__embeddings_status to check the ONNX embedding engine.
  2. Show: model (all-MiniLM-L6-v2), dimensions (384), HNSW index status, cache hit rate.
  3. If not initialized, suggest calling mcp__claude-flow__embeddings_init.
  4. For search, use mcp__claude-flow__embeddings_search with the user's query (namespace-filtered).
  5. For large-corpus search with memory pressure, use the RaBitQ quantized path (32× memory reduction):
    • mcp__claude-flow__embeddings_rabitq_build (one-time, after corpus is loaded)
    • mcp__claude-flow__embeddings_rabitq_search (Hamming-prefilter to top-N candidates)
    • mcp__claude-flow__embeddings_rabitq_status for index health
  6. For hierarchical data (taxonomies, code trees), use mcp__claude-flow__embeddings_hyperbolic (Poincare ball model).
  7. The substrate-level entry point mcp__claude-flow__embeddings_neural exists; in normal use it's covered by embeddings_init + embeddings_generate.