mikavehns / BookGPT

Writes complete books with given paramters, using GPT-3.
MIT License
353 stars 66 forks source link

Word length of outputted novel is long if too many chapter x word count are selected #16

Open ericgrosse opened 1 year ago

ericgrosse commented 1 year ago

If you try to generate a novel with 33 chapters, each of which is 3333 words, the expected length should be around 1,099,989 words. The program in its current state outputs 8993 words.

I'm sure this is a ChatGPT restriction, or one placed internally in the source code, but more information should be outputted to the user to inform them of expected word length vs outputted word length, why it didn't generate as many words as it would like, and other useful information an end user might want to know. This is a partial feature request, I can do a pull request if you're willing to integrate the feature into the app.