Site icon Embarcadero RAD Studio, Delphi, & C++Builder Blogs

Introducing the SmartCore AI Components Pack

smart 00

The new SmartCore AI Components Pack, available in GetIt for RAD Studio 13, introduce a new set of core AI components to Delphi and C++Builder.

Developers can integrate these AI components into both existing and new applications, addressing many popular AI use cases, such as providing support for in-product content creation like generating images and other media, adding in-product localization support for on-the-fly translation, delivering in-app smart insights and personalized recommendations for data analysis, or building an in-app chatbot to add interactivity to an existing application.

This is a modular component suite to simplify calling AI providers (OpenAI, Claude, Gemini, and Ollama are included) from Delphi and C++Builder applications.

Overview

The SmartCore AI Components feature is a building block and a foundation for the future. It’s a foundational architecture that our customers and third-party vendors can build on and extend to integrate with additional AI engines and UI controls.

The SmartCore AI package includes:

Notice that drivers can be extended by overriding virtual methods or creating new driver components. As mentioned, this is an open architecture, built to be enhanced by our customers, community members, and third-party components vendors to help keep pace with the ecosystem of rapidly evolving AI technologies.

Installation and Getting Started

Download the SmartCore AI Component Pack from GetIt to start using the AI connection component.

The following is a list of the components installed by the Smart AI Components pack:

A set of associated demos is going to be shortly available in the RAD Studio 13.0 Demo repository. Specifically, you can find the SmartCore AI Components demos at github.com/Embarcadero/RADStudio13Demos/tree/main/Object%20Pascal/SmartCoreAI. These are not part of the current 13.0 demos installation, but if you have installed the demos with the product, you can get an update them directly via git from within their installation folder in the normal way.

Once the package is installed, follow these steps to get started:

  1. Drop a TAIConnection, assign a driver, and assign one or more request components.
  2. Use the Connection Wizard to edit and test the parameters (double click on TAIConnection).
  3. Or manually configure params: API key, model, BaseURL, etc.
  4. At this point, you can start using any of the other components.

You can find more information in DocWiki at https://docwiki.embarcadero.com/RADStudio/en/SmartCore_AI_Component_Pack. The DocWiki page also includes a list of the demos and their scope. The remainder of this blog post will guide you step by step in building a first demo.

Visual Step-by-Step Guide To Build your First SmartCore AI Demo

[crayon-68d73addaf282322124446/]
[crayon-68d73addaf287195614664/]
[crayon-68d73addaf289257121188/]
[crayon-68d73addaf28a531483663/]

(Image generated by dall-e-3)

The SmartCore AI Components Makes Adding Powerful AI To Your Applications Easy

This is just the beginning of our journey to help you build AI applications with RAD Studio. The components are much more powerful than this blog post shows, and the demos we are shipping can get you help started with the capabilities of SmartCore AI. Beside text and images, the demos also demonstrate a third, very useful category of AI response you can achieve: JSON structured data.

Stay tuned for more blog post and webinars showing more of SmartCore AI Components Pack. But don’t wait – you can start experimenting today.

Exit mobile version