consolidation and aging
This commit is contained in:
@@ -120,6 +120,12 @@ const UTILITY = {
|
||||
TIMEOUT_MS: 120_000, // extraction previously used 60s; summaries had none — standardized
|
||||
};
|
||||
|
||||
const CONSOLIDATION = {
|
||||
MIN_AGE_DAYS: 7, // episodes younger than this are never consolidation candidates
|
||||
MIN_SESSION_EPISODES: 20, // sessions smaller than this are left entirely alone
|
||||
CANDIDATE_LIMIT: 50,
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
QDRANT,
|
||||
COLLECTIONS,
|
||||
@@ -135,4 +141,5 @@ module.exports = {
|
||||
ENTITIES,
|
||||
RETRIEVAL,
|
||||
UTILITY,
|
||||
CONSOLIDATION,
|
||||
};
|
||||
@@ -13,7 +13,8 @@ const {
|
||||
SUMMARIES,
|
||||
ENTITIES,
|
||||
RETRIEVAL,
|
||||
UTILITY
|
||||
UTILITY,
|
||||
CONSOLIDATION
|
||||
} = require('./config/constants');
|
||||
const {parseRow, formatEpisodeText, isTrivialTurn} = require('./utils')
|
||||
|
||||
@@ -40,5 +41,6 @@ module.exports = {
|
||||
logger,
|
||||
RETRIEVAL,
|
||||
UTILITY,
|
||||
CONSOLIDATION,
|
||||
utilityInference,
|
||||
};
|
||||
Reference in New Issue
Block a user