Re: ai4vb - Ai integration
So, one way to add AI to your app is to build it right in like the above example.
Another way to do it is to make your app externally scriptable so AI can access it.
For this mechanism to work users would have to be running a local AI agent such as claude code, and have the scripting interface of what methods they could call published for the AI to study. The scripting part can be pulled off using the Running Object Table (ROT) and leveraging vb6's native design where almost everything is a COM object by default. The AI then just executes a series of vbs script using GetObject() and figures out on its own how to answer the users question.
If you search the forums you will find ROT examples: https://www.vbforums.com/showthread.php?879529
Re: ai4vb - Ai integration
I added another class for local ollama access. I was using qwen3:30b, it did ok on the task1, but it didnt handle multiple tasks in one request well. You would have to break up multiple tasks in individual requests I think. It was able to navigate the js object model though. the ollama class also breaks the universal interface a little bit with: ip, model, thinking properties. The qwen model I used does not support vision so I didnt update the image example.
also added a class for gemini, and a new example for a multi-agent chatroom where they can all debate.
still learning it all but its interesting.