RISC OS User Guide AI Assistant released
Paolo Fabio Zaino (28) 1893 posts |
To everyone interested, I am delighted to announce that the first of four RISC OS AI Assistants, designed for beginners and those wanting to enjoy some new tech fun, is now available to everyone! 😊 Important Notes Before You Start Using the AI YES, PLEASE READ THEM ;) - The tools presented here are a type of Generative AI (GenAI), meaning they specialise in generating human-readable responses within the broader AI umbrella. - This specific AI assistant is designed to help with the RISC OS User Guide, which means it can: For Developers: - To have your application included quickly in the knowledge base, please email me with the application name, a brief description, a download link, and a list of features. Applications are being crawled, as this project is broader than just this assistant, so if you’re not in a hurry, rest assured your app’s details will be included. What’s This Project All About? While the tool announced today is an “instance” of a larger project, the overall initiative is a complex system designed to discover, process, and store information about RISC OS. The engine running on my servers collects data about RISC OS and uses it to generate a graph database (based on graph theory, if you’re familiar). The end result is a knowledge base that powers various tools. In this case, the engine generates and publishes a subset of information in the form of embeddings and RAG (retrieval-augmented generation) for OpenAI, enabling the service you’ll use to ask questions about RISC OS. How to Access the Tool To use the tool (still in alpha), you’ll need: 1) An account on OpenAI ChatGPT Once in, just ask questions and see how it goes. Important: Everytime you have a chat with the AI, check at the very bottom of the chat if you have a notification that says a new version is available. If so, click on that link to start a new chat if you wish to use the new and improved version. Each new version foundamentally provides better results to questions. OpenAI allows to have free accounts too. Browsers and Compatibility The service has been tested also on Linux, Windows, macOS and BSD. On Firefox, Chrome, Safari, and a few others. The service does NOT work in NetSurf. Please note: Given that chats can become quite heavy, I strongly recommend to use Linux, BSD, macOS or WIndows to access the service. Even in the cases when Iris work, it can get heavy pretty quickly. Also, Iris does not support the text-to-voice service and it doesn’t seems to work even with the text-to-image service. What’s Next? - We all know RISC OS documentation can be, well, a bit… imprecise (I’m learning the art of British understatement here), and the AI is in a similar state at the moment. But we’ll keep improving it, so no need for grumpiness! It already has more information than the Wiki on the ROOL’s site, so there’s that :) All right, enough wording, have fun and let me know if you have issues! Cheers |
Paolo Fabio Zaino (28) 1893 posts |
Guide for Beginner Users to Ask Questions Effectively To get the best experience using this assistant for RISC OS, here’s a step-by-step guide on how to ask questions:
- Basic Navigation: “How do I select multiple files on the desktop?”
- Be Direct: If you’re familiar with technical terms, use them to speed up the process. By following these guidelines, you’ll receive accurate, helpful answers tailored to your needs and experience level with RISC OS. Follow the same guidelines also in your own language if different than English. FOr example for Italian users, just ask questions straight in Italian (and obviously the same for other languages). |
Rick Murray (539) 13908 posts |
There, fixed that for you. ;)
This led me down a rabbit hole of transformation matrixes, and the explanation was “not bad”. However… I got a choice of two responses and I chose the second one (even though the first is possibly more intuitive to a RISC OS programmer) because it seems to want to shift everything 16 bits to the left. To rotate by 90 degrees and double the size, my matrix is either -131072 and 131072 or -2 and 2. Surely something has gone wrong here, or is this some weird quirk of maths? https://chatgpt.com/g/g-cDuJaLfS4-risc-os-user-guide/c/672cfb9a-384c-8009-a137-336902aa3408 That being said, it’s a nice explanation and splitting it into parts and then combining them like that does help to make it clearer. Going further… https://chatgpt.com/g/g-cDuJaLfS4-risc-os-user-guide/c/672cfe2c-c9dc-8009-92d8-b5cc6a4d4755 Not tried the code yet (writing this on Android), but again it’s good to be able to ask questions about little-understood things and get concise RISC OS relevant responses. 😺 |
Rick Murray (539) 13908 posts |
It explained what it meant to “flatten” a path (read that in the StrongHelp). And then it popped up a message saying:
It’s 19h here, so about four and a half hours. I point this out so if you want to try this, ask concise and direct questions as you only get ten (?) at time. Nothing to do with Paolo, it’s OpenAI’s free tier limitations. I’m just saying so you can get the important questions asked first. ;) |
Steve Pampling (1551) 8198 posts |
Cash OK, or card only at the bar? |
Paolo Fabio Zaino (28) 1893 posts |
XD
Rick, thank you very much for your feedback! And for the enthusiasm, seeing people having fun with the toys I make, makes all the effort worth! Sounds like I need to add more code examples using the Draw module, however I cannot say for certain given the two provided links where no longer available… In any case I’ll add more code examples during the weekend and we can see how it goes after. But it may also be that it needs a bit more info on how the module works underneath… |
Piers (3264) 58 posts |
You can usually edit your questions to ask totally different questions, and these don’t count towards the limit… I’m sure they’ll close that loophole, though. |
Rick Murray (539) 13908 posts |
Useful. There’s no persistence. Great job there, OpenAI… I’ll ask again (I’ll need to, given my memory!) and this time I’ll try to print to PDF. |
Steve Pampling (1551) 8198 posts |
Memory span of a goldfish? |
Dave Higton (1515) 3559 posts |
What’s a goldfish? |
Paolo Fabio Zaino (28) 1893 posts |
That was a fast success, we have more than 100 chats going on, that means quite a few people are having fun with the new toy! :) Thank you everyone and keep the feedback coming! |
Herbert zur Nedden (9470) 44 posts |
Nice one – any browser you can recommend to use this offer. NetSurf does not seem to like ChatGPT – oder apps that claim to be browsers but by current standards are at best HTML viewers I didn’t even try. Iris (Dec 2023 verison from ROD RISC OS Direct) reliably fails on the Cloudfare check that I am human – well, perhaps trying this with a RISC OS browser is kind-of inhuman :-) Am I doing something wrong, or is there currently no browser for RISC OS useable for ChatGPT thanks to Couldflare. |
Paolo Fabio Zaino (28) 1893 posts |
Hey Herbert :)
Correct. I have mentioned in the instructions that NetSurf doesn’t work with the service. NetSurf does not support dynamic layouts. So, even if it has JavaScript support, it will never work with any website or web app that uses those, and most web chats indeed have dynamic layouts. Hence, NetSurf and any other browsers for RISC OS before it are out of the question.
This, unfortunately, is a known issue, and there is little we can do about it. We’ll have to wait until everything merges into the newer SharedLibs (if ever).
This is something that likely changed recently. When I tested it about a year ago, it worked fine. In all honesty, I wouldn’t necessarily assume it’s a problem with Iris… I had a set of interviews last summer at Cloudflare. They were lovely people (really nice folks), but the technical level that emerged during the interview was pretty low, to be honest. A couple of interviewers even showed up without having prepared their interviews. In 8 interviews, only a single senior system engineer had his interview prepared, and the questions were okay. The others were very young (maybe at the beginning of their career?) and clearly improvising. I decided not to work for them pretty quickly.
I ran your very same test and got the same results, so I guess it no longer works (I’ll update my instructions).
I don’t think you’re doing anything wrong. Maybe you can try to report the issue to Cloudflare, I’m sure they’ll try to help. We could investigate what their JS is trying to check; it’s probably that the User Agent is reporting something their JS cannot verify, or their mouse tracking techniques may not work yet in Iris (yes, that type of captcha works by tracking how the mouse moves, and if it can’t get that information, it assumes we’re a robot). Unfortunately, Iris is still not open-sourced, so we can’t examine how the JS engine is actually working with RISC OS, hence I can’t really know what the actual problem is.
Yes, I am a Linux user, and my Linux laptop works really well. I also have macOS and Windows systems, and they work well too. For BSD lovers, the latest FreeBSD Desktop works even better than Linux and the others (but for BSD, you need a laptop/desktop that’s compatible). For those who want to use only ARM boards: Raspberry Pi 4 and 5 work fine with Linux for ARM, so no need to use x86. Firefox, Chrome, Safari, and Brave all work fine. For privacy enthusiasts, you can try TOR Browser, but Cloudflare will probably give you a hard time, so it’s worth adding a VPN service to change your TOR IP to something Cloudflare finds more acceptable. Or, you could use a proxy service like Smartproxy with Residential IPs. Rick (see above) seems to be using it fine on Android, and it obviously works on Apple iOS devices. For people like Julie, who recently expressed interest in using AI with a coding UI, there are plugins to access this service on VSCode (I haven’t tried them yet, though). If there are problems, please let me know, and I’ll create a dedicated plugin, not a big deal. Hope this provides plenty of options. As for RISC OS: - I would not recommend using RISC OS even if it did work, because the chat cache can get really large, and I doubt RISC OS software would handle storing a lot of metadata smoothly. - However, for the “RISC OS or die” crowd, don’t worry. I’m working on a client specifically designed to access the service directly from RISC OS, as browsers may also have issues with copy and paste, so we really need a dedicated client for RISC OS. HTH [update] After digging a bit more into CloudFlare checks, it clearly fails to complete the “challenge” sent to the browser. In theory that should not be happening (given the version of WebKit used in Iris), so probably there are some issues with the way JS engine is interecting with the OS. Maybe this is fixable on the Iris side. Certainly ROD should be interested in solving this, given that CloudFlare is a very popular service used to “secure” many popular servers (althought again, people should be careful adding these stuff in front of their servers, ’cause in this case CloudFLare is clearly unable to detect a real human using a relativelly recent WebKit based browser. [/update] |
Steve Pampling (1551) 8198 posts |
Last year, or early this – I don’t recall – Cloudflare were part of the problem our users were having getting to a totally clean site that was flagged as a malware source because it shared the same frontend resource at Cloudflare. After a bit of conversation, that got sorted, but the initial issue came from Cloudflare not properly monitoring what they are fronting. I did wonder about the tech know how, or lack of, and your interviews’ insight adds to that. |
Paolo Fabio Zaino (28) 1893 posts |
@ Rick and Others New update of the AI available, this update contains: - Plenty of updated information on DrawMod, big thanks to ROOL for (obviously) making available the sources, so I can actually write my documentation using those. The AI now should have all the details about the module, the techniques used in the module, and also some info to help people to enable debugging in the module to help with things that may still go wrong. As always, to have access to the update, if you have an open session, start a new chat, thank you! Thanks to everyone who has provided feedback! :) |
John Rickman (71) 649 posts |
Thanks Paulo, nice work. |
Paolo Fabio Zaino (28) 1893 posts |
@ John My pleasure, glad to see so many are having fun with the new toy :) To all New Assistant release published, this should add a lot of information about: - ZeroPain and how it works Enjoy the new version :) |
Paolo Fabio Zaino (28) 1893 posts |
To All interested Another day and another update: - Enabled more information about graphic techniques usable on a series of programs The AI search is still reasonably fast, so I hope to be able to add more info about sound too (and techniques) and obviously MIDI. This weekend maybe… Have fun! |