Applying Natural Language Processing to App Development: Code Mentor Update
If you attended last year's NextStep conference, you might have heard about the OutSystems AI Mentor System.

Table of contents:
- Code Mentor Meets Natural Language Processing
- How to Use Natural Language Processing in Code Mentor?
- 5 Use Cases of Natural Language Processing in Code Mentor
As part of our goal to make developers 100x more productive, the OutSystems AI Mentor System is a comprehensive set of AI-based development, security, and quality analysis tools that provide expert-level assistance across the most critical areas of the software development lifecycle.

In other words, it’s like having a team of experts on call to enhance your team's collective expertise.
Explore the 5 AI Mentors in the session Boosting Developer Productivity with AI-Assisted Development
Now, I’d like to turn your attention to Code Mentor—specifically, what’s new in the Code Mentor.
Code Mentor Meets Natural Language Processing
Code Mentor uses AI to reduce friction when developing applications. It shows in-line suggestions or contextual, in-app help.
And now Code Mentor also helps users fetch data in the easiest possible way using natural language.
What do I mean by that, you ask?
Well, Natural Language Processing is the ability of a computer to understand human language as it is spoken and written.
In the past two years, it has been a groundbreaking research area. So, we decided to make the OutSystems developers’ life easier by allowing users to explain, using their own words, what data they want to get from a data model.
Based on that, we automatically generate an Aggregate with the intended data query.
This removes the complexity of knowing how to perform expressions in filters, for instance, and makes it much easier to perform an aggregate with a calculated value like a count or a sum.
By just writing down a sentence in their everyday language, the user is able to build from the simplest to the hardest aggregate.
How to Use Natural Language Processing in Code Mentor?
Fetching data using natural language includes the following steps:
- In an aggregate, you ask for data using human language.
- OutSystems handles your data request, and adds the needed sources, joins, filters, and sorting to the aggregate.
- You validate the aggregate's result to ensure it's getting the correct data.

5 Use Cases of Natural Language Processing in Code Mentor
Code Mentor understands a wide range of questions. Here are some examples with different levels of complexity:
1. Fetch data from a table and order it by an attribute.
2. Filter an attribute from your table.
3. Join different tables.
4. Perform queries with calculated value.
5. Filter using Simple Functions.
This new feature is available in Service Studio with a version higher than 11.53.13 and ODC with a version higher than 1.0.31.
To learn more about the AI Mentor System, and see it in action, check out my technical session, Using AI to Speed Up Your OutSystems Development. To see the Natural Language Processing feature, jump to minute 09:45.
Share Your Feedback
Hearing your feedback and stories about your experience with this feature and our platform pushes us to do better every day!
So, don’t be shy. Join the discussion in our Forum. Or, if you prefer to speak directly with our team, let us know when you’re available for a quick chat.