hard20 pts · first answer countsstructured-outputchain-of-thought
Strict JSON hurt accuracy
After moving a classifier to strict JSON with the schema {"label": ..., "reasoning": ...}, accuracy dropped. Free-text answers that reasoned first were better. What is a likely fix?
Discussion 0
Join free to post in the discussion.
Related questions
- Prefilling the responsePrompt Engineer
- Chain-of-thought promptingPrompt Engineer
- JSON that sometimes breaksPrompt Engineer
- Handling invalid model outputPrompt Engineer
- Sampling several answersPrompt Engineer
- Parsing an answer after reasoningPrompt Engineer
- Invented values in extractionPrompt Engineer
- Forced into the wrong labelPrompt Engineer