@aituber-onair/manneri
Version:
A lightweight conversation pattern detection library to prevent repetitive AI responses
28 lines • 748 B
JavaScript
export const DEFAULT_MANNERI_CONFIG = {
similarityThreshold: 0.75,
repetitionLimit: 3,
lookbackWindow: 10,
interventionCooldown: 300000,
minMessageLength: 10,
excludeKeywords: [
'はい',
'そうですね',
'そうです',
'いいえ',
'yes',
'no',
'ok',
'okay',
],
enableTopicTracking: true,
enableKeywordAnalysis: true,
debugMode: false,
enableAiPromptGeneration: false,
aiPromptGenerationProvider: 'default',
aiPromptGenerationModel: undefined,
language: 'ja',
customPrompts: undefined,
};
// Re-export utility functions
export { getPromptTemplate, overridePrompts } from './prompts.js';
//# sourceMappingURL=index.js.map