GenAI Commons
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:
Integrate with any LLM and knowledge base
Create a conversational UI by using the pages & snippets from our ConversationalUI module
Observe your GenAI interactions by inspecting the traces they create with the Traceability pages from our ConversationalUI module
Monitor your token consumption with the Token Consumption Monitor from our ConversationalUI module
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
Releases
An accidentally added dependency on MCPClient module has been removed
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.
Upgrade to 11.12.5.
Small fixes following the Best Practice Recommender.
*Internal (domain model and code) changes to support streaming across providers.
*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
The module was upgraded to 11.12. Small changes were applied to resolve warnings because of a deprecated java method.
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.
- 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.
* 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.
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.