Extract gate columns from posting text with a Haiku ModelTask

roledesk job extract reads open, unanswered roles 20 to a call and fills
place, country, remote, seniority, salary, currency, function, permit and
languages, only into columns the board left empty. Schema v2 adds
roles.permit, roles.languages and roles.extract_tries. Off by default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Opus 5.5 committed 2026-09-23 12:05:30 +02:00
1 parent b44f78ca7e
commit 4dfb8831aa
12 files changed
+578 -14

No files matched your search

+5 -3
View File
@@ -19,11 +19,13 @@ DEFAULT_PATH = Path(os.environ.get("ROLEDESK_CONFIG", "roles.yaml"))
class ExtractConfig(ModelTaskConfig):
"""Turning a posting's title and text into the gate columns. Off until the
`extract` task exists; the section is here so the file's shape is settled."""
"""Turning a posting's title and text into the gate columns. See
roledesk/jobs/extract.py. Off by default, so nobody is billed by surprise:
on the API backend every batch is a paid call."""
enabled: bool = False
model: str = "claude-haiku-4-5"
model: str = "claude-haiku-4-5-20251001"
batch_size: int = Field(20, ge=1)
class Config(Section):