There are 75 characters in “The Best Soft Boiled Eggs Recipe: Tips and Tricks for Perfectly Cooked Eggs”, but ChatGPT keeps insisting on other numbers. What’s going on?
Do you know how I might be able to fix this? Is it possible to provide instructions to ChatGPT such that it figures out the right way to count characters?
The current generation of OpenAI GPTs do not count in the completion but the API does returns that info (as I recall OTTOMH).
Sorry to inform you @AiNewbie .
Note: I will confirm this for you when I am back at my desk.
I have asked AI to perform similar tasks via API and with succes. It may be, that ChatGPT is not so trained for this kind of stuff but more to provide humanlike responses.
Hi @AiNewbie
Just for you, I confirmed that the OpenAI completion API method returns the usage:
"usage":{
"prompt_tokens":8,
"completion_tokens":8,
"total_tokens":16}
}
Completion Response:
{
"id":"cmpl-6m19S7dblahblah1CskqR8VRqJjZj6r",
"object":"text_completion",
"created":1676902190,
"model":"text-davinci-003",
"choices":[
{ "text":"\n\nMy favorite color is blue.",
"index":0,
"logprobs":null,
"finish_reason":"stop"}
],
"usage":{
"prompt_tokens":8,
"completion_tokens":8,
"total_tokens":16}
}
Of course, this is not “characters” it is “tokens” so probably not useful, sorry.
Hope this helps.
I am facing the same issue. I tried in so many different ways to make it count characters and failed. Even created a separate chat with a prompt “Act as a word and character counter”. Failed. Failed. Failed.
There’s same issue for Chinese characters, I notice when I asking for a nickname