Skip to content

Fix MCQ API answer-format prompt - #152

Open
sylvesterkaczmarek wants to merge 1 commit into
openai:mainfrom
sylvesterkaczmarek:fix-mcq-api-answer-format-prompt
Open

Fix MCQ API answer-format prompt#152
sylvesterkaczmarek wants to merge 1 commit into
openai:mainfrom
sylvesterkaczmarek:fix-mcq-api-answer-format-prompt

Conversation

@sylvesterkaczmarek

Copy link
Copy Markdown

Summary

  • expand the actual answer labels in OpenAIAPIMCQSolver prompt instructions
  • make the required final-line format conditional on allow_multiple_choices
  • preserve the existing response parser and grading behavior

For single-answer questions, the prompt now requests Answer: $LETTER using one of the actual labels. For multi-answer questions, it requests Answer: $LETTER1, $LETTER2, ... using the available labels.

This is intentionally scoped to prompt construction. The separate multi-answer result-preservation work in #120 remains independent.

Fixes #123.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MCQ API prompt suppresses multi-answer responses and leaves answer_choices unexpanded

1 participant