View Single Post
Old 01-13-2025, 04:22 AM   #11
Mino101
Member
Mino101 can extract oil from cheeseMino101 can extract oil from cheeseMino101 can extract oil from cheeseMino101 can extract oil from cheeseMino101 can extract oil from cheeseMino101 can extract oil from cheeseMino101 can extract oil from cheeseMino101 can extract oil from cheese
 
Posts: 15
Karma: 1028
Join Date: Jan 2025
Device: Kindle Basic 11th Gen
Quote:
Originally Posted by cdhigh View Post
Given the Kindle's limited CPU and RAM, writing comprehensive Java code directly is recommended over calling Python scripts.
If you can successfully hack the Wikipedia page to customize its GUI (at least with an input textbox and an output textbox and a pop-up keyboard), implementing simple Java functions to connect to an AI server should be relatively straightforward.
The SimpleAiProvider class in my Inkwell project already wrap the APIs of several AI services into a unified interface, making the Java conversion process even easier.
Or writing only an OpenAI API is enough.


-
I want to refrain from embedding the AI code in the patched jars, because the APIs change frequently and it wouldn't be convenient to update the patches in the kindle everytime, that's why I want to redirect the calls to a custom server and do all the work there. It would be much easier to maintain and more customizable.
Mino101 is offline   Reply With Quote