Refactor document generation to output HTML format and update system instructions for clarity

This commit is contained in:
MikeHughes-BIN
2025-12-15 13:53:14 +01:00
parent 1e38cc79f4
commit ec57411992
4 changed files with 93 additions and 33 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ electron.ipcMain.on("file_submit", async (event, args) => {
// TODO implement documentation module
// This code handles the Text to Document processing module call
for (let i = 0; i < args.document.styles.length; i++) {
await mapFunctions.get("module-handler").function(args.document.module, {prompt: args.document.styles[i].prompt, transcript: transcriptpath}).then(resp => {
await mapFunctions.get("module-handler").function(args.document.module, {inputTranscriptPath: transcriptpath, documentTypePath: "./storage/documentType/standard_meeting_report.txt", language: "en"}).then(resp => { // TODO add language handling from frontend
console.log(resp);
transcriptpath = resp
curstep++