Improve semantic classification precision for BUG-015

This commit is contained in:
2026-08-09 16:15:35 +02:00
parent 0b24351127
commit fd7d5e1424
19 changed files with 464 additions and 15 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ EXTRACTION_CATEGORIES = (
NORMALIZED_CHUNK_RE = re.compile(r"^(chunk_\d+)_normalized\.txt$")
EXTRACTION_TASK_PROMPT_NAMES = ("decisions.md", "todos.md")
EXTRACTION_TASK_PROMPT_NAMES = ("classification.md",)
OUTPUT_SCHEMA = {
+1 -1
View File
@@ -38,7 +38,6 @@ def build_extraction_prompt(
prompt_parts = [
load_prompt("common.md", prompts_dir),
meeting_context,
*load_existing_prompts(task_prompt_names, prompts_dir),
f"""Quelldatei:
{source_name}
@@ -49,5 +48,6 @@ TRANSKRIPT:
--- BEGINN TRANSKRIPT ---
{transcript}
--- ENDE TRANSKRIPT ---""",
*load_existing_prompts(task_prompt_names, prompts_dir),
]
return "\n\n".join(part for part in prompt_parts if part).strip() + "\n"