code clean up pass
This commit is contained in:
@@ -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
|
||||
};
|
||||
@@ -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,
|
||||
};
|
||||
Reference in New Issue
Block a user