compose_xingce_answer_prompt
Composes a structured answer prompt with strict constraints, output schema, and safety contract to guide LLM-in-the-loop answering for exam questions. Supports module hints and section context.
Instructions
Compose a conservative answer prompt for LLM-in-the-loop answering. Supports module_hint / section_context to guide routing by exam section context. Returns answer_prompt with strict constraints, output schema, and safety contract. Does not answer questions, call external LLM, or select options.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| options | No | ||
| module_hint | No | ||
| strict_mode | No | ||
| allow_answer | No | ||
| image_present | No | ||
| material_text | No | ||
| question_text | Yes | ||
| table_present | No | ||
| section_context | No | ||
| material_present | No | ||
| visual_description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||