With all the craze around ChatGPT a good friend brought up an interesting question: how good could it be in recommending movies and could it be integrated in Media Hoarder - the media frontend?
I tried a few queries to ChatGPT:
- "Provide a list of oscar winning movies of 2020 and their IMDB IDs"
- "Provide a list of mind-bending movies and their IMDB IDs"
- "Provide a list of action movies where the protagonist is female and wields a shotgun and their IMDB IDs"
and ChatGPT's answers are quite spot on!
The next task was: How to integrate ChatGPT into Media Hoarder?
Media Hoarder runs on Electron which allows to fully control a browser window. So you can:
- open up a browser window and launch https://chat.openai.com
- ask the user to have ChatGPT also return IMDB IDs
- and continuously poll them from the DOM
All in all, a really nice feature, implemented without much effort.
Of course, as we all know, ChatGPT isn't always correct but very confident. So no answer it provides should be trusted 100%. But I think it's a great start in discovering movies. You can always go deeper with Media Hoarder's metadata and filtering abilities.
Media Hoarder Website: <https://media.hoarder.software>
Blog post "AI Recommendations with ChatGPT": <https://media.hoarder.software/blog/ai-recommendations-with-...>
GitHub project: <https://github.com/theMK2k/Media-Hoarder>
cheers
-- MK2k
A short video of the feature in action: https://youtu.be/EqiChgd2iuo