**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:
parent
b8be0b109c
commit
1bc1f08c4e
3 changed files with 62 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue