#Word counting

1 messages · Page 1 of 1 (latest)

woven drum
#

I've been trying for some time now to make chatgpt (Version 3) count the words of a text or write a text with X number of words, and this task seems to be really hard to accomplish for it. And it fails badly, for example, I just asked it to write a 900 words story and it gave me a text with roughly 400 words, when I ask for the word count, it says any number but the correct one

-Up until now, I've tried simply asking it to count the words in different formats, like: write something with 400 words or more, write something with at least 400 words, write something with 400> words.
-I thought that by making it count the words after it writes the text, it would be somehow more councious about it and give me a better result, but it doesn't (Example: write a story with at least 400 words, and tell me how many word the story has after you're done writing it)
-Of course, I tried asking for the word quantity multiple times in the same prompt. Doesn't make things any better.
-I recently came with a new idea, I made a definition of the word "word", taught it to chatgpt and asked it to use it for future reference. But it still fails to the task.
Word definition: "A word is a set of letters and/or numbers that is separated by spaces, punctuation marks, or special characters."

In this example, I asked it to give me a 900 words story in english (Even though the prompt is in spanish). It tells me the word count is 926 and the actual word count is 628. If I give chatgpt the same text it wrote for me, it says the word count is 438. So, there's no consistency anywhere.

Do you have any prompt or idea to make it work?