You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/marketplace/genai/how-to/byo_connector.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ The Echo connector is a module in the [GenAI Showcase App](https://marketplace.m
65
65
66
66
### Chat Completions: With History
67
67
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.
69
69
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.
70
70
71
71
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
87
87
88
88
The `Response` entity includes key attributes such as:
89
89
90
-
*Messages - A single message that the model generated.
90
+
*Message - A single message that the model generated.
91
91
* 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).
92
92
93
93
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
98
98
99
99
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.
100
100
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.
102
102
103
103
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.
Copy file name to clipboardExpand all lines: content/en/docs/marketplace/genai/reference-guide/migration-guide.md
+32-32Lines changed: 32 additions & 32 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ This document is intended for consumers of GenAI modules. For releases that intr
14
14
{{% alert color="warning" %}}
15
15
Do not skip major versions as they may contain deprecations or require migration.
16
16
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.
18
18
19
19
This means that major versions containing deprecations should not be skipped during upgrades.
20
20
@@ -57,12 +57,12 @@ The following module versions are released as compatible with each other and sho
57
57
| Module | Previous Version | New Version | Contains deprecations | Requires migration |
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
76
76
77
77
The following modules require an upgrade:
78
78
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
81
81
82
82
###### Key Changes {#changes}
83
83
@@ -97,17 +97,18 @@ In order to resolve consistency errors for the renamed `ConsumedMCPService` enti
97
97
98
98
To prevent the need to recreate existing data related to Agent definitions, perform the following steps:
99
99
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.
102
102
3. Run the data migration microflow upon starting your application (for example, include it in the after-startup microflow).
103
103
104
104
The **AgentCommons** > **USE_ME** > **Migration** > `SingleMCPTool_Migrate` microflow will set the new association and attribute on existing `SingleMCPTool` records.
105
105
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.
108
109
109
110
{{% 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.
111
112
112
113
Ensure to run the migration microflow before upgrading to the next major version.
113
114
{{% /alert %}}
@@ -116,11 +117,11 @@ Ensure to run the migration microflow before upgrading to the next major version
116
117
117
118
The following modules require an upgrade:
118
119
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
124
125
125
126
###### Key Changes {#keychanges}
126
127
@@ -133,7 +134,7 @@ The following modules require an upgrade:
133
134
###### Impact
134
135
135
136
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.
137
138
138
139
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.
139
140
@@ -142,47 +143,46 @@ Migration is only required if your app interacts with knowledge bases from any o
142
143
To prevent the need to recreate existing data related to Agent definitions and knowledge base configurations, do the following:
143
144
144
145
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.
146
147
147
148
3. If your app has the Amazon Bedrock Connector module:
148
149
149
-
1. Upgrade the Amazon Bedrock Connector module to V10.0.0
150
+
1. Upgrade the Amazon Bedrock Connector module to V10.0.1
150
151
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.
151
152
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`.
152
153
153
154
4. If your app has the Mendix Cloud GenAI Connector module:
154
155
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.
156
157
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.
157
158
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/).
158
160
159
161
5. If your app has the OpenAI Connector module:
160
162
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.
162
164
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.
163
165
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.
164
167
165
168
6. If your app has the PgVector Knowledge Base module:
166
169
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.
168
171
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.
169
172
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.
170
174
171
175
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.
174
178
8. Verify your app compiles and runs correctly before deploying to cloud environments.
175
179
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.
176
180
177
181
{{% alert color="info" %}}
178
182
179
183
Note the following:
180
184
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.
182
186
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
-
187
187
* Ensure to run the migration microflow before upgrading to the next major version.
Copy file name to clipboardExpand all lines: content/en/docs/refguide/installation/install.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ The prerequisites are the following:
50
50
51
51
| Studio Pro 11.0.0 - 11.6.2 | Studio Pro 11.6.3 and above |
52
52
| --- | --- |
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 |
54
54
55
55
*[Eclipse Temurin JDK 21 (x64 or ARM64)](https://adoptium.net/temurin/releases/?version=21)
56
56
@@ -86,8 +86,8 @@ It is possible to prepare the prerequisite installers beforehand so the setup pr
86
86
* On x64, rename *windowsdesktop-runtime-8.0.10-win-x64.exe* to *windowsdesktop-runtime-8.0-x64.exe*
87
87
* On ARM64, rename *windowsdesktop-runtime-8.0.10-win-arm64.exe* to *windowsdesktop-runtime-8.0-arm64.exe*
88
88
* 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*
91
91
2. Eclipse Temurin JDK
92
92
* Rename the Java Development Kit 21 *msi*
93
93
* On x64, rename *OpenJDK21U-jdk_x64_windows_hotspot_21.0.5_11.msi* to *adoptiumjdk_21_x64.msi*
0 commit comments