Enforce a character limit
Hey,
I need to get a response with less than 30 characters. When asking, I'm getting much more, responding with phrases like use less characters still produced no preferred results.
Can anyone give me some guidance.
Thanks
Posted Jan 9, 2023, 4:14 AM UTC
ChatGPT uses an algorithm that predicts what word comes next to type. Think about it as every time ChatGPT writes something it rereads everything that it has written so far then it writes a token (it is typically 4 characters per token) and then its memory is wiped and it rereads everything again before typing another token. So it may see "It's raining cats and" and create "It's raining cats and dogs". Due to the way in which this works, it can't actually think beforehand how much it wants to type because it can only type as it goes, and thus is inaccurate when you give it something like a word count. For example, tell it to give you a joke that is 10 words long and the joke will not be 10 words long 90% of the time due to this. You can't actually force it to type exactly at 30 characters unfortunately due to this.