feat: add random graph generation and improve metadata vectorization
Introduced `generateRandomGraph` method to create randomized graphs with configurable entity counts and types, supporting automated testing and experimentation. Enhanced metadata vectorization logic to handle various metadata formats reliably, ensuring compatibility and fallback mechanisms during embedding. Updated `README.md` with detailed feature descriptions and usage guides.
This commit is contained in:
parent
93eb73f471
commit
e2f65c8146
8 changed files with 1373 additions and 278 deletions
|
|
@ -25,10 +25,13 @@
|
|||
"node": ">=18.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"prebuild": "node scripts/generate-version.js",
|
||||
"build": "tsc",
|
||||
"test": "jest",
|
||||
"start": "node dist/index.js",
|
||||
"cli": "node dist/cli.js",
|
||||
"cli": "node ./cli-wrapper.js",
|
||||
"cli:version": "node ./cli-wrapper.js --version",
|
||||
"cli:v": "node ./cli-wrapper.js -V",
|
||||
"version:patch": "npm version patch",
|
||||
"version:minor": "npm version minor",
|
||||
"version:major": "npm version major",
|
||||
|
|
@ -36,7 +39,7 @@
|
|||
"postinstall": "echo 'Note: If you encounter dependency conflicts with TensorFlow.js packages, please use: npm install --legacy-peer-deps'"
|
||||
},
|
||||
"bin": {
|
||||
"brainy": "dist/cli.js"
|
||||
"brainy": "cli-wrapper.js"
|
||||
},
|
||||
"keywords": [
|
||||
"vector-database",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue