easy5 pts · first answer countsprompt-engineeringsampling-parameters
Reply ends mid-sentence
A product description generator sometimes returns text that stops in the middle of a sentence. The response metadata shows stop_reason = "max_tokens". What is the most likely fix?
Discussion 0
Join free to post in the discussion.
Related questions
- Raising the temperaturePrompt Engineer
- What top-p controlsPrompt Engineer
- Temperature 0 still variesPrompt Engineer
- What top_p controlsPrompt Engineer
- What a stop sequence doesPrompt Engineer
- Estimating tokens from wordsPrompt Engineer
- Letting the model say it does not knowPrompt Engineer
- Asking for a precise lengthPrompt Engineer