4D Blog

Home Tag: 4d-aikit
Product
Fabrice Mainguené
Fabrice Mainguené

Transform Static Documents into Actionable Knowledge with AIKit

January 22, 2026

Large reports, contracts, or documentation files often contain more information than can be quickly processed. Wouldn’t it be nice if you could simply upload a document PDF from your 4D application and let AI help you summarize it, extract key data, or answer questions about its content?

Thanks to the new OpenAI.files class, this workflow is now very simple. You can seamlessly upload files and use AI to interact with their content in many ways.

Read more

1
Product
Mathieu Ferry
Mathieu Ferry
blank

Give AI to a 30 years old 4D application

December 3, 2025

In just a couple of years, Artificial Intelligence has gone from an emerging trend to an essential component of modern software. ChatGPT, Grok, Gemini, and other AI assistants now play a major role in everyone’s daily life, both professionally and personally.
That’s why 4D 21 introduces 4D.Vectors and 4D AI Kit: to give 4D developers simple, effective tools to add AI-powered features to their applications.
We’ve already shared many examples, tutorials, and webinars about AI, but I recently wondered: what would it take to bring AI into a 30-year-old 4D application?
Could you simply ask such an app for your top 10 customers and instantly get a nice chart back?

Well, guess what? It turned out to be so straightforward that it deserves its own blog post.

Read more

3
Product
Fabrice Mainguené
Fabrice Mainguené
blank

4D AIKit: Structured Outputs

October 16, 2025

When using AI in your application, you often need outputs that your code can parse, not just free-form text. Whether you’re generating data for a user interface, automating business logic, or orchestrating multi-step reasoning, predictable, machine-readable responses are essential.

That’s why 4D 21’s 4D AIKit introduces the new response_format attribute, letting you define the exact structure of the model’s output to ensure consistency, validation, and smooth integration into your app logic.

Read more

0
Product
Fabrice Mainguené
Fabrice Mainguené
blank

4D 21 and AI Kit: Redefining how applications Think and Act

October 14, 2025

With 4D 21, AI takes a giant leap forward. At the heart of this evolution is AI Kit’s tool calling, a massive addition that transforms the way you integrate AI into your applications.

Tool calling allows you to extend the model’s capabilities by registering your own methods or functions, which the AI can call automatically when relevant. This means that instead of manually handling every interaction, the chat helper automatically invokes your handlers, giving you both flexibility and control.

Read more

2
Tips
Vanessa Talbot
Vanessa Talbot
blank

Find the right spot in your 4D Write Pro document with AI

September 15, 2025

In 4D applications, large documents are commonplace: financial reports, internal guidelines, technical manuals… Searching for an exact keyword often isn’t enough. Scrolling through 30-page reports to find one paragraph is not only time-consuming but also error-prone. This is where AI can help.

The semantic approach based on vectors, introduced in 4D 20 R10, already makes it possible to find a relevant 4D Write Pro document even when different wordings are used (for example, “insert image” vs. “add picture”).

But what happens when a document spans multiple pages and covers various subtopics? Even if the entire text can be converted into a single vector, results are often better when we work at a finer scale. This is the idea behind chunking: splitting a document into coherent segments, each represented by its own vector.

This is precisely what allows us to go further: retrieving not only the right document, but also the exact passage that matches the search.

Read more

3
Product
Avatar
Basma El yaagoubi
Diagram showing how OpenAI’s embedding model converts user prompts into vector outputs, illustrating the transformation of text into numerical representations using text-embedding-ada-002.

Search by Meaning, Not Metadata: Semantic Image Filtering with 4D.Vector

September 8, 2025

Your users don’t think in filenames or folder hierarchies. They think in ideas.

  • “A robot painted in watercolor.”
  • “A sunny beach filled with color.”
  • “Something that feels like Mona Lisa… but from the future.”

It doesn’t matter if that idea comes from an image, a customer order, an email, or a 4D Write Pro document — the challenge is the same: how do you deliver results that match intent, not just keywords?

With 4D.Vector and 4D AI Kit, your application can finally make sense of meaning. In this post, we’ll illustrate it with semantic image similarity search. And here’s the key: we’re not really working with raw images at all — we’re working with their descriptions. The very same approach works for any kind of text data in your application.

Read more

4
Tips
Vanessa Talbot
Vanessa Talbot
blank

Intelligent 4D Write Pro document analysis with AI

September 2, 2025

In many business applications, users enter or receive unstructured text: customer feedback, internal notes, support tickets, reports, and more. This content represents valuable information, but it’s difficult to leverage without specific processing.

This is where artificial intelligence becomes a powerful tool: by automatically analyzing the written content of a 4D Write Pro document, it can extract useful metadata for understanding, sorting, or prioritizing.

In this demonstration, we’ve implemented a complete scenario of automatic analysis of 4D Write Pro documents using AI. From a simple text, the AI is capable of:

  • Generating a concise title reflecting the content
  • Identifying the tone (positive, negative, informative, urgent…)
  • Suggesting classification tags
  • Evaluating the document’s writing quality

The goal is clear: automatically enrich documents with usable metadata, without changing the user experience.

Read more

3
Tips
Vanessa Talbot
Vanessa Talbot
blank

AI Brings Magical Search to 4D Write Pro Documents

August 13, 2025

In many 4D business applications, documents are everything — technical notes, reports, manuals, internal guides. But when users can’t remember the exact wording, finding the right one becomes slow, frustrating, or worse — impossible.

With 4D 20 R10, semantic search powered by AI vectors changes that. Instead of matching keywords, you match meaning. Users get the right document, even if they search in different words or a different language. It’s a smarter way to surface the knowledge hidden in your documents — fast, accurate, and built for how people actually search.

Let’s consider a concrete example: a user wants to locate a technical note that explains how to insert an image into a 4D Write Pro document. However, they may not recall the precise phrase used in the document.

Read more

3
Tips
David Azancot
David Azancot
blank

SHOWCASE: SMART EXPENSE REPORTING WITH AI

August 6, 2025

You know the pain of expense reporting — not for you, for your users. The receipts piling up, the manual entry, the typos that slip through. With 4D AIKit, that grind is gone. A simple upload turns a paper receipt or invoice into clean, structured JSON, ready for your database.

No more wasted time on totals, dates, or vendor names. Vision AI reads it, language models structure it, and 4D ties it straight into your app. From paper to database in seconds — and your users never feel the friction.

Read more

2
Product
Fabrice Mainguené
Fabrice Mainguené
blank

4D AI: Discover the power of 4D Vectors

August 1, 2025

When working with modern applications, especially those involving Artificial Intelligence, natural language processing, or spatial data, vector math is key. That’s why 4D 20 R10 introduces a new object: 4D.Vector, designed to help developers store and compare data vectors with just a few lines of code.

For example, if you’re building a feature to rank images based on how well they match a text prompt, just generate vectors, compare them using cosine similarity, and sort your results from most to least relevant, all directly in 4D.

Read more

1
Page 1 of 2
  • 1
  • 2
  • →
  • Deutsch
  • Français
  • English
  • Português
  • Čeština
  • Español
  • Italiano
  • 日本語

Categories

Browse categories

  • AI
  • Release infos
  • 4D View Pro
  • 4D Write Pro
  • Email, Microsoft 365, Gmail
  • Development Mode
  • 4D Language
  • ORDA
  • User Interface / GUI
  • 4D Qodly Pro
  • Server
  • Maintenance
  • Deployment
  • 4D Tutorials
  • Generic
  • 4D Summit sessions and other online videos

Tags

4D AIKit 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 21 Administration AI Artificial Intelligence Build application CI/CD Class Client/Server Code editor Collections Compatibility settings Formula Google Listbox Logs Mail Microsoft 365 Network Objects OpenAI ORDA PDF Pictures Preemptive Programming REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience vscode Web Word processor

Tags

4D AIKit 4D for Android 4D for iOS 4D NetKit 4D Qodly Pro 4D View Pro 4D Write Pro 21 Administration AI Artificial Intelligence Build application CI/CD Class Client/Server Code editor Collections Compatibility settings Formula Google Listbox Logs Mail Microsoft 365 Network Objects OpenAI ORDA PDF Pictures Preemptive Programming REST Scalability Security Session Source control Speed Spreadsheet Tutorial UI User Experience vscode Web Word processor
Subscribe to 4D Newsletter

© 2026 4D SAS - All rights reserved
Terms & Conditions | Legal Notices | Data Policy | Cookie Policy | Contact us | Write for us


Subscribe to 4D Newsletter

* Your privacy is very important to us. Please click here to view our Policy

Contact us

Got a question, suggestion or just want to get in touch with the 4D bloggers? Drop us a line!

* Your privacy is very important to us. Please click here to view our Policy