My wife wrote an online novel about a woman somehow transported to Wuxia era China, in the persona of a man.
Last year I did a website that was kind of intro to the book, it’s premise and characters and a link to Wattpad where people can read books in whatever formats.
Earlier this year I asked her to provide a synopsis of each chapter - the conflicts and such. And made a page where the user could select (optionally) a character, level of reply “Teenager”, “Adult”, “Elderly” as well as a tone of reply, “Optimistic”, “Analytical”, “Skeptical” as well as a select whether to look at the concatenated synopsis at all.
I currently have it wired to use Gemini and Mistral - both free at least at current levels of use.
I’ve not read the book, yet can pose questions about certain characters “What will happen if?”, “Are they really evil?” and using the synopsis alone it gives coherent replies.
In either case where the user selects “reply to me like I am a optimistic teenager”, “skeptical Elderly” whatever, it does a really good act of replying and often even furthering the mystery with answers basically tailored.
If you turn off “Use synopsis” you can ask it if Balrog’s fly, and each variation of the kind of input modifies a pretty coherent and reasoned reply.
I implement the latter by tacking onto the “prompt” (the synopsis) “Reply to me like I am an optimistic teenager”
I suppose - and am planning to - give it the text of the book. On the free AI/LLM platforms I’m using that may not be a go without paying. Yet how does Gemini, for instance, know anything about Balrogs? I asked it (without synopsis) if Balrogs could fly, it replied, something like when Gandalf shouts, “You may not pass” and the Balrog doesn’t just fly over him that Balrogs are mainly terrestrial.
Are these AI/LLM’s just doing fancy googling? Is it possible their knowledge base on All Things Tolkien is coming from some sort of storage/memory?
In my case, would making my wife’s entire book part of the “prompts” enhance the replies (which are as I said already pretty good).