chore: rename to @soulcraftlabs/brainy for Open Brainy on The Source
Prepares the repo for its new home at soulcraftlabs/open-brainy ahead of the Forgejo transfer: package name, publish registry, release script, and every install/import reference across docs, src, tests, examples, and integrations now point at @soulcraftlabs/brainy on The Source. The npmjs storefront leg and byte-identity pair verification are stripped from the release script — The Source is now the only publish target. README gains an Open Brainy explainer and a registry note for consumers. @soulcraft/brainy 10.4.2 was the last release under the old name.
This commit is contained in:
parent
1f34fc6ce4
commit
a99b1e83c4
74 changed files with 230 additions and 284 deletions
|
|
@ -24,7 +24,7 @@ Brainy's neural extraction system uses a **4-signal ensemble architecture** to c
|
|||
### Method 1: Brain Instance (Recommended)
|
||||
|
||||
```typescript
|
||||
import { Brainy, NounType } from '@soulcraft/brainy'
|
||||
import { Brainy, NounType } from '@soulcraftlabs/brainy'
|
||||
|
||||
const brain = new Brainy()
|
||||
await brain.init()
|
||||
|
|
@ -62,9 +62,9 @@ const people = await brain.extractEntities('...', {
|
|||
import {
|
||||
SmartExtractor,
|
||||
SmartRelationshipExtractor
|
||||
} from '@soulcraft/brainy'
|
||||
} from '@soulcraftlabs/brainy'
|
||||
// Or use subpath imports:
|
||||
import { SmartExtractor } from '@soulcraft/brainy/neural/SmartExtractor'
|
||||
import { SmartExtractor } from '@soulcraftlabs/brainy/neural/SmartExtractor'
|
||||
|
||||
const brain = new Brainy()
|
||||
await brain.init()
|
||||
|
|
@ -176,7 +176,7 @@ const withVectors = await brain.extractEntities(text, {
|
|||
**Direct entity type classifier.** Use when you have pre-detected candidates or need custom configuration.
|
||||
|
||||
```typescript
|
||||
import { SmartExtractor, FormatContext } from '@soulcraft/brainy'
|
||||
import { SmartExtractor, FormatContext } from '@soulcraftlabs/brainy'
|
||||
|
||||
const extractor = new SmartExtractor(brain, {
|
||||
minConfidence: 0.7, // Threshold
|
||||
|
|
@ -229,7 +229,7 @@ interface ExtractionResult {
|
|||
**Relationship type classifier.** Determines verb/relationship types between entities.
|
||||
|
||||
```typescript
|
||||
import { SmartRelationshipExtractor } from '@soulcraft/brainy'
|
||||
import { SmartRelationshipExtractor } from '@soulcraftlabs/brainy'
|
||||
|
||||
const relExtractor = new SmartRelationshipExtractor(brain, {
|
||||
minConfidence: 0.6,
|
||||
|
|
@ -286,7 +286,7 @@ const rel = await relExtractor.infer(
|
|||
**Full extraction orchestrator.** Handles candidate detection, classification, and deduplication.
|
||||
|
||||
```typescript
|
||||
import { NeuralEntityExtractor } from '@soulcraft/brainy'
|
||||
import { NeuralEntityExtractor } from '@soulcraftlabs/brainy'
|
||||
|
||||
const extractor = new NeuralEntityExtractor(brain)
|
||||
|
||||
|
|
@ -607,7 +607,7 @@ const locations = entities.filter(e => e.type === NounType.Location)
|
|||
### Example 2: Excel Data Classification
|
||||
|
||||
```typescript
|
||||
import { SmartExtractor } from '@soulcraft/brainy'
|
||||
import { SmartExtractor } from '@soulcraftlabs/brainy'
|
||||
|
||||
const extractor = new SmartExtractor(brain)
|
||||
|
||||
|
|
@ -629,7 +629,7 @@ for (let i = 0; i < cells.length; i++) {
|
|||
### Example 3: Relationship Extraction
|
||||
|
||||
```typescript
|
||||
import { SmartRelationshipExtractor } from '@soulcraft/brainy'
|
||||
import { SmartRelationshipExtractor } from '@soulcraftlabs/brainy'
|
||||
|
||||
const relExtractor = new SmartRelationshipExtractor(brain)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue