feat: implement zero-config system with Node.js 22 compatibility
- Add comprehensive zero-config preset system (production, development, minimal) - Implement intelligent auto-configuration for models and storage - Add Node.js version enforcement for ONNX Runtime stability - Force single-threaded ONNX operations to prevent V8 HandleScope crashes - Create extensible configuration architecture - Add 14 distributed system presets for enterprise deployments - Include detailed documentation and migration guides BREAKING CHANGE: Now requires Node.js 22.x LTS for optimal stability
This commit is contained in:
parent
4d60384755
commit
5f862bad98
20 changed files with 3718 additions and 71 deletions
|
|
@ -28,8 +28,8 @@ async function precomputeEmbeddings() {
|
|||
|
||||
// Initialize Brainy with minimal config
|
||||
const brain = new BrainyData({
|
||||
storage: { forceMemoryStorage: true },
|
||||
logging: { verbose: false }
|
||||
storage: 'memory',
|
||||
verbose: false
|
||||
})
|
||||
|
||||
await brain.init()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue