Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 06-04-2025, 08:57 PM   #1
mitsie
Member
mitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 15
Karma: 12814
Join Date: Jun 2025
Device: PocketBook 4
Smile A.I Metadata Plugin

*****

Last edited by mitsie; 06-13-2025 at 05:40 PM.
mitsie is offline   Reply With Quote
Old 06-05-2025, 07:28 AM   #2
mitsie
Member
mitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 15
Karma: 12814
Join Date: Jun 2025
Device: PocketBook 4
*****

Last edited by mitsie; 06-13-2025 at 05:40 PM.
mitsie is offline   Reply With Quote
Advert
Old 06-05-2025, 09:26 AM   #3
fogice
Addict
fogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Timefogice possesses cleverness exceeding the boundaries of Space and Time
 
Posts: 253
Karma: 49504
Join Date: May 2014
Device: Kobo Libra 2
Can you show an example of the summary created for some well-known fiction books? Like The Hobbit or something? I wonder how well it would avoid spoilers.

Last edited by fogice; 06-05-2025 at 09:32 AM.
fogice is offline   Reply With Quote
Old 06-05-2025, 09:28 AM   #4
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,207
Karma: 1419197
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Keep in mind that Metadata Source plugins cannot access custom columns. It would have to be a GUI plugin.
thiago.eec is online now   Reply With Quote
Old 06-05-2025, 09:47 AM   #5
mitsie
Member
mitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 15
Karma: 12814
Join Date: Jun 2025
Device: PocketBook 4
Quote:
Originally Posted by thiago.eec View Post
Keep in mind that Metadata Source plugins cannot access custom columns. It would have to be a GUI plugin.
Metadata Source plugins can't access the eBook file source path either, which is required to send to the LLM, but I've managed to achieve it
mitsie is offline   Reply With Quote
Advert
Old 06-05-2025, 09:56 AM   #6
mitsie
Member
mitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 15
Karma: 12814
Join Date: Jun 2025
Device: PocketBook 4
Quote:
Originally Posted by fogice View Post
Can you show an example of the summary created for some well-known fiction books? Like The Hobbit or something? I wonder how well it would avoid spoilers.
Yes, I can provide an example. But the information you will receive will depend on which A.I. model you choose to do the summarising.

https://huggingface.co/models?pipeli...=summarization

for example, if you install and use a model specifically trained to summarise fiction books without providing spoilers, you will get a better result than using a Generic A.I model that will probably include spoilers.

for instance, this model is great for summarising fiction and Chapters:
https://huggingface.co/emozilla/mpt-7b-storysummarizer
mitsie is offline   Reply With Quote
Old 06-05-2025, 10:09 AM   #7
mitsie
Member
mitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 15
Karma: 12814
Join Date: Jun 2025
Device: PocketBook 4
Quote:
Originally Posted by fogice View Post
Can you show an example of the summary created for some well-known fiction books? Like The Hobbit or something? I wonder how well it would avoid spoilers.
That has actually given me an Idea, because you can switch the Model on the fly, it might be worth allowing the user in the settings to set specific models for different genres e.g.

Fiction = Model: mpt-7b-storysummarizer
Non-Fiction = Model: DistilBART-CNN-12-6
mitsie is offline   Reply With Quote
Old 06-05-2025, 10:39 AM   #8
mitsie
Member
mitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 15
Karma: 12814
Join Date: Jun 2025
Device: PocketBook 4
Quote:
Originally Posted by fogice View Post
Can you show an example of the summary created for some well-known fiction books? Like The Hobbit or something? I wonder how well it would avoid spoilers.
Summary from a generic A.I model: Google's Gemma 3 - 12B

The Hobbit tells the story of a comfortable, home-loving hobbit named Bilbo Baggins who finds himself swept up in an unexpected adventure. He joins a company of dwarves on a quest for treasure, facing perilous encounters and challenges along the way. It’s a tale of high adventure, good fellowship, and a journey that transforms the protagonist in surprising ways.

You can prompt engineer though, to provide a more detailed, longer or shorter summary that you require. e.g. if I ask for a longer summary:

The Hobbit recounts the unexpected journey of Bilbo Baggins, a contented hobbit who lives a quiet life in his cozy hobbit-hole. His peaceful existence is disrupted when he’s unexpectedly invited to join a company of dwarves on a grand quest. This quest promises excitement and danger, pulling Bilbo far beyond the familiar comforts of his home and into a world filled with unknown perils and potential rewards.

The story follows Bilbo and the dwarves as they navigate a landscape brimming with challenges, relying on courage, wit, and the strength of their bonds to overcome obstacles. It’s a tale of adventure, exploration, and the discovery of hidden strengths within oneself, all set against a backdrop of fantastical creatures and ancient lore.
mitsie is offline   Reply With Quote
Old 06-05-2025, 11:11 AM   #9
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,207
Karma: 1419197
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by mitsie View Post
Metadata Source plugins can't access the eBook file source path either, which is required to send to the LLM, but I've managed to achieve it
All good, then.
thiago.eec is online now   Reply With Quote
Old 06-07-2025, 06:45 PM   #10
mitsie
Member
mitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentametermitsie can solve quadratic equations while standing on his or her head reciting poetry in iambic pentameter
 
Posts: 15
Karma: 12814
Join Date: Jun 2025
Device: PocketBook 4
Quote:
Originally Posted by thiago.eec View Post
All good, then.
Ive got the plugin working as expected for the Additional Custom Tags and circumventing the restrictions by just updating the DB with SQL3, which works fine for my personal uses. I can update the files on the fly using the AI with the exact data I want to extract from the book, and everything works great.
No using regex or anything that is hit and miss if the regex doesn't match.. the AI is smart and understands context, so it retrieves the right information.

So if I wanted to do 2000 books at once, I would just set it running and come back, and it's all complete. Restart Calibre, and it retrieves all the Custom Tag updates from the database into its cache.

But if I want to release that feature, so it's user-friendly. I'd probably be better bundling that feature into a custom UI plugin, as you say.
mitsie is offline   Reply With Quote
Old 06-08-2025, 09:25 PM   #11
Bradles
Zealot
Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.Bradles turned on, tuned in, and dropped out.
 
Bradles's Avatar
 
Posts: 105
Karma: 35586
Join Date: Nov 2020
Location: Perth, Western Australia
Device: Apple Books & Kobo Libra H20
Quote:
Originally Posted by mitsie View Post
Summary from a generic A.I model: Google's Gemma 3 - 12B

"He joins a company of dwarves on a quest for treasure..."
Don't forget the wizard...

Last edited by Bradles; 06-09-2025 at 09:11 PM. Reason: Gandalf
Bradles is offline   Reply With Quote
Old 06-09-2025, 05:57 AM   #12
sheldonrrr
Junior Member
sheldonrrr can name that ebook in five wordssheldonrrr can name that ebook in five wordssheldonrrr can name that ebook in five wordssheldonrrr can name that ebook in five wordssheldonrrr can name that ebook in five wordssheldonrrr can name that ebook in five wordssheldonrrr can name that ebook in five wordssheldonrrr can name that ebook in five wordssheldonrrr can name that ebook in five wordssheldonrrr can name that ebook in five wordssheldonrrr can name that ebook in five words
 
Posts: 5
Karma: 37422
Join Date: Feb 2025
Device: KW2
Good work, now the limit is my hardware. :P
sheldonrrr is offline   Reply With Quote
Old 06-09-2025, 11:10 AM   #13
killo3967
Enthusiast
killo3967 began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Sep 2020
Device: Kindle Paperwhite
I think your idea is great, especially since I'm Spanish and I love a lot of metadata, which you can find in several places if you search for it.

And when do you plan to put it into production?
Do you plan to add a custom prompt?
killo3967 is offline   Reply With Quote
Old 06-09-2025, 12:04 PM   #14
Quoth
Still reading
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 13,837
Karma: 103895653
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper
This is stupid and a waste of the environment. You won't know without reading the book which AI generated stuff is garbage. Also it's "trained" on illegally obtained copyright works. The environmental cost is enormous and not sustainable.
Quoth is offline   Reply With Quote
Old 06-09-2025, 11:54 PM   #15
sheldonrrr
Junior Member
sheldonrrr can name that ebook in five wordssheldonrrr can name that ebook in five wordssheldonrrr can name that ebook in five wordssheldonrrr can name that ebook in five wordssheldonrrr can name that ebook in five wordssheldonrrr can name that ebook in five wordssheldonrrr can name that ebook in five wordssheldonrrr can name that ebook in five wordssheldonrrr can name that ebook in five wordssheldonrrr can name that ebook in five wordssheldonrrr can name that ebook in five words
 
Posts: 5
Karma: 37422
Join Date: Feb 2025
Device: KW2
Quote:
Originally Posted by Quoth View Post
This is stupid and a waste of the environment. You won't know without reading the book which AI generated stuff is garbage. Also it's "trained" on illegally obtained copyright works. The environmental cost is enormous and not sustainable.
I tend to think that at some stage, people are willing to invest more to accelerate their learning and understanding, but in some scenarios, in order to ensure a certain degree of privacy or other customized needs, the extra cost will be wasted. Perhaps in the future, there will be a smaller and more focused reading model to solve the problem of consumption costs.
sheldonrrr is offline   Reply With Quote
Reply

Tags
artificial intelligence, metadata source plugin

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Metadata Reader Plugin] Read MP3 audio book metadata Jesse Chisholm Plugins 59 04-01-2025 10:16 AM
[Metadata Reader Plugin] Read M4B audio book metadata eliteart Plugins 5 01-01-2025 09:45 AM
How do I know which Metadata Source Plugin was called from fetch-ebook-metadata? eryMpexI Library Management 6 04-22-2023 08:58 AM
[Metadata Source Plugin] Empty Plugin? (Fake Identifier) mneimeyer Plugins 3 11-11-2019 08:07 PM
Regarding using metadata objects in identify method of metadata download plugin api aprekates Development 1 07-06-2014 03:35 AM


All times are GMT -4. The time now is 08:02 AM.


MobileRead.com is a privately owned, operated and funded community.