hard20 pts · first answer countsprompt-engineeringprefill
Prefill that ends with a space
You prefill the assistant turn with "Answer: " (with a trailing space) and the Claude Messages API rejects the request. Why?
Discussion 0
Join free to post in the discussion.
Related questions
- Prefilling the responsePrompt Engineer
- What top_p controlsPrompt Engineer
- What a stop sequence doesPrompt Engineer
- Reply ends mid-sentencePrompt Engineer
- Estimating tokens from wordsPrompt Engineer
- Letting the model say it does not knowPrompt Engineer
- Asking for a precise lengthPrompt Engineer
- The model gets the date wrongPrompt Engineer