feat: Complete 9 unified methods with CLI parity and triple-power search
- Add missing add-noun and add-verb CLI commands for full API parity - Update CLI documentation to showcase triple-power search capabilities - Add comprehensive type-safe augmentation management system - Verify search supports vector + metadata + graph traversal in one call - All 9 unified methods now available via both API and CLI - Complete documentation accuracy fixes and cleanup
This commit is contained in:
parent
4fdaa7e22c
commit
b01e3340f1
9 changed files with 461 additions and 83 deletions
|
|
@ -4,10 +4,10 @@ Get up and running with Brainy 1.0's unified API in just a few minutes!
|
|||
|
||||
## 🎉 What's New in 1.0?
|
||||
|
||||
Brainy 1.0 introduces the **unified API** - ONE way to do everything with just **8 core methods**:
|
||||
Brainy 1.0 introduces the **unified API** - ONE way to do everything with just **9 core methods**:
|
||||
|
||||
```javascript
|
||||
// 🎯 THE 8 UNIFIED METHODS:
|
||||
// 🎯 THE 9 UNIFIED METHODS:
|
||||
await brain.add("Smart data addition") // 1. Smart addition
|
||||
await brain.addNoun("John Doe", NounType.Person) // 2. Typed entities
|
||||
await brain.addVerb(id1, id2, VerbType.CreatedBy) // 3. Relationships
|
||||
|
|
@ -16,6 +16,7 @@ await brain.import(["data1", "data2"]) // 5. Bulk import
|
|||
await brain.update(id1, "Updated data") // 6. Smart updates
|
||||
await brain.delete(verb) // 7. Soft delete
|
||||
await brain.export({ format: 'json' }) // 8. Export data
|
||||
brain.augment(myAugmentation) // 9. Extend infinitely!
|
||||
```
|
||||
|
||||
## ⚡ The 2-Minute Setup
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue