Allow multiple source CSV files for normalisation. Implement real model node. Add normalizarion prompt. Implement normalization setup. Start on RAG retreival functions
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import fs from "fs";
|
||||
|
||||
export function hydratePrompt(path: string, replacement: string) {
|
||||
// TODO: expand into full context-based replacement engine
|
||||
|
||||
let raw = fs.readFileSync("prompts/" + path, "utf-8");
|
||||
|
||||
return raw.replace("###", replacement)
|
||||
}
|
||||
Reference in New Issue
Block a user