06-03-2023, 08:08 PM | #1 |
Connoisseur
Posts: 80
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 08:25 PM. |
06-03-2023, 09:02 PM | #2 |
Connoisseur
Posts: 80
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 | |
|
06-03-2023, 09:10 PM | #3 | |
Addict
Posts: 238
Karma: 3500000
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. |
|
06-03-2023, 09:33 PM | #4 | |
Addict
Posts: 238
Karma: 3500000
Join Date: Sep 2009
Device: Sony PRS-300, PRS-T1, PRS-T3
|
Bing Create (DALL-E) based upon the following:
Quote:
|
|
11-17-2023, 08:00 PM | #5 | |
Connoisseur
Posts: 80
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 08:09 PM. Reason: Violated guidelines |
|
Advert | |
|
11-17-2023, 08:03 PM | #6 |
Connoisseur
Posts: 80
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 08:05 PM. Reason: $ |
11-17-2023, 08:06 PM | #7 |
null operator (he/him)
Posts: 20,998
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
06-19-2024, 08:58 PM | #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). |
|
06-19-2024, 11:00 PM | #9 |
Connoisseur
Posts: 80
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! |
06-20-2024, 03:01 PM | #10 |
the rook, bossing Never.
Posts: 12,359
Karma: 92073397
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. |
06-20-2024, 08:15 PM | #11 |
Connoisseur
Posts: 80
Karma: 26914
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
|
|
06-21-2024, 05:37 AM | #12 |
the rook, bossing Never.
Posts: 12,359
Karma: 92073397
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.
|
06-29-2024, 02:42 AM | #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.
|
06-30-2024, 11:16 PM | #14 | |
Connoisseur
Posts: 80
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 |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Scroll Book Details | Bradles | Plugins | 13 | 01-08-2024 11:32 PM |
[GUI Plugin] Author Book Count Hierarchy | DaltonST | Plugins | 60 | 04-15-2023 03:38 PM |
[GUI Plugin] Author Book Count | DaltonST | Plugins | 55 | 10-20-2022 12:59 PM |
How to get the uuid of the book in the code of the gui plugin? | esvorontsov | Development | 3 | 09-29-2015 12:15 PM |
[GUI Plugin] Book Sync **Deprecated** | kiwidude | Plugins | 111 | 06-07-2011 08:47 PM |