code clean up pass

This commit is contained in:
Storme-bit
2026-04-26 05:19:31 -07:00
parent acda21317b
commit 785047a824
8 changed files with 26 additions and 31 deletions

View File

@@ -74,6 +74,12 @@ const SUMMARIES = {
MAX_SUMMARY_TOKENS: 800, //if existing summary exceeds this, create new instead of update
MIN_EPISODES_SINCE: 5, // don't resummarize until N new episodes since last summary
}
const ENTITIES = {
TEMPERATURE: 0.1,
NUM_PREDICT: 1024,
}
module.exports = {
QDRANT,
COLLECTIONS,
@@ -85,5 +91,6 @@ module.exports = {
INFERENCE_DEFAULTS,
SQLITE,
ORCHESTRATION,
SUMMARIES
SUMMARIES,
ENTITIES
};

View File

@@ -1,5 +1,5 @@
const {getEnv} = require('./config/env');
const {QDRANT, COLLECTIONS, EPISODIC, SERVICES, OLLAMA, PORTS, LLAMACPP, INFERENCE_DEFAULTS, SQLITE, ORCHESTRATION, SUMMARIES } = require('./config/constants');
const {QDRANT, COLLECTIONS, EPISODIC, SERVICES, OLLAMA, PORTS, LLAMACPP, INFERENCE_DEFAULTS, SQLITE, ORCHESTRATION, SUMMARIES, ENTITIES } = require('./config/constants');
const {parseRow, formatEpisodeText} = require('./utils')
module.exports = {
@@ -17,4 +17,5 @@ module.exports = {
parseRow,
formatEpisodeText,
SUMMARIES,
ENTITIES,
};