feat: Brainy 3.0 - Triple Intelligence Release
BREAKING CHANGE: New unified API for vector, graph, and document search
Major Changes:
- NEW: brain.add() replaces brain.addNoun()
- NEW: brain.find() replaces brain.search()
- NEW: brain.relate() replaces brain.addVerb()
- NEW: brain.update() replaces brain.updateNoun()
- NEW: brain.delete() replaces brain.deleteNoun()
Features:
- Triple Intelligence™ engine (vector + graph + document)
- 31 NounTypes × 40 VerbTypes for universal knowledge modeling
- Zero-config parameter validation
- Enhanced augmentation system (cache, display, metrics)
- <10ms search performance with HNSW indexing
- Full TypeScript type safety
Infrastructure:
- Comprehensive test suites for find() and neural APIs
- Fixed neural API internal calls (getNoun → get)
- Updated README with accurate 3.0 examples
- ESLint v9 configuration
- Structured logging framework
🧠 Generated with Brainy 3.0
Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
7eaf5a9252
commit
ce2bc76648
19 changed files with 4927 additions and 163 deletions
|
|
@ -26,8 +26,8 @@ export function generateTestId(prefix = 'test'): string {
|
|||
return `${prefix}_${uuidv4().slice(0, 8)}_${Date.now()}`
|
||||
}
|
||||
|
||||
// Generate test vector (realistic 1536-dimensional vector like OpenAI)
|
||||
export function generateTestVector(dimension = 1536): Vector {
|
||||
// Generate test vector (384-dimensional vector matching all-MiniLM-L6-v2)
|
||||
export function generateTestVector(dimension = 384): Vector {
|
||||
// Generate a deterministic but varied embedding
|
||||
const vector = new Array(dimension)
|
||||
for (let i = 0; i < dimension; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue