vllm.entrypoints.openai.decisions.slot_prompt
¶
The fixed prompt of slot-readout decision models, byte for byte as trained.
Functions:
-
render_state–Strings as they are (stripped with
strip), others as indented JSON. -
render_suffix–The question, its options under slot labels and the answer line.
render_state(value, strip=False)
¶
Strings as they are (stripped with strip), others as indented JSON.
Source code in vllm/entrypoints/openai/decisions/slot_prompt.py
render_suffix(type_name, instructions, criteria)
¶
The question, its options under slot labels and the answer line.