GenAI Commons

Content Type: Module
Categories: Connectors,Artificial Intelligence

Overview

This module is deprecated. Please check the new GenAI For Mendix bundle that contains the newer versions of the GenAI Commons module. See https://marketplace.mendix.com/link/component/227931

Documentation

This module is deprecated. Please check the new GenAI For Mendix bundle that contains the newer versions of the GenAI Commons module. See https://marketplace.mendix.com/link/component/227931

 

See official documentation

Implementation examples

For implementation examples, see the GenAI showcase app.

Connector development examples

Do you want to build your own connector to an LLM with GenAI Commons? Check out the OpenAI or Amazon Bedrock connector for inspiration.

Releases

Version: 2.0.0
Framework Version: 9.24.2
Release Notes: NOTE: Future releases of GenAI Commons will be available as part of a bundle mpk package together with Conversational UI and the Mendix Cloud GenAI Connector: https://marketplace.mendix.com/link/component/227931 - GenAICommons now provides Chat Completions, Embeddings and Image Generation operations that expect the DeployedModel as an input parameter. - 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 are handled by the connectors that were built on top of GenAI commons. - 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. - ConversationalUI actions that were used and show errors need to be fixed in order to match the new expected parameters, most importantly DeployedModel.
Version: 1.5.0
Framework Version: 9.24.2
Release Notes: We have improved the documentation texts of entities in the domain model of GenAI Commons.
Version: 1.4.0
Framework Version: 9.24.2
Release Notes: We added a new java action for connector builders that can be used for chat completions to execute the model calling microflow while also taking care of processing functions that the model called. Additionally, it stores the Usage object for a given deployment identifier. Github: https://github.com/mendix/openai-connector/releases/tag/release-genaicommons-1.4.0
Version: 1.3.0
Framework Version: 9.24.2
Release Notes: We have added operations for GenAI connector developers to be able to store token usage data for monitoring purposes. This is a new requirement for GenAI connectors that adhere to the principles of GenAI Commons. For now, this is only applicable for chat completions (text generation) and embeddings operations. If you are working on a customer app and want to show charts in your app at runtime for this usage data, you can use the page and logic from the Conversational UI module. To control whether usage data is stored, refer to the constant StoreUsageMetrics. Additionally, we added a cleanup process that can be controlled using the constant Usage_CleanUpAfterDays (see in-model documentation for more details).
Version: 1.2.0
Framework Version: 9.24.2
Release Notes: We replaced the MediaType attribute with a new attribute FileExtension on the FileContent entity. The MediaType used to be a combination of FileType + FileExtension (e.g. “image/png”). Additionally, “document” was added as a new value for ENUM_FileType. Github: https://github.com/mendix/openai-connector/releases/tag/release-genaicommons-1.2.0
Version: 1.1.0
Framework Version: 9.24.2
Release Notes: We extended the common domain model to define a standard for image generation, embeddings and knowledge base interaction. We also provided a number of microflows for connector development that can be used while creating/handling the responses. Github: https://github.com/mendix/openai-connector/releases/tag/release-genaicommons-1.1.0
Version: 1.0.0
Framework Version: 9.24.2
Release Notes: Initial release. Github: https://github.com/mendix/openai-connector/releases/tag/release-genaicommons-1.0.0