![]() |
#1 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
|
[GUI Plugin] * PROPOSED * AI Book Summary
So as not to further clutter the "Plugin Ideas" thread, I've created this thread to discuss the proposed AI Book Summary plugin.
To summarise:
Answers to some previous questions:
For discussion:
Last edited by Bradles; 06-03-2023 at 07:25 PM. |
![]() |
![]() |
![]() |
#2 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
|
Sample Content
Tagline: One Ring to rule them all.
Summary: The Fellowship of the Ring is the first book in J. R. R. Tolkien's epic fantasy series, The Lord of the Rings. It tells the story of Frodo Baggins, a hobbit who inherits a powerful and dangerous ring from his uncle, Bilbo. The ring, created by the dark lord Sauron, has the power to control all other rings and enslave the world. Frodo sets out on a perilous journey with a small group of companions, known as the Fellowship, to destroy the ring in the fires of Mount Doom, where it was forged. Along the way, they encounter treacherous enemies, unexpected allies, and face immense challenges that test their courage and loyalty. The fate of Middle-earth rests on their success or failure. I use the ai-generated "Tagline" and any calibre tags to generate the cover, as the cover generation API is limited to 400 characters. Did I mention that cover generation is underwhelming? |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 234
Karma: 3232318
Join Date: Sep 2009
Device: Sony PRS-300, PRS-T1, PRS-T3
|
Quote:
I've had...I guess I could say, useful results generating cover images from official publisher blurbs (though usually wordsmithed a bit to keep within word count limitations) combined with a contextual request ("image suitable for a book cover for a mass-market airport-style paperback edition", etc.) Any generated text is of course, slightly less than meaningful. I'm also excited by the approached prototyped in the Kindlefusion project to generate textual illustrations from a selected snippet of text. I've done the same kind of cut-and-paste manually in order to visualize scenes from what I was reading. This could be automated, but you'd need some mechanism to evaluate which textual passages might be meaningful ones to illustrate. (Mobileread discussion of the same) @mikhail_fil: You might also want to take a look at Google's Talk To Books to see if that provides anything relevant to your use case. It's basically a more conversational-style shell over the text search function from Google Books. |
|
![]() |
![]() |
![]() |
#4 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 234
Karma: 3232318
Join Date: Sep 2009
Device: Sony PRS-300, PRS-T1, PRS-T3
|
Bing Create (DALL-E) based upon the following:
Quote:
|
|
![]() |
![]() |
![]() |
#5 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
|
New gpt-4-turbo and DALL-E 3 Results
I've had some good results after updating the plug-in to the latest versions of OpenAI's tools. Here's a summary and cover for Weyward by Emilia Hart.
Quote:
(Image cropped and resized for web. Original size is 1024 x 1792.) Last edited by Bradles; 11-17-2023 at 07:09 PM. Reason: Violated guidelines |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
|
The plugin isn't shared by-the-way, just thought you might be interested.
Also, the image cost 12c (US) to generate ![]() Last edited by Bradles; 11-17-2023 at 07:05 PM. Reason: $ |
![]() |
![]() |
![]() |
#7 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20,805
Karma: 27405122
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
#8 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 238
Karma: 100000
Join Date: Oct 2012
Device: Calibre
|
Quote:
I'm interested in a related, possible "deep search" plugin that utilizes the full-text index/database for AI-informed searching (or summarizing). |
|
![]() |
![]() |
![]() |
#9 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
|
Well, that was 12 months ago; practically a generation in AI development.
My feeling is that calibre forum users have no interest in AI. Actively despise it you might say. I haven't pursued the idea any further. (Thanks for the referral though, BR ![]() Having said that, why use the full-text index? It would more likely confuse the AI. Just send the whole book if the AI can handle it. There are several LLMs that can handle 100,000+ words, even over a million. The issue will be cost though. OpenAI GPT-4o, for example, has 128k token context (about 100,000 words): Input: USD 5.00 / 1M tokens (about 750,000 words) Output: USD 15.00 / 1M tokens It'll add up quickly! |
![]() |
![]() |
![]() |
#10 |
the rook, bossing Never.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,188
Karma: 89201339
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Did I mention such a plug-in would use an immoral amount of environment resources, be based on plagiarism or be inaccurate?
It's a lie. |
![]() |
![]() |
![]() |
#11 |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
|
|
![]() |
![]() |
![]() |
#12 |
the rook, bossing Never.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,188
Karma: 89201339
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
The claims about LLM / AI by large corporations are lies, hype and misdirection.
|
![]() |
![]() |
![]() |
#13 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Jun 2024
Device: Kindle Paper White
|
I am assuming that if you can log the API key then you get access to the person's account. Why not make the login info required each time and it is not saved so that way you do not have access? Or force the user to use an authenticator like duo mobile. If my assumption is incorrect, then sorry, and please disregard this post.
|
![]() |
![]() |
![]() |
#14 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 77
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
|
Quote:
The API key doesn't give access to the account, but it does allow use of the account, i.e. expense would be incurred. The way I designed my solution, and the way most APIs work, the API key is required for every call to the backend LLM. So the plugin would call my API, and my API would call the backend LLM, passing along the API key. Anyway, it's a moot point, as I won't release this plugin due to lack of interest. |
|
![]() |
![]() |
![]() |
Tags |
chatgpt, llm, plugin |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Scroll Book Details | Bradles | Plugins | 13 | 01-08-2024 10:32 PM |
[GUI Plugin] Author Book Count Hierarchy | DaltonST | Plugins | 60 | 04-15-2023 02:38 PM |
[GUI Plugin] Author Book Count | DaltonST | Plugins | 55 | 10-20-2022 11:59 AM |
How to get the uuid of the book in the code of the gui plugin? | esvorontsov | Development | 3 | 09-29-2015 11:15 AM |
[GUI Plugin] Book Sync **Deprecated** | kiwidude | Plugins | 111 | 06-07-2011 07:47 PM |