**chore(scripts): add utility scripts and demo for database checks, CLI handling, and model bundling**
- Added `check-database.js`: - Utility script to check database health and statistics, including nouns, verbs, and sample query results. - Includes test item addition for cases with no data. - Added `cli-wrapper.js`: - Wrapper script ensuring proper argument passing and CLI script availability. - Handles version flag, force flag addition, and automatic CLI building in local development contexts. - Added `demo-optional-model-bundling.js`: - Demonstration script showcasing optional model bundling benefits for reliability and offline support in embedding workflows. - Includes examples of compression, package structures, and use-case comparisons. **Purpose**: Introduce utility and demonstration scripts
This commit is contained in:
parent
e476d45fac
commit
90eccd75aa
9 changed files with 867 additions and 2 deletions
|
|
@ -6,8 +6,8 @@
|
|||
import {describe, expect, it} from 'vitest'
|
||||
import {execSync} from 'child_process'
|
||||
|
||||
const CURRENT_UNPACKED_SIZE_MB = 11.1
|
||||
const CURRENT_PACKED_SIZE_MB = 2.5
|
||||
const CURRENT_UNPACKED_SIZE_MB = 12.6
|
||||
const CURRENT_PACKED_SIZE_MB = 2.3
|
||||
const ALLOWED_SIZE_INCREASE_PERCENTAGE = 5 // 5% increase threshold
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue