The idea behind this project is simple: I wanted to explore how a classic technology like the Sinclair QL could connect with modern and currently trendy advances. It's not a serious or complex development, it's just another fun way to celebrate another birthday of our beloved QL and at the same time take a look at current technologies.
Unfortunately, the hardware of the QL platform does not have enough computing power or the low-level software to deal with a protocol like https, so we have no choice but to adapt to what we have: RS232, some memory, and the versatility of SuperBASIC. I wrote the program trying to keep it simple and accessible. I've carried out the development and demos with the Q68, but it works on a QL with Super GoldCard and 'should' work on a QL with Jose Leandro's QubIDE clone or a TrumpCard.
Initially, the program on the QL isn't particularly elaborate, it basically takes care of asking the user for a prompt and obtaining the AI's response through RS232 communication with another host program on the PC, which acts as an intermediary doing the 'heavy and boring' work (that's the trick, or the catch... as you might interpret it...
The best thing is to see a couple of videos of QChatAI in action. (In the first video, the dialogue with the AI is in Spanish with some sequences in English. In the second video, the dialogue is in English).
https://www.youtube.com/watch?v=IOdQb8ByeDU
https://www.youtube.com/watch?v=QU41TJwOKsM
This development is just a small tribute to our Sinclair QL and a way to keep the passion for a platform that has been active for over 40 years alive.
QL is 40, QL forever!