emit_assignment_prompt
Generates the LLM prompt for assigning papers to proposed sub-topics during the topic build flow.
Instructions
Build the topic-build Phase 2 (sub-topic assignment) LLM prompt.
Part of the multi-phase topic build flow: Phase 1 proposes
sub-topics for a cluster; Phase 2 (this tool) emits the prompt
that asks an LLM to assign each paper to one of those
sub-topics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cluster_slug | Yes | the cluster being organised. | |
| subtopics | Yes | list of dicts matching ``research_hub.topic.SubtopicProposal`` — i.e. ``{"slug": str, "title": str, "description": str}`` (``description`` optional, defaults to ``""``). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||