GenAI For Mendix

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

Overview

The starting point to create agentic apps, a Conversational UI - chatbot 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. Have prompt management 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.

 

Contact Us

For support and questions, feel free to reach out via email: genai-components-feedback@mendix.com

Documentation

Documentation

See official documentation:

- GenAI Commons

- Conversational UI

- Mendix Cloud GenAI Connector (MxGenAI Connector)

Dependencies

GenAI Showcase app

For implementation examples, see the GenAI showcase app.

Releases

Version: 2.4.0
Framework Version: 9.24.2
Release Notes: ConversationalUI *Prompt Management: values per test case are now shown when hovering over the output table (when multiple test cases were executed). Styling was improved. GenAICommons & MxGenAIConnector *None
Version: 2.3.1
Framework Version: 9.24.2
Release Notes: MxGenAIConnector * Bug fix - selecting default language 'Dutch, NL' will no longer result in an error. GenAICommons & ConversationalUI * None
Version: 2.3.0
Framework Version: 9.24.2
Release Notes: GenAICommons *We renamed “File” to “Document” in ENUM_ModelModality. *Input modality validation was added to DeployedModel_Validate. MxGenAIConnector *We updated the documentation of the knowledge base actions to inform developers about the 60-120 seconds asynchronous data synchronization after changing chunks in the knowledge base. *We added validation to the “Connection: Get” action to only allow a CollectionName without any whitespace. *We increased the performance of the “Embed & Replace” action. ConversationalUI *We improved the styling of the Prompt Management and Token Consumption Monitor pages.
Version: 2.2.0
Framework Version: 9.24.2
Release Notes: GenAICommons - Function microflows have been updated to accept “Tool” and/or “Request” as optional input parameters. - A new specialization for “KnowledgeBaseRetrieval” has been added. This specialization can be utilized by connector builders to incorporate knowledge base tools, enhancing the integration and functionality of knowledge base retrieval. MxGenAIConnector - The actions for “retrieve” and “generate” have been removed. A new action, “Tools: Add Mendix Cloud Knowledge Base,” has been introduced to enable knowledge base retrieval for chat completions, both with and without history cases. ConversationalUI - None
Version: 2.1.0
Framework Version: 9.24.2
Release Notes: ConversationalUI - The pages of the module have been updated to support the React client: widgets unsupported by the React framework have been replaced by supported widgets. This now means that the module can be used in apps where the React client is enabled, which is possible from SP 10.18 onwards. GenAICommons & MxGenAIConnector - None
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.