**chore(brainy-models): add version configuration and MIT license**

- Added `.versionrc.json` to define conventional release configurations for `brainy-models-package`:
  - Configured tag prefix as `brainy-models-v`.
  - Defined custom commit message format and section mapping for release notes.
- Added `LICENSE` file with MIT license for legal clarity.
- Updated `README.md`:
  - Adjusted internal NPM script names to use underscore prefix for consistency (`_release:patch`, `_github-release`).

**Purpose**: Establish standardized versioning, licensing, and script conventions for the `brainy-models-package` to improve maintainability and alignment with project standards.
This commit is contained in:
David Snelling 2025-08-01 16:59:31 -07:00
parent c8247adcaf
commit 109f9bf1f5
3 changed files with 62 additions and 3 deletions

View file

@ -734,7 +734,7 @@ const vector = await db.embed("Some text to convert to a vector")
// Calculate similarity between two texts or vectors
const similarity = await db.calculateSimilarity(
"Cats are furry pets",
"Cats are furry pets",
"Felines make good companions"
)
console.log(`Similarity score: ${similarity}`) // Higher value means more similar
@ -1681,10 +1681,10 @@ If you need more control over the release process, you can use the individual co
```bash
# Update version and generate changelog
npm run release:patch # or release:minor, release:major
npm run _release:patch # or _release:minor, _release:major
# Create GitHub release
npm run github-release
npm run _github-release
# Publish to NPM
npm publish