Improve semantic classification precision for BUG-015
This commit is contained in:
@@ -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 = {
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user