Checkpoint: File edits

Automatic checkpoint created by Claude Code
- Branch: v3
- Timestamp: 2026-01-07T04:25:01Z
- Changes: 1 file(s)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rUvandClaude Opus 4.5 committed 2026-01-07 04:25:01 +00:00
1 parent c5a7c1d120
commit 248aa48a34
1 file changed
+6 -3
+6 -3
View File
@@ -302,18 +302,21 @@ npx claude-flow@v3alpha worker results --limit 10
| Provider | Models | Dimensions | Latency | Cost |
|----------|--------|------------|---------|------|
| **Agentic-Flow** | ONNX SIMD optimized | 384 | ~3ms | Free (local) |
| **OpenAI** | text-embedding-3-small/large, ada-002 | 1536-3072 | ~50-100ms | $0.02-0.13/1M tokens |
| **Transformers.js** | all-MiniLM-L6-v2, all-mpnet-base-v2, bge-small | 384-768 | ~20-50ms | Free (local) |
| **Transformers.js** | all-MiniLM-L6-v2, all-mpnet-base-v2, bge-small | 384-768 | ~230ms | Free (local) |
| **Mock** | Deterministic hash-based | Configurable | <1ms | Free |
### Embedding Features
| Feature | Description | Performance |
|---------|-------------|-------------|
| **Auto-Install** | `provider: 'auto'` installs agentic-flow automatically | Zero config |
| **Smart Fallback** | agentic-flow → transformers → mock chain | Always works |
| **75x Faster** | Agentic-flow ONNX vs Transformers.js | 3ms vs 230ms |
| **LRU Caching** | Intelligent cache with hit rate tracking | <1ms cache hits |
| **Batch Processing** | Efficient batch embedding with partial cache | 10 items <500ms |
| **Batch Processing** | Efficient batch embedding with partial cache | 10 items <100ms |
| **Similarity Functions** | Cosine, Euclidean, Dot product | Optimized math |
| **Event System** | Observable operations with listeners | Real-time monitoring |
### Consensus Strategies (`@claude-flow/swarm`)