Summarizer und weiters angepasst

This commit is contained in:
santa
2025-11-24 14:27:49 +01:00
parent 465fe8bd41
commit 2f5efee9c7
5 changed files with 151 additions and 8 deletions
@@ -7,6 +7,7 @@ if (!fs.existsSync(outputDir)) {
fs.mkdirSync(outputDir, { recursive: true });
}
//Speaker, ALL-Sentences, Start, End
module.exports = {
name: "summarize-transcription", // Unique name for our function that will later be used to get the function from the map via "mapFunctions.get("example").function()"
@@ -34,8 +35,7 @@ module.exports = {
return { error: "Invalid JSON" };
}
}
// console.log(inputJson);
console.log(outputDir);
const words = inputJson.words;
if (!Array.isArray(words)) {
return { error: "No words Array found" };