Domain Model Generator

Last modified: December 13, 2024

Introduction

Maia Domain Model Generator is an AI-powered tool that you can use for generating a domain model. It helps you to generate entities and associations based on text input. In Studio Pro 10.18 and above, you can also use Domain Model Generator in existing domain models. As an experimental feature, Domain Model Generator still have several limitations. For more information, see the Limitations section below.

Using Domain Model Generator

In Studio Pro 10.18 and above, Domain Model Generator is enabled by default.

You can find it in the the toolbar of a domain model:

If you want to disable this feature, go to Edit > Preferences > the New Features tab > the Maia section.

After clicking Generate Domain Model, a dedicated chat interface will appear at the right side of Studio Pro under the Maia tab:

Describe your application or its main goals in the chatbox. Maia will use this information to generate a relevant domain model for you! After a domain model is generated and if the dedicated chat is still active, you can still ask Maia to add more entities and associations to the generated domain model. In Studio Pro 10.17 and above, it also supports adding more attributes to an existing entity in the generated domain model. Give it a try!

Best Practices for Text Input

To achieve optimal results, provide context about your application by describing its main use cases, customer needs, or other relevant details. The more Maia knows about your application, the more tailored and accurate the generated domain model will be.

Below are some examples you can use as a starting point:

  • The app will help users …
  • This module handles …
  • Customers need to be able to …
  • I want to send notifications when …
  • The app will analyze and report on …
  • This feature allows users to …

Limitations

As an experimental feature, Domain Model Generator has some limitations.

Enumeration Generation

In Studio Pro 10.17 and below, it is not possible to generate enumerations. In Studio Pro 10.18, it can generate an attribute of type Enumeration if there is an existing enumeration in the module to refer to.

Generalization Not Supported

Currently, it cannot set generalization for an entity.

Read More