GenAI For Mendix

Content Type: Module
Categories: User Interface,AWS,Artificial Intelligence

Overview

The starting point to create agentic apps, a Conversational UI or just include GenAI text generation in your app. When you download this bundle you can:

  1. Integrate with any LLM and knowledge base through the included GenAI Commons module
  2. Create a Conversational UI by using the included pages & snippets
  3. Do prompt engineering at runtime to optimize your results
  4. Monitor your token consumption with the Token Consumption Monitor.
  5. Integrate directly with Mendix Cloud GenAI Models and Knowledge Bases

This module is 100% compatible with the Amazon Bedrock Connector or (Azure) OpenAI Connector to integrate with these platforms. When you download them, those models will be automatically detected and can be used in conjunction with this bundle. You can also implement your own connector to other models to integrate this with our GenAI capabilities.

Typical use cases:

  • Create agentic apps and do intelligent automation by implementing function calling and the ReAct pattern
  • Create conversational UI and create a chat interface for users to chat with Large Language Models (LLM). Use our pages for a full screen, sidebar, floating popup and history layout.
  • Ground your model in data by connecting to Knowledge Bases and applying Retrieval Augmented Generation (RAG)

Examples that include this module.

  • AI Bot Starter App
  • Support Assistant Starter App
  • RFP Assistant Starter App
  • Blank GenAI App

For more information, visit the official documentation.

Documentation

Documentation

See official documentation:

- GenAI Commons

- Conversational UI

- Mendix Cloud GenAI Connector

Dependencies

GenAI Showcase app

For implementation examples, see the GenAI showcase app.

Releases

Version: 2.0.0
Framework Version: 9.24.2
Release Notes: From this release on, the modules MxGenAIConnector, GenAICommons and ConversationalUI are bundled into one listing and get downloaded at once. - MxGenAIConnector was initially released. - GenAICommons now provides Chat Completions, Embeddings and Image Generation operations that expect the DeployedModel as an input parameter. ConversationalUI microflows are now compatible with both DeployedModel and the new operations. - A DeployedModel represents a GenAI model which can be invoked by a Mendix app. Next to a display name and other connection information, it also contains the name of the microflow to be executed to invoke the specified model. The creation of Deployed Models happens in a connector-specific way and is handled by the respective connectors, compatible with GenAI Commons. - In ConversationalUI we added capabilities for managing prompts to support users with prompt engineering at runtime and developers to integrate prompts into the app. - Toolbox actions have been renamed and restructured. For existing implementations the following needs to be done: - Update GenAI connectors to newest version and follow migration steps found in the release notes. - If your project contains ConversationalUI toolbox actions from previous versions, these may show errors. The parameters need to be updated and a DeployedModel or specialization needs to be passed. See the examples for a demonstration of the new patterns and actions. - USE_ME - ConversationalUI - Action microflow examples - USE_ME - ConversationalUI - Pages
Version: 1.5.1
Framework Version: 9.24.2
Release Notes: We have made a number of small changes to facilitate easier implementation in custom projects. - The exposed names of the operations in Conversational UI have been made clearer. - Custom action microflows can now receive specializations of ChatContext as well. - The text below the chat input box can now be customized easily using a constant (@UserInputInstructions). - Additional css classes have been added to allow for styling customization in the chat conversation UI. For a full overview, see the https://docs.mendix.com/appstore/modules/genai/conversational-ui/ For the end user a button to clear the current chat was added. Additionally to version 1.5.0 we have fixed a bug where scrolling to the last message wasn’t working properly anymore.
Version: 1.5.0
Framework Version: 9.24.2
Release Notes: We have made a number of small changes to facilitate easier implementation in custom projects. - The exposed names of the operations in Conversational UI have been made clearer. - Custom action microflows can now receive specializations of ChatContext as well. - The text below the chat input box can now be customized easily using a constant (@UserInputInstructions). - Additional css classes have been added to allow for styling customization in the chat conversation UI. For a full overview, see the https://docs.mendix.com/appstore/modules/genai/conversational-ui/ For the end user a button to clear the current chat was added.
Version: 1.4.0
Framework Version: 9.24.2
Release Notes: We added UI components to visualize GenAI token consumption for monitoring purposes. Pages, snippets and logic can be found in USE_ME under “Usage Monitoring”. The latest version of the GenAI Commons module is required and the latest version of the OpenAI Connector supports this feature. An example can be observed in the newest version of the GenAI Showcase App. Finally, a styling bug for conversation starters in a horizontal gallery was fixed.
Version: 1.3.0
Framework Version: 9.24.2
Release Notes: We added three building blocks for conversation starters that can be added to the conversational UI. As an illustration, we added a page with an example of how the conversation starter building blocks can be used. Additionally, a constant was introduced that enables Markdown rendering (a common markup language for creating formatted text). This applies to the assistant messages in a chat conversation.
Version: 1.2.1
Framework Version: 9.24.2
Release Notes: We fixed an error in the Retrieve-And-Generate action microflow example in ConversationalUI so that it is again fully compatible with the latest Amazon Bedrock Connector version.
Version: 1.2.0
Framework Version: 9.24.2
Release Notes: In chat conversations, users can now use the Enter key to send messages and Shift+Enter to add a new line.
Version: 1.1.1
Framework Version: 9.24.2
Release Notes: - Improved toolbox actions are exposed which provide more flexibility in creating new chat contexts with action microflows. - Included an example action microflow that demonstrates how to use Amazon Bedrock Retrieve and Generate. - Included three microflows to open a chat page as examples for Amazon Bedrock and OpenAI.
Version: 1.0.0
Framework Version: 9.24.2
Release Notes: Initial release.