You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
prompt=f"Write a detailed chapter for a book about {topic} in {language}. This is around word {current_word_count} of the book. Start with a chapter title, then write at least 500 words of content."
54
+
prompt=f"Write a detailed chapter for a book about {topic} in {language}. This is around word {current_word_count} of the book. Start with a chapter title, then write at least {current_word_count} words of content."
55
55
else:
56
-
prompt=f"Continue writing a detailed book about {topic} in {language}. This is around word {current_word_count} of the book. Write at least 500 words, ensuring the narrative flows smoothly from the previous section."
56
+
prompt=f"Continue writing a detailed book about {topic} in {language}. This is around word {current_word_count} of the book. Write at least {current_word_count} words, ensuring the narrative flows smoothly from the previous section."
{"role": "system", "content": f"You are an author writing a detailed book in {language}. Provide long, comprehensive responses with at least 500 words per chunk."},
81
+
{"role": "system", "content": f"You are an author writing a detailed book in {language}. Provide long, comprehensive responses with at least {current_word_count} words per chunk."},
additional_prompt=f"Continue the previous text, adding more details and expanding the narrative. Write at least {500-len(generated_text.split())} more words."
95
+
additional_prompt=f"Continue the previous text, adding more details and expanding the narrative. Write at least {current_word_count} more words."
0 commit comments