There are known knowns; there are things we know we know. We also know there are known unknowns; that is to say we know there are some things we do not know. But there are also unknown unknowns – the ones we don’t know we don’t know. — Donald Rumsfeld
Trust, but verify. — Ronald Reagan
Neither Reagan nor Rumsfeld was speaking of AI, but both statements should be always in your mind when you begin to make use of AI. In particular, the growth of AI has been so very explosive that there are many reasons to doubt the results obtained.
In particular, there has been an explosive increase in online content generated by AI. And that raises concerns about AI being trained on AI generated output. At best, this is positive feedback, and likely results in a narrowing of results, as it reinforces itself. But add in the problem of hallucinations — false answers made up in place of admitting defeat — and how then shall we devise solutions in AI which can reject the hallucinatory “data”?
Setting aside the issues we can’t control, Delphi has been adding support for accessing AI from the IDE. To connect to a particular engine requires an API key from the AI provider, which entails subscribing to the provider’s system, for a fee.
However, there is also the RAD AI Companion, a web-based tool accessible from the IDE Help menu. This may be a worthy starting point. I have not yet explored it very deeply, but made a request involving Delphi versions — an admittedly messy realm — and got unsatisfactory results. It may well be very useful in less thorny areas.
Exploring in GetItNow, I found the following entries for AI components:
- Deepseek
- Delphi AI Developer (using both the OpenAI API, Gemini API, and Groq API)
- Delphi YOLO ONNX
- Gemini
- GenAI (OpenAI)
- GroqCloud (models from Meta, OpenAI, MistralAI and Google)
- SmartCore AI (various)
- Stability.ai
In my previous article, I wrote about Grok, which is unrelated to Groqcloud. The support available in Delphi for Grok, which is the only engine I would consider subscribing to at present, appears to be the Delphi AI Developer, as Grok reports its API is compatible with OpenAI. As soon as I am able to complete a few of the items on my current list, I will explore that option.
The area of AI is huge, and even with respect to Delphi, there is much to explore and to test. The bottom line, however, is that AI can suggest, but developers must test.