fix: enable IntelligentVerbScoring by default as core functionality
- Change category from 'premium' to 'core' - this is essential relationship quality improvement - Enable by default (enabled: true) instead of disabled by default - Fix contradictory documentation that claimed "enabled by default" but implemented "disabled by default" - Update reference condition to handle new default behavior properly - Update comment from "Enhancement features" to "Core relationship quality features" This aligns the implementation with the documented intent and provides better relationship quality out of the box without requiring explicit configuration.
This commit is contained in:
parent
8eed9da831
commit
6565a33c8b
2 changed files with 6 additions and 6 deletions
|
|
@ -74,7 +74,7 @@ export class IntelligentVerbScoringAugmentation extends BaseAugmentation {
|
|||
priority = 10 // Enhancement feature - runs after core operations
|
||||
|
||||
// Augmentation metadata
|
||||
readonly category = 'premium' as const
|
||||
readonly category = 'core' as const
|
||||
readonly description = 'AI-powered intelligent scoring for relationship strength analysis'
|
||||
|
||||
private config: Required<VerbScoringConfig>
|
||||
|
|
|
|||
|
|
@ -447,7 +447,7 @@ export interface BrainyDataConfig {
|
|||
intelligentVerbScoring?: {
|
||||
/**
|
||||
* Whether to enable intelligent verb scoring
|
||||
* Default: false (off by default)
|
||||
* Default: true (enabled by default for better relationship quality)
|
||||
*/
|
||||
enabled?: boolean
|
||||
|
||||
|
|
@ -883,14 +883,14 @@ export class BrainyData<T = any> implements BrainyDataInterface<T> {
|
|||
maxSize: 1000
|
||||
}))
|
||||
|
||||
// Priority 10: Enhancement features
|
||||
// Priority 10: Core relationship quality features
|
||||
const intelligentVerbAugmentation = new IntelligentVerbScoringAugmentation(
|
||||
this.config.intelligentVerbScoring || { enabled: false }
|
||||
this.config.intelligentVerbScoring || { enabled: true }
|
||||
)
|
||||
this.augmentations.register(intelligentVerbAugmentation)
|
||||
|
||||
// Store reference if intelligent verb scoring is enabled
|
||||
if (this.config.intelligentVerbScoring?.enabled) {
|
||||
// Store reference if intelligent verb scoring is enabled (enabled by default)
|
||||
if (this.config.intelligentVerbScoring?.enabled !== false) {
|
||||
this.intelligentVerbScoring = intelligentVerbAugmentation.getScoring()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue