mirror of
https://gitlab.rlp.net/proj-wise2526-video2document/video2document.git
synced 2026-06-15 18:01:52 +02:00
Refactor document generation to output HTML format and update system instructions for clarity
This commit is contained in:
@@ -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++
|
||||
|
||||
Reference in New Issue
Block a user