Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

Checkpoint: File edits

rUve0113f28a7d5
diff --git a/v3/@claude-flow/guidance/src/retriever.ts b/v3/@claude-flow/guidance/src/retriever.ts
index 06ea8adf38..4c30fe4ded 100644
--- a/v3/@claude-flow/guidance/src/retriever.ts
+++ b/v3/@claude-flow/guidance/src/retriever.ts
@@ -87,7 +87,16 @@ export interface IEmbeddingProvider {
}
/**
- * Simple hash-based embedding fallback (for testing without ONNX)
+ * Deterministic hash-based embedding provider — **test-only**.
+ *
+ * Produces fixed-dimension vectors from a simple character-hash → sin()
+ * transform. The resulting embeddings have no real semantic meaning;
+ * they are stable and fast, which makes them useful for unit/integration
+ * tests that need a concrete {@link IEmbeddingProvider} without loading
+ * an ONNX model.
+ *
+ * **Do NOT use in production** — replace with a real model-backed
+ * provider (e.g. the agentic-flow ONNX integration).
*/
export class HashEmbeddingProvider implements IEmbeddingProvider {
private dimensions: number;