GenAI Commons

Content Type: Module
Categories: Connectors,Artificial Intelligence

Overview

The starting point to create agentic apps, a Conversational UI - chatbot or just include GenAI text or image generation in your app. When you download the GenAICommons module you can:

  1. Integrate with any LLM and knowledge base

  2. Create a conversational UI by using the pages & snippets from our ConversationalUI module

  3. Observe your GenAI interactions by inspecting the traces they create with the Traceability pages from our ConversationalUI module

  4. Monitor your token consumption with the Token Consumption Monitor from our ConversationalUI module

  5. Integrate directly with Mendix Cloud GenAI Models and Knowledge Bases

This module is 100% compatible with the Mendix Cloud GenAI Connector, 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 module. You can also implement your own connector to other models/providers 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

  • Ground your model in data by connecting to Knowledge Bases and applying Retrieval Augmented Generation (RAG)

Examples that include this module.

  • Agent Builder 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 or Community Slack.

Documentation

See official documentation:

Dependencies:

For implementation examples, see the GenAI showcase app.

 

Releases

Version: 7.4.1
Framework Version: 11.12.5
Release Notes:
  • An accidentally added dependency on MCPClient module has been removed

Version: 7.4.0
Framework Version: 11.12.5
Release Notes:

We applied the changes required to support additional authentication methods for OpenAI-compatible providers (executing a 'get credentials' microflow before the request is executed).

If OpenTelemetry is configured and the StoreTraces constant set to true, Metrics related to token usage, duration of the LLM calls, number of agent executions and tool calls, and duration of the tool calls are sent to the configured endpoint.

We fixed a bug that prevents references to be passed back to without history text generation calls.

Version: 7.3.0
Framework Version: 11.12.5
Release Notes:
  • Upgrade to 11.12.5.

  • Small fixes following the Best Practice Recommender.

Version: 7.2.0
Framework Version: 11.12.2
Release Notes: *Upgrade to 11.12.2.
*Internal (domain model and code) changes to support streaming across providers.
Version: 7.1.1
Framework Version: 11.12.1
Release Notes: *Upgrade to 11.12.1.
*Changes in order for Model documents to support Azure (AI Foundry) as model provider for text generation.
*A skill.md file was added to the module in order to tailor MAIA support for this module.
*A bug was fixed that prevented tool choice 'any' to be applied correctly in multi-turn conversations.
*A bug was fixed where (primitive) "Request" or "Tool" input parameters did not work for tool microflows (especially when called via the MCP Client module).
*Version 7.1.1 removed a dependency that was introduced by accident in 7.1.0
Version: 7.0.0
Framework Version: 11.12.0
Release Notes:

The module was upgraded to 11.12. Small changes were applied to resolve warnings because of a deprecated java method.

Version: 6.2.1
Framework Version: 10.24.13
Release Notes:

We changed how the jackson library is declared in the module dependencies, so it is updated automatically. This also fixes a recent severe vulnerability coming from said library.

Version: 6.2.0
Framework Version: 10.24.13
Release Notes:

- We fixed a bug that prevented the token consumption monitor and traceability to show total number of tokens being consumed if the total number exceeded a certain value.

- We introduced a new attribute InternalToolType which helps to create the correct UI per type.

Version: 6.1.0
Framework Version: 10.24.13
Release Notes:

* We changed the order in which messages are added to the request to prevent possible issues where the order of messages passed to the model would have been incorrect.

* Two new attributes ModelDocumentID and _QualifiedName have been added for ConsumedKnowledgeBases to improve the UI for the configuration of Mendix Cloud GenAI.

Version: 6.0.1
Framework Version: 10.24.13
Release Notes:

We fixed a bug where chat completions with tool calling caused errors if the following assistant's response was empty. If a tool microflow returns empty (or an empty string) we now throw an error. This will be handled internally, but enables the spans to show an error and that the LLM interaction can continue without API call failures.