fix: update all imports and references from BrainyData to Brainy
- Fixed imports in examples/tests/ to use correct Brainy import - Fixed imports in tests/benchmarks/ to use correct paths - Updated bin/brainy-interactive.js to use Brainy instead of BrainyData - Corrected documentation references throughout codebase - Removed duplicate imports in benchmark files - All files now consistently use 'Brainy' class from dist/index.js
This commit is contained in:
parent
791fac54cd
commit
196690863d
77 changed files with 328 additions and 331 deletions
|
|
@ -1,13 +1,13 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
import { BrainyData } from './dist/index.js'
|
||||
import { Brainy } from './dist/index.js'
|
||||
|
||||
console.log('🧠 Testing Refactored API Architecture')
|
||||
console.log('search(q) = find({like: q})')
|
||||
console.log('find(q) = NLP processing → complex TripleQuery')
|
||||
console.log('=' + '='.repeat(50))
|
||||
|
||||
const brain = new BrainyData({
|
||||
const brain = new Brainy({
|
||||
storage: { type: 'memory' },
|
||||
verbose: false
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue