compose_xingce_answer_prompt
Generates a structured answer prompt for civil service exam questions, enforcing strict output schema and safety constraints based on module 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 |
|---|---|---|---|
| question_text | Yes | ||
| options | No | ||
| module_hint | No | ||
| section_context | No | ||
| image_present | No | ||
| strict_mode | No | ||
| allow_answer | No | ||
| visual_description | No | ||
| material_present | No | ||
| material_text | No | ||
| table_present | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||