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.
- AI Bot Starter App
- 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 attribute Schema was added to the Tool entity and the attribute Input to the ToolCall entity. Both attributes are specifically for external tools, for example MCP tools, which contain the raw tool schema and raw input generated by the model respectively. In addition the ArgumentInput and EnumValue entities and related microflows were removed as they are no longer needed. Ensure to update other connector modules as well to be compatible with this version, especially MCP Client if applicable.
Some small domain model changes such as the addition of Agent version information to the trace entity were added in order to persist this information even after an agent (version) was deleted.
The module was upgraded to 10.24.13.
We fixed an issue that caused tool calls to fail if the StoreTraces constant was set to false.
Domain model and microflow changes to support new features in ConversationalUI v5.3.0 (Observability for AI Traces) including:
- a new MCPSpan entity
- a new MCPServerName attribute for Tools.
Note that previously created traces in version 5.3.0 might not be displayed correctly due to data inconsistencies after this update.