Update document processing to use prompts from styles and add structured meeting report template

This commit is contained in:
MikeHughes-BIN
2025-12-15 14:00:26 +01:00
parent e72d03efbe
commit 789ecd3a31
+1 -1
View File
@@ -183,7 +183,7 @@ electron.ipcMain.on("file_submit", async (event, args) => {
// TODO implement documentation module // TODO implement documentation module
// This code handles the Text to Document processing module call // This code handles the Text to Document processing module call
for (let i = 0; i < args.document.styles.length; i++) { for (let i = 0; i < args.document.styles.length; i++) {
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 await mapFunctions.get("module-handler").function(args.document.module, {prompt: args.document.styles[i].prompt, transcript: transcriptpath}).then(resp => {
console.log(resp); console.log(resp);
transcriptpath = resp transcriptpath = resp
curstep++ curstep++