Skip to content

Commit e38fbb3

Browse files
Merge remote-tracking branch 'upstream/development' into development
2 parents db8e10e + d73ef7b commit e38fbb3

9 files changed

Lines changed: 105 additions & 62 deletions

File tree

content/en/docs/marketplace/genai/how-to/byo_connector.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ The Echo connector is a module in the [GenAI Showcase App](https://marketplace.m
6565

6666
### Chat Completions: With History
6767

68-
This section allows you to focus on implementing chat completions, a fundamental capability supported by most LLMs. To make the process more practical, develop an example connector—the Echo Connector. This simple connector returns the similar text as output provided as input while remaining fully compatible with the chat capabilities of GenAICommons and ConversationalUI.
68+
This section allows you to focus on implementing chat completions, a fundamental capability supported by most LLMs. To make the process more practical, Mendix has developed an example connector—the Echo Connector. This simple connector returns the similar text as output provided as input while remaining fully compatible with the chat capabilities of GenAICommons and ConversationalUI.
6969
During development, you will get the key considerations to keep in mind when creating your own connector. You can either start from scratch and build your own connector or use the finished Echo Connector from the GenAI Showcase App and modify it to fit your use case.
7070

7171
To enable chat completion, the key microflow to consider is `ChatCompletions_WithHistory`, located in the GenAICommons module. This microflow plays a crucial role as it derives and calls the appropriate microflow from the provided DeployedModel, ensuring that the module remains independent of individual connectors. This is especially important for modules like ConversationalUI, which should work seamlessly with any connector following the same principles.
@@ -87,7 +87,7 @@ Just as the `Request` entity structures input for the LLM, the Response entity d
8787

8888
The `Response` entity includes key attributes such as:
8989

90-
* Messages - A single message that the model generated.
90+
* Message - A single message that the model generated.
9191
* Tool Call - A request from the model to call one or multiple tools, for example, a microflow. Available tools are defined in the request via the [ToolCollection](/appstore/modules/genai/genai-for-mx/commons/#toolcollection).
9292

9393
Since different providers return responses in different formats, when implementing a new connector, map the provider’s response to match the `Response` entity’s structure. If it is required to have additional attributes on the `Request` or `Response` entity, it is recommended to extend those entities in your own connector by either creating an association or a specialization. For example, you can find both patterns being applied in the OpenAIConnector (association to `Request`) and AmazonBedrockConnector (specialization of `Response`).
@@ -98,7 +98,7 @@ Since different providers return responses in different formats, when implementi
9898

9999
The `Request` and `Response` objects are essential for enabling chat functionalities in ConversationalUI. However, to correctly call and interact with an LLM, the model must be properly configured. This is where the `DeployedModel` entity becomes essential.
100100

101-
The `DeployedModel` represents a GenAI model that the Mendix application can invoke, ensuring connector knows which microflow to call and how to communicate with the model. It also includes a set of generic attributes commonly used across different LLM providers. However, since each provider may require additional model-specific details, the `DeployedModel` entity does not cover all necessary attributes.
101+
The `DeployedModel` represents a GenAI model that the Mendix app can invoke, ensuring your app module knows which microflow to call and how to communicate with the model. It also includes a set of generic attributes commonly used across different LLM providers. However, since each provider may require additional model-specific details, the `DeployedModel` entity does not cover all necessary attributes.
102102

103103
To accommodate this, you will need to create a new entity within your connector that inherits from `GenAICommons.DeployedModel`. This allows you to extend it with any provider-specific attributes required for your integration.
104104

content/en/docs/marketplace/genai/reference-guide/migration-guide.md

Lines changed: 32 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This document is intended for consumers of GenAI modules. For releases that intr
1414
{{% alert color="warning" %}}
1515
Do not skip major versions as they may contain deprecations or require migration.
1616

17-
Modules remove deprecated entities, associations, and attributes in the subsequent major release, after they have been marked as deprecated. Deprecated domain model elements are indicated by the `_DEPR` suffix in the previous major version.
17+
Modules remove deprecated entities, associations, and attributes in the subsequent major release, after they have been marked as deprecated. Deprecated domain model elements are indicated by an annotation in the documentation field.
1818

1919
This means that major versions containing deprecations should not be skipped during upgrades.
2020

@@ -57,12 +57,12 @@ The following module versions are released as compatible with each other and sho
5757
| Module | Previous Version | New Version | Contains deprecations | Requires migration |
5858
| --------------------- | ----------------- | ------------- | ----------------- | ---- |
5959
| GenAI Commons | 5.x.x | 6.0.0 | No | Yes, as part of dependent modules. |
60-
| Agent Commons | 2.x.x | 3.0.0 | Yes | Yes |
61-
| MCP Client | 2.x.x | 3.0.0 | Yes | No, but update required for other migrations. |
62-
| OpenAI Connector | 7.x.x | 8.0.0 | Yes | Yes |
63-
| Amazon Bedrock Connector | 9.x.x | 10.0.0 | No | Yes |
64-
| PgVector Knowledge Base | 5.x.x | 6.0.0 | Yes | Yes |
65-
| Mendix Cloud GenAI Connector | 5.x.x | 6.0.0 | No | Yes |
60+
| Agent Commons | 2.x.x | 3.0.1 | Yes | Yes |
61+
| MCP Client | 2.x.x | 3.0.1 | Yes | No, but update required for other migrations. |
62+
| OpenAI Connector | 7.x.x | 8.0.1 | Yes | Yes |
63+
| Amazon Bedrock Connector | 9.x.x | 10.0.1 | No | Yes |
64+
| PgVector Knowledge Base | 5.x.x | 6.0.1 | Yes | Yes |
65+
| Mendix Cloud GenAI Connector | 5.x.x | 6.0.1 | No | Yes |
6666

6767
{{% alert color="info" %}}
6868
Even if a module does not include any deprecations, Mendix strongly recommends upgrading all modules together according to the table above. This ensures that migrations in dependent modules execute correctly.
@@ -76,8 +76,8 @@ In this section, migration steps are grouped together by topic rather than by mo
7676

7777
The following modules require an upgrade:
7878

79-
* Agent Commons: migrate from V2.x.x to V3.0.0
80-
* MCP Client: migrate from V2.x.x to V3.0.0
79+
* Agent Commons: migrate from V2.x.x to V3.0.1
80+
* MCP Client: migrate from V2.x.x to V3.0.1
8181

8282
###### Key Changes {#changes}
8383

@@ -97,17 +97,18 @@ In order to resolve consistency errors for the renamed `ConsumedMCPService` enti
9797

9898
To prevent the need to recreate existing data related to Agent definitions, perform the following steps:
9999

100-
1. Upgrade the [MCP Client](https://marketplace.mendix.com/link/component/244893) module to V3.0.0 in your Mendix app.
101-
2. Upgrade the [Agent Commons](https://marketplace.mendix.com/link/component/240371) module to V3.0.0 in your Mendix app.
100+
1. Upgrade the [MCP Client](https://marketplace.mendix.com/link/component/244893) module to V3.0.1 in your Mendix app.
101+
2. Upgrade the [Agent Commons](https://marketplace.mendix.com/link/component/240371) module to V3.0.1 in your Mendix app.
102102
3. Run the data migration microflow upon starting your application (for example, include it in the after-startup microflow).
103103

104104
The **AgentCommons** > **USE_ME** > **Migration** > `SingleMCPTool_Migrate` microflow will set the new association and attribute on existing `SingleMCPTool` records.
105105

106-
4. Update any custom logic or pages in your app that refer the old entity or its attributes `MCPTool_DEPR` in the MCPClient module. Available tools are not cached anymore. In cases where the actual list of available tools is required, refer to the `ConsumedMCPService_ListTools` microflow.
107-
5. Verify your application compiles and runs correctly before deploying to cloud environments.
106+
4. Update any custom logic or pages in your app that refer to the old entity or its attributes `MCPTool` in the MCPClient module. Available tools are not cached anymore. In cases where the actual list of available tools is required, refer to the `ConsumedMCPService_ListTools` microflow.
107+
5. In your running apps, configure your MCP connections again on the `ConsumedMCPService_Overview` page. Furthermore, in existing agents where those MCP connections were used, you need to add them again. Ensure to save a new version when using the agent in microflows.
108+
6. Verify your application compiles and runs correctly before deploying to cloud environments.
108109

109110
{{% alert color="info" %}}
110-
The `SingleMCPTool` entity and related attributes and association will be permanently removed in the next major version (V4.0.0) of the MCP Client module.
111+
The `MCPTool` entity and related attributes and association will be permanently removed in the next major version of the MCP Client (V4.0.0) and Agent Commons (V4.0.0) modules.
111112

112113
Ensure to run the migration microflow before upgrading to the next major version.
113114
{{% /alert %}}
@@ -116,11 +117,11 @@ Ensure to run the migration microflow before upgrading to the next major version
116117

117118
The following modules require an upgrade:
118119

119-
* [GenAI Commons](https://marketplace.mendix.com/link/component/239448): migrate from V5.x.x TO V6.0.0
120-
* [Amazon Bedrock Connector](https://marketplace.mendix.com/link/component/215042): migrate from V9.x.x to V10.0.0
121-
* [Mendix Cloud GenAI Connector](https://marketplace.mendix.com/link/component/239449): migrate from V5.x.x to V6.0.0
122-
* [OpenAI Connector](https://marketplace.mendix.com/link/component/220472): migrate from V7.x.x to V8.0.0
123-
* [PgVector Knowledge Base](https://marketplace.mendix.com/link/component/225063): migrate from V5.x.x to V6.0.0
120+
* [GenAI Commons](https://marketplace.mendix.com/link/component/239448): migrate from V5.x.x to V6.0.0
121+
* [Amazon Bedrock Connector](https://marketplace.mendix.com/link/component/215042): migrate from V9.x.x to V10.0.1
122+
* [Mendix Cloud GenAI Connector](https://marketplace.mendix.com/link/component/239449): migrate from V5.x.x to V6.0.1
123+
* [OpenAI Connector](https://marketplace.mendix.com/link/component/220472): migrate from V7.x.x to V8.0.1
124+
* [PgVector Knowledge Base](https://marketplace.mendix.com/link/component/225063): migrate from V5.x.x to V6.0.1
124125

125126
###### Key Changes {#keychanges}
126127

@@ -133,7 +134,7 @@ The following modules require an upgrade:
133134
###### Impact
134135

135136
Agent definitions using knowledge bases require migration to prevent failing agent calls at runtime.
136-
Existing knowledge base configurations in any of the mentioned connector modules require migration to prevent failing knowledge base calls at runtime.
137+
Existing knowledge base configurations in any of the mentioned connector modules require migration to prevent failing knowledge base calls at runtime. In addition, any data in the display name field may be lost and needs to be set again manually.
137138

138139
Migration is only required if your app interacts with knowledge bases from any of the modules mentioned in the [Key Changes](#keychanges) section, or contains existing data for such knowledge base configurations.
139140

@@ -142,47 +143,46 @@ Migration is only required if your app interacts with knowledge bases from any o
142143
To prevent the need to recreate existing data related to Agent definitions and knowledge base configurations, do the following:
143144

144145
1. Upgrade the GenAI Commons module to V6.0.0 in your Mendix app.
145-
2. If available, upgrade the Agent Commons module to V3.0.0.
146+
2. If available, upgrade the Agent Commons module to V3.0.1.
146147

147148
3. If your app has the Amazon Bedrock Connector module:
148149

149-
1. Upgrade the Amazon Bedrock Connector module to V10.0.0
150+
1. Upgrade the Amazon Bedrock Connector module to V10.0.1
150151
2. Include logic to run the data migration microflow upon starting your app (for example, include it in the after-startup microflow): **AmazonBedrockConnector** > **USE_ME** > **Migration** > `ConsumedKnowledgeBase_Migrate`. This microflow makes sure the new attributes on the generalization are set properly, and the `DisplayName` field is migrated.
151152
3. If Agent Commons is included in your app and Agents are defined using knowledge bases, you must include the following initially excluded sub-microflow in the app and add it as a microflow call, as specified in the annotation in the above-mentioned microflow: **AmazonBedrockConnector** > **USE_ME** > **Migration** > `AmazonBedrock_KnowledgeBase_Migrate`. This microflow sets the `CollectionIdentifier` field on the `KnowledgeBase` entity, and an outgoing reference to the `ConsumedKnowledgeBase`.
152153

153154
4. If your app has the Mendix Cloud GenAI Connector module:
154155

155-
1. Upgrade the Mendix Cloud GenAI Connector module to V6.0.0 in your Mendix app.
156+
1. Upgrade the Mendix Cloud GenAI Connector module to V6.0.1 in your Mendix app.
156157
2. Include logic to run the data migration microflow upon starting your app (for example, include it in the after-startup): **MxGenAIConnector** > **USE_ME** > **Migration** > `ConsumedKnowledgeBase_Migrate`. This microflow makes sure the new attributes on the generalization are set properly, and the `DisplayName` field is migrated.
157158
3. If the Agent Commons is part of your app and there are Agents defined using knowledge bases, include the following initially excluded sub-microflow into the app and add it as a microflow call according to the annotation in the above-mentioned microflow: **MxGenAIConnector** > **USE_ME** > **Migration** > `MxGenAI_KnowledgeBase_Migrate`. This microflow sets the `CollectionIdentifier` field on the `KnowledgeBase` entity and outgoing reference to the `ConsumedKnowledgeBase`.
159+
4. Set the `DisplayName` field for each `ConsumedKnowledgeBase` object by importing a key for the knowledge base. You can use the existing key that was imported earlier, or get a new key from the [Mendix Portal](https://genai.home.mendix.com/).
158160

159161
5. If your app has the OpenAI Connector module:
160162

161-
1. Upgrade the OpenAI Connector module to V8.0.0 in your Mendix app.
163+
1. Upgrade the OpenAI Connector module to V8.0.1 in your Mendix app.
162164
2. Include logic to run the data migration microflow upon starting your app (for example, include it in the after-startup): **OpenAIConnector** > **USE_ME** > **Migration** > `ConsumedKnowledgeBase_Migrate`. This microflow makes sure the new attributes on the generalization are set properly, and the `DisplayName` field is migrated.
163165
3. If the Agent Commons is part of your app and there are Agents defined using knowledge bases, include the following initially excluded sub-microflow into the app and add it as a microflow call according to the annotation in the above-mentioned microflow: **OpenAIConnector** > **USE_ME** > **Migration** > `Azure_KnowledgeBase_Migrate`. This microflow sets the `CollectionIdentifier` field on the `KnowledgeBase` entity and the outgoing reference to the `ConsumedKnowledgeBase`.
166+
4. Set the `DisplayName` field for each `ConsumedKnowledgeBase` object by logging into the running app and using the `Configuration_Overview` page.
164167

165168
6. If your app has the PgVector Knowledge Base module:
166169

167-
1. Upgrade the PgVector Knowledge Base module to V6.0.0 in your Mendix app.
170+
1. Upgrade the PgVector Knowledge Base module to V6.0.1 in your Mendix app.
168171
2. Include logic to run the data migration microflow upon starting your application (forexample, include it in the after-startup): **PgVectorKnowledgeBase** > **USE_ME** > **Migration** > `ConsumedKnowledgeBase_Migrate`. This microflow makes sure the new attributes on the generalization are set properly, and the `DisplayName` field is migrated.
169172
3. If the **Agent Commons** is part of your app and there are Agents defined using knowledge bases, include the following initially excluded sub-microflow into the project and add it as a microflow call according to the annotation in the above-mentioned microflow: **PgVectorKnowledgeBase** > **USE_ME** > **Migration** > `PgVector_KnowledgeBase_Migrate`. This microflow sets the `CollectionIdentifier` field on the `KnowledgeBase` entity and outgoing reference to the `ConsumedKnowledgeBase`.
173+
4. Set the `DisplayName` field for each `ConsumedKnowledgeBase` object by logging into the running app and using the `DatabaseConfiguration_Overview` page.
170174

171175
7. Update any custom logic or pages in your application that reference:
172-
1. The attributes `DisplayName_DEPR` on the `DatabaseConfiguration` and `AzureAISearchResource` entities. Instead, now use the `DisplayName` field that comes as part of the generalization.
173-
2. The association `KnowledgeBase_DeployedModel_DEPR`. Instead, now use the `CollectionIdentifier` attribute on the `KnowledgeBase` entity, if needed in combination with the `KnowledgeBase_ConsumedKnowledgeBase` association.
176+
1. The previously existing attributes `DisplayName` on the `DatabaseConfiguration` and `AzureAISearchResource` entities. Instead, now use the `DisplayName` field that comes as part of the generalization.
177+
2. The association `KnowledgeBase_DeployedModel`. Instead, now use the `CollectionIdentifier` attribute on the `KnowledgeBase` entity, if needed in combination with the `KnowledgeBase_ConsumedKnowledgeBase` association.
174178
8. Verify your app compiles and runs correctly before deploying to cloud environments.
175179
9. Remove the migration logic from the app logic the moment it has run at least once in every impacted environment. It can, however, be triggered multiple times without harm.
176180

177181
{{% alert color="info" %}}
178182

179183
Note the following:
180184

181-
* The `KnowledgeBase_DeployedModel_DEPR` association will be permanently removed in the next major version of the Agent Commons module, which will be V4.0.0.
185+
* The `KnowledgeBase_DeployedModel` association will be permanently removed in the next major version of the Agent Commons module, which will be V4.0.0.
182186

183-
* The `DisplayName_DEPR` attribute will be permanently removed in the next major version of the OpenAI Connector module, which will be V9.0.0.
184-
185-
* The `DisplayName_DEPR` attribute will be permanently removed in the next major version of the PgVector Knowledge Base module, which will be V7.0.0.
186-
187187
* Ensure to run the migration microflow before upgrading to the next major version.
188188
{{% /alert %}}

content/en/docs/refguide/installation/install.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ The prerequisites are the following:
5050

5151
| Studio Pro 11.0.0 - 11.6.2 | Studio Pro 11.6.3 and above |
5252
| --- | --- |
53-
| [.NET Desktop Runtime 8.0.x (x64 or ARM64)](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) <br/> Mendix recommends using version 8.0.10 or above | [.NET Desktop Runtime 10.0.x (x64 or ARM64)](https://dotnet.microsoft.com/en-us/download/dotnet/10.0) <br/> Mendix recommends using version 10.0.0 or above |
53+
| [.NET Desktop Runtime 8.0.x (x64 or ARM64)](https://dotnet.microsoft.com/en-us/download/dotnet/8.0) <br/> Mendix recommends using version 8.0.10 or above | [.NET Desktop Runtime 10.0.x (x64 or ARM64)](https://dotnet.microsoft.com/en-us/download/dotnet/10.0) <br/> Mendix recommends using version 10.0.3 or above |
5454

5555
* [Eclipse Temurin JDK 21 (x64 or ARM64)](https://adoptium.net/temurin/releases/?version=21)
5656

@@ -86,8 +86,8 @@ It is possible to prepare the prerequisite installers beforehand so the setup pr
8686
* On x64, rename *windowsdesktop-runtime-8.0.10-win-x64.exe* to *windowsdesktop-runtime-8.0-x64.exe*
8787
* On ARM64, rename *windowsdesktop-runtime-8.0.10-win-arm64.exe* to *windowsdesktop-runtime-8.0-arm64.exe*
8888
* For Studio Pro versions 11.6.3 and above, rename the Microsoft .NET Desktop Runtime 10.0.x
89-
* On x64, rename *windowsdesktop-runtime-10.0.0-win-x64.exe* to *windowsdesktop-runtime-10.0-x64.exe*
90-
* On ARM64, rename *windowsdesktop-runtime-10.0.0-win-arm64.exe* to *windowsdesktop-runtime-10.0-arm64.exe*
89+
* On x64, rename *windowsdesktop-runtime-10.0.3-win-x64.exe* to *windowsdesktop-runtime-10.0-x64.exe*
90+
* On ARM64, rename *windowsdesktop-runtime-10.0.3-win-arm64.exe* to *windowsdesktop-runtime-10.0-arm64.exe*
9191
2. Eclipse Temurin JDK
9292
* Rename the Java Development Kit 21 *msi*
9393
* On x64, rename *OpenJDK21U-jdk_x64_windows_hotspot_21.0.5_11.msi* to *adoptiumjdk_21_x64.msi*

0 commit comments

Comments
 (0)