From b3d61cad1d3123a36e2bf56adc9fcca7159eb38a Mon Sep 17 00:00:00 2001 From: Tina Engel Date: Mon, 27 Jan 2025 18:26:49 +0100 Subject: [PATCH 1/8] SAS-571 added openai connector to react readiness page --- .../en/docs/refguide/runtime/mendix-client/content-readiness.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/en/docs/refguide/runtime/mendix-client/content-readiness.md b/content/en/docs/refguide/runtime/mendix-client/content-readiness.md index e8ee84daf27..25552bf965d 100644 --- a/content/en/docs/refguide/runtime/mendix-client/content-readiness.md +++ b/content/en/docs/refguide/runtime/mendix-client/content-readiness.md @@ -53,3 +53,4 @@ The following table shows which of the more popular platform-supported Marketpla | [Image Crop](https://marketplace.mendix.com/link/component/254) | {{< icon name="remove-circle-filled" color="red" >}} | | [XSUAA Connector for SAP Cloud Platform](https://marketplace.mendix.com/link/component/78091) | {{< icon name="remove-circle-filled" color="red" >}} | | [AWS Authentication Connector](https://marketplace.mendix.com/link/component/120333) | {{< icon name="checkmark-circle-filled" color="green" >}} | +| [OpenAI Connector](https://marketplace.mendix.com/link/component/220472) | {{< icon name="checkmark-circle-filled" color="green" >}} | From ba06e4822744b42e80f63df1ca90d09ed2782821 Mon Sep 17 00:00:00 2001 From: oenerayca <123177148+oenerayca@users.noreply.github.com> Date: Tue, 28 Jan 2025 14:23:10 +0100 Subject: [PATCH 2/8] SAS-573 added GenAI For Mendix to react readiness page --- .../en/docs/refguide/runtime/mendix-client/content-readiness.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/en/docs/refguide/runtime/mendix-client/content-readiness.md b/content/en/docs/refguide/runtime/mendix-client/content-readiness.md index 25552bf965d..f2d7aca1b44 100644 --- a/content/en/docs/refguide/runtime/mendix-client/content-readiness.md +++ b/content/en/docs/refguide/runtime/mendix-client/content-readiness.md @@ -54,3 +54,4 @@ The following table shows which of the more popular platform-supported Marketpla | [XSUAA Connector for SAP Cloud Platform](https://marketplace.mendix.com/link/component/78091) | {{< icon name="remove-circle-filled" color="red" >}} | | [AWS Authentication Connector](https://marketplace.mendix.com/link/component/120333) | {{< icon name="checkmark-circle-filled" color="green" >}} | | [OpenAI Connector](https://marketplace.mendix.com/link/component/220472) | {{< icon name="checkmark-circle-filled" color="green" >}} | +| [GenAI For Mendix](https://marketplace.mendix.com/link/component/227931) | {{< icon name="checkmark-circle-filled" color="green" >}} | From 94ed37aa322d2e2cd0e6a361a4801abd71ed2bdd Mon Sep 17 00:00:00 2001 From: oenerayca <123177148+oenerayca@users.noreply.github.com> Date: Wed, 29 Jan 2025 09:08:39 +0100 Subject: [PATCH 3/8] SAS-1081 added Bedrock to react readiness page --- .../en/docs/refguide/runtime/mendix-client/content-readiness.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/en/docs/refguide/runtime/mendix-client/content-readiness.md b/content/en/docs/refguide/runtime/mendix-client/content-readiness.md index f2d7aca1b44..0cd93b7d45e 100644 --- a/content/en/docs/refguide/runtime/mendix-client/content-readiness.md +++ b/content/en/docs/refguide/runtime/mendix-client/content-readiness.md @@ -53,5 +53,6 @@ The following table shows which of the more popular platform-supported Marketpla | [Image Crop](https://marketplace.mendix.com/link/component/254) | {{< icon name="remove-circle-filled" color="red" >}} | | [XSUAA Connector for SAP Cloud Platform](https://marketplace.mendix.com/link/component/78091) | {{< icon name="remove-circle-filled" color="red" >}} | | [AWS Authentication Connector](https://marketplace.mendix.com/link/component/120333) | {{< icon name="checkmark-circle-filled" color="green" >}} | +| [Amazon Bedrock Connector](https://marketplace.mendix.com/link/component/215042) | {{< icon name="checkmark-circle-filled" color="green" >}} | | [OpenAI Connector](https://marketplace.mendix.com/link/component/220472) | {{< icon name="checkmark-circle-filled" color="green" >}} | | [GenAI For Mendix](https://marketplace.mendix.com/link/component/227931) | {{< icon name="checkmark-circle-filled" color="green" >}} | From ffbf3d3efaf56747519b8c4312af35c821245414 Mon Sep 17 00:00:00 2001 From: oenerayca <123177148+oenerayca@users.noreply.github.com> Date: Wed, 29 Jan 2025 10:11:09 +0100 Subject: [PATCH 4/8] SAS-981 added PgVector Knowledge Base to react readiness page --- .../en/docs/refguide/runtime/mendix-client/content-readiness.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/en/docs/refguide/runtime/mendix-client/content-readiness.md b/content/en/docs/refguide/runtime/mendix-client/content-readiness.md index 0cd93b7d45e..0c6d929ec4a 100644 --- a/content/en/docs/refguide/runtime/mendix-client/content-readiness.md +++ b/content/en/docs/refguide/runtime/mendix-client/content-readiness.md @@ -56,3 +56,4 @@ The following table shows which of the more popular platform-supported Marketpla | [Amazon Bedrock Connector](https://marketplace.mendix.com/link/component/215042) | {{< icon name="checkmark-circle-filled" color="green" >}} | | [OpenAI Connector](https://marketplace.mendix.com/link/component/220472) | {{< icon name="checkmark-circle-filled" color="green" >}} | | [GenAI For Mendix](https://marketplace.mendix.com/link/component/227931) | {{< icon name="checkmark-circle-filled" color="green" >}} | +| [PgVector Knowledge Base](https://marketplace.mendix.com/link/component/225063) | {{< icon name="checkmark-circle-filled" color="green" >}} | From b55bb0186739c729e40ee0d20325e84c96ef95fd Mon Sep 17 00:00:00 2001 From: Tina Engel Date: Wed, 29 Jan 2025 15:14:12 +0100 Subject: [PATCH 5/8] SAS-1099 added troubleshooting about record overflow error to openai connector, genai commons and MxGenAI connector pages --- .../modules/genai/Mx GenAI Connector.md | 22 +++++++++++++++++++ .../modules/genai/genai-commons.md | 20 +++++++++++++++++ .../modules/genai/openai/_index.md | 4 ++-- 3 files changed, 44 insertions(+), 2 deletions(-) diff --git a/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/Mx GenAI Connector.md b/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/Mx GenAI Connector.md index c945c2e5895..9e468cd9b85 100644 --- a/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/Mx GenAI Connector.md +++ b/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/Mx GenAI Connector.md @@ -254,6 +254,28 @@ The **Documentation** pane displays the documentation for the currently selected For more inspiration or guidance on how to use microflows in your logic, Mendix recommends downloading the [GenAI Showcase App](https://marketplace.mendix.com/link/component/220475), which demonstrates a variety of example use cases and applies almost all of the Mendix Cloud GenAI operations. The starter apps in the [Mendix Components](/appstore/modules/genai/#mendix-components) list can also be used as inspiration or simply adapted for a specific use case. +## Troubleshooting {#troubleshooting} + +### Outdated JDK Version Causing Errors while Calling a REST API {#outdated-jdk-version} + +The Java Development Kit (JDK) is a framework needed by Mendix Studio Pro to deploy and run applications. For more information, see [Studio Pro System Requirements](/refguide/system-requirements/). Usually, the correct JDK version is installed during the installation of Studio Pro, but in some cases, it may be outdated. An outdated version can cause exceptions when calling REST-based services with large data volumes, like for example embeddings operations or chat completions with vision. + +Mendix has seen the following two exceptions when using JDK version `jdk-11.0.3.7-hotspot`: +`java.net.SocketException - Connection reset` or +`javax.net.ssl.SSLException - Received fatal alert: record_overflow`. + +To check your JDK version and update it if necessary, follow these steps: + +1. Check your JDK version – In Studio Pro, go to **Edit** > **Preferences** > **Deployment** > **JDK directory**. If the path points to `jdk-11.0.3.7-hotspot`, you need to update the JDK by following the next steps. +2. Go to [Eclipse Temurin JDK 11](https://adoptium.net/en-GB/temurin/releases/?variant=openjdk11&os=windows&package=jdk) and download the `.msi` file of the latest release of **JDK 11**. +3. Open the downloaded file and follow the installation steps. Remember the installation path. Usually, this should be something like `C:/Program Files/Eclipse Adoptium/jdk-11.0.22.7-hotspot`. +4. After the installation has finished, restart your computer if prompted. +5. Open Studio Pro and go to **Edit** > **Preferences** > **Deployment** > **JDK directory**. Click **Browse** and select the folder with the new JDK version you just installed. This should be the folder containing the *bin* folder. Save your settings by clicking **OK**. +6. Run the project and execute the action that threw the above-mentioned exception earlier. + 1. You might get an error saying `FAILURE: Build failed with an exception. The supplied javaHome seems to be invalid. I cannot find the java executable.`. In this case, verify that you have selected the correct JDK directory containing the updated JDK version. + 1. You may also need to update Gradle. To do this, go to **Edit** > **Preferences** > **Deployment** > **Gradle directory**. Click **Browse** and select the appropriate Gradle version from the Mendix folder. For Mendix 10.10 and above, use Gradle 8.5. For Mendix 10 versions below 10.10, use Gradle 7.6.3. Then save your settings by clicking **OK**. + 1. Rerun the project. + ## Read More{#readmore} For Anthropic Claude-specific documentation, refer to: diff --git a/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/genai-commons.md b/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/genai-commons.md index 7b4149c313d..bdcfcf0b485 100644 --- a/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/genai-commons.md +++ b/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/genai-commons.md @@ -817,6 +817,26 @@ This section lists possible solutions to known issues. Adding the GenAI Commons module to an existing project causes internal errors in hidden documents in Studio Pro. +### Outdated JDK Version Causing Errors while Calling a REST API {#outdated-jdk-version} + +The Java Development Kit (JDK) is a framework needed by Mendix Studio Pro to deploy and run applications. For more information, see [Studio Pro System Requirements](/refguide/system-requirements/). Usually, the correct JDK version is installed during the installation of Studio Pro, but in some cases, it may be outdated. An outdated version can cause exceptions when calling REST-based services with large data volumes, like for example embeddings operations or chat completions with vision. + +Mendix has seen the following two exceptions when using JDK version `jdk-11.0.3.7-hotspot`: +`java.net.SocketException - Connection reset` or +`javax.net.ssl.SSLException - Received fatal alert: record_overflow`. + +To check your JDK version and update it if necessary, follow these steps: + +1. Check your JDK version – In Studio Pro, go to **Edit** > **Preferences** > **Deployment** > **JDK directory**. If the path points to `jdk-11.0.3.7-hotspot`, you need to update the JDK by following the next steps. +2. Go to [Eclipse Temurin JDK 11](https://adoptium.net/en-GB/temurin/releases/?variant=openjdk11&os=windows&package=jdk) and download the `.msi` file of the latest release of **JDK 11**. +3. Open the downloaded file and follow the installation steps. Remember the installation path. Usually, this should be something like `C:/Program Files/Eclipse Adoptium/jdk-11.0.22.7-hotspot`. +4. After the installation has finished, restart your computer if prompted. +5. Open Studio Pro and go to **Edit** > **Preferences** > **Deployment** > **JDK directory**. Click **Browse** and select the folder with the new JDK version you just installed. This should be the folder containing the *bin* folder. Save your settings by clicking **OK**. +6. Run the project and execute the action that threw the above-mentioned exception earlier. + 1. You might get an error saying `FAILURE: Build failed with an exception. The supplied javaHome seems to be invalid. I cannot find the java executable.`. In this case, verify that you have selected the correct JDK directory containing the updated JDK version. + 1. You may also need to update Gradle. To do this, go to **Edit** > **Preferences** > **Deployment** > **Gradle directory**. Click **Browse** and select the appropriate Gradle version from the Mendix folder. For Mendix 10.10 and above, use Gradle 8.5. For Mendix 10 versions below 10.10, use Gradle 7.6.3. Then save your settings by clicking **OK**. + 1. Rerun the project. + #### Cause The Java actions from the [CommunityCommons](https://marketplace.mendix.com/link/component/170) module are not compatible with the current version of the GenAI Commons module. diff --git a/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/openai/_index.md b/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/openai/_index.md index dcf51d82121..f9fa7917624 100644 --- a/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/openai/_index.md +++ b/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/openai/_index.md @@ -292,9 +292,9 @@ Some examples demonstrate knowledge base interaction and require a connection to ## Troubleshooting {#troubleshooting} -### Outdated JDK Version Causing Errors while Calling the Embeddings API {#outdated-jdk-version} +### Outdated JDK Version Causing Errors while Calling a REST API {#outdated-jdk-version} -The Java Development Kit (JDK) is a framework needed by Mendix Studio Pro to deploy and run applications. For more information, see [Studio Pro System Requirements](/refguide/system-requirements/). Usually, the correct JDK version is installed during the installation of Studio Pro, but in some cases, it may be outdated. An outdated version can cause exceptions when calling the Embeddings API or other REST-based services with large data volumes. +The Java Development Kit (JDK) is a framework needed by Mendix Studio Pro to deploy and run applications. For more information, see [Studio Pro System Requirements](/refguide/system-requirements/). Usually, the correct JDK version is installed during the installation of Studio Pro, but in some cases, it may be outdated. An outdated version can cause exceptions when calling REST-based services with large data volumes, like for example embeddings operations or chat completions with vision. Mendix has seen the following two exceptions when using JDK version `jdk-11.0.3.7-hotspot`: `java.net.SocketException - Connection reset` or From bf4baef21180c5c228a90d35a038cc9aea00ffbf Mon Sep 17 00:00:00 2001 From: Tina Engel Date: Wed, 29 Jan 2025 15:31:28 +0100 Subject: [PATCH 6/8] SAS-1099 mentioned specific jdk versions which contain the bugfix --- .../modules/genai/Mx GenAI Connector.md | 4 ++-- .../platform-supported-content/modules/genai/genai-commons.md | 4 ++-- .../platform-supported-content/modules/genai/openai/_index.md | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/Mx GenAI Connector.md b/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/Mx GenAI Connector.md index 9e468cd9b85..6d81f8e41ac 100644 --- a/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/Mx GenAI Connector.md +++ b/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/Mx GenAI Connector.md @@ -260,13 +260,13 @@ For more inspiration or guidance on how to use microflows in your logic, Mendix The Java Development Kit (JDK) is a framework needed by Mendix Studio Pro to deploy and run applications. For more information, see [Studio Pro System Requirements](/refguide/system-requirements/). Usually, the correct JDK version is installed during the installation of Studio Pro, but in some cases, it may be outdated. An outdated version can cause exceptions when calling REST-based services with large data volumes, like for example embeddings operations or chat completions with vision. -Mendix has seen the following two exceptions when using JDK version `jdk-11.0.3.7-hotspot`: +Mendix has seen the following two exceptions when using JDK versions below `jdk-11.0.5.0-hotspot`: `java.net.SocketException - Connection reset` or `javax.net.ssl.SSLException - Received fatal alert: record_overflow`. To check your JDK version and update it if necessary, follow these steps: -1. Check your JDK version – In Studio Pro, go to **Edit** > **Preferences** > **Deployment** > **JDK directory**. If the path points to `jdk-11.0.3.7-hotspot`, you need to update the JDK by following the next steps. +1. Check your JDK version – In Studio Pro, go to **Edit** > **Preferences** > **Deployment** > **JDK directory**. If the path points to a version below `jdk-11.0.5.0-hotspot`, you need to update the JDK by following the next steps. 2. Go to [Eclipse Temurin JDK 11](https://adoptium.net/en-GB/temurin/releases/?variant=openjdk11&os=windows&package=jdk) and download the `.msi` file of the latest release of **JDK 11**. 3. Open the downloaded file and follow the installation steps. Remember the installation path. Usually, this should be something like `C:/Program Files/Eclipse Adoptium/jdk-11.0.22.7-hotspot`. 4. After the installation has finished, restart your computer if prompted. diff --git a/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/genai-commons.md b/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/genai-commons.md index bdcfcf0b485..6523864107a 100644 --- a/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/genai-commons.md +++ b/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/genai-commons.md @@ -821,13 +821,13 @@ Adding the GenAI Commons module to an existing project causes internal errors in The Java Development Kit (JDK) is a framework needed by Mendix Studio Pro to deploy and run applications. For more information, see [Studio Pro System Requirements](/refguide/system-requirements/). Usually, the correct JDK version is installed during the installation of Studio Pro, but in some cases, it may be outdated. An outdated version can cause exceptions when calling REST-based services with large data volumes, like for example embeddings operations or chat completions with vision. -Mendix has seen the following two exceptions when using JDK version `jdk-11.0.3.7-hotspot`: +Mendix has seen the following two exceptions when using JDK versions below `jdk-11.0.5.0-hotspot`: `java.net.SocketException - Connection reset` or `javax.net.ssl.SSLException - Received fatal alert: record_overflow`. To check your JDK version and update it if necessary, follow these steps: -1. Check your JDK version – In Studio Pro, go to **Edit** > **Preferences** > **Deployment** > **JDK directory**. If the path points to `jdk-11.0.3.7-hotspot`, you need to update the JDK by following the next steps. +1. Check your JDK version – In Studio Pro, go to **Edit** > **Preferences** > **Deployment** > **JDK directory**. If the path points to a version below `jdk-11.0.5.0-hotspot`, you need to update the JDK by following the next steps. 2. Go to [Eclipse Temurin JDK 11](https://adoptium.net/en-GB/temurin/releases/?variant=openjdk11&os=windows&package=jdk) and download the `.msi` file of the latest release of **JDK 11**. 3. Open the downloaded file and follow the installation steps. Remember the installation path. Usually, this should be something like `C:/Program Files/Eclipse Adoptium/jdk-11.0.22.7-hotspot`. 4. After the installation has finished, restart your computer if prompted. diff --git a/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/openai/_index.md b/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/openai/_index.md index f9fa7917624..25c46887c84 100644 --- a/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/openai/_index.md +++ b/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/openai/_index.md @@ -296,13 +296,13 @@ Some examples demonstrate knowledge base interaction and require a connection to The Java Development Kit (JDK) is a framework needed by Mendix Studio Pro to deploy and run applications. For more information, see [Studio Pro System Requirements](/refguide/system-requirements/). Usually, the correct JDK version is installed during the installation of Studio Pro, but in some cases, it may be outdated. An outdated version can cause exceptions when calling REST-based services with large data volumes, like for example embeddings operations or chat completions with vision. -Mendix has seen the following two exceptions when using JDK version `jdk-11.0.3.7-hotspot`: +Mendix has seen the following two exceptions when using JDK versions below `jdk-11.0.5.0-hotspot`: `java.net.SocketException - Connection reset` or `javax.net.ssl.SSLException - Received fatal alert: record_overflow`. To check your JDK version and update it if necessary, follow these steps: -1. Check your JDK version – In Studio Pro, go to **Edit** > **Preferences** > **Deployment** > **JDK directory**. If the path points to `jdk-11.0.3.7-hotspot`, you need to update the JDK by following the next steps. +1. Check your JDK version – In Studio Pro, go to **Edit** > **Preferences** > **Deployment** > **JDK directory**. If the path points to a version below `jdk-11.0.5.0-hotspot`, you need to update the JDK by following the next steps. 2. Go to [Eclipse Temurin JDK 11](https://adoptium.net/en-GB/temurin/releases/?variant=openjdk11&os=windows&package=jdk) and download the `.msi` file of the latest release of **JDK 11**. 3. Open the downloaded file and follow the installation steps. Remember the installation path. Usually, this should be something like `C:/Program Files/Eclipse Adoptium/jdk-11.0.22.7-hotspot`. 4. After the installation has finished, restart your computer if prompted. From d93f6157d213688e46cdc8fd99ba74b790b9696d Mon Sep 17 00:00:00 2001 From: Tina Engel Date: Wed, 29 Jan 2025 15:33:22 +0100 Subject: [PATCH 7/8] SAS-1099 fixed the formatting on the genai commons page --- .../modules/genai/genai-commons.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/genai-commons.md b/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/genai-commons.md index 6523864107a..40f1055999f 100644 --- a/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/genai-commons.md +++ b/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/genai-commons.md @@ -817,6 +817,14 @@ This section lists possible solutions to known issues. Adding the GenAI Commons module to an existing project causes internal errors in hidden documents in Studio Pro. +#### Cause + +The Java actions from the [CommunityCommons](https://marketplace.mendix.com/link/component/170) module are not compatible with the current version of the GenAI Commons module. + +#### Solution + +Update the [CommunityCommons](https://marketplace.mendix.com/link/component/170) module to the latest version. + ### Outdated JDK Version Causing Errors while Calling a REST API {#outdated-jdk-version} The Java Development Kit (JDK) is a framework needed by Mendix Studio Pro to deploy and run applications. For more information, see [Studio Pro System Requirements](/refguide/system-requirements/). Usually, the correct JDK version is installed during the installation of Studio Pro, but in some cases, it may be outdated. An outdated version can cause exceptions when calling REST-based services with large data volumes, like for example embeddings operations or chat completions with vision. @@ -835,12 +843,4 @@ To check your JDK version and update it if necessary, follow these steps: 6. Run the project and execute the action that threw the above-mentioned exception earlier. 1. You might get an error saying `FAILURE: Build failed with an exception. The supplied javaHome seems to be invalid. I cannot find the java executable.`. In this case, verify that you have selected the correct JDK directory containing the updated JDK version. 1. You may also need to update Gradle. To do this, go to **Edit** > **Preferences** > **Deployment** > **Gradle directory**. Click **Browse** and select the appropriate Gradle version from the Mendix folder. For Mendix 10.10 and above, use Gradle 8.5. For Mendix 10 versions below 10.10, use Gradle 7.6.3. Then save your settings by clicking **OK**. - 1. Rerun the project. - -#### Cause - -The Java actions from the [CommunityCommons](https://marketplace.mendix.com/link/component/170) module are not compatible with the current version of the GenAI Commons module. - -#### Solution - -Update the [CommunityCommons](https://marketplace.mendix.com/link/component/170) module to the latest version. + 1. Rerun the project. \ No newline at end of file From 62fc538f0a9cac412c3cc4e33484961b85a6de73 Mon Sep 17 00:00:00 2001 From: Karuna-Mendix Date: Wed, 5 Feb 2025 12:17:40 +0530 Subject: [PATCH 8/8] Small fix --- .../modules/genai/Mx GenAI Connector.md | 6 +++--- .../modules/genai/genai-commons.md | 7 ++++--- .../modules/genai/openai/_index.md | 6 +++--- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/Mx GenAI Connector.md b/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/Mx GenAI Connector.md index 6d81f8e41ac..0ab69f5fb96 100644 --- a/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/Mx GenAI Connector.md +++ b/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/Mx GenAI Connector.md @@ -272,9 +272,9 @@ To check your JDK version and update it if necessary, follow these steps: 4. After the installation has finished, restart your computer if prompted. 5. Open Studio Pro and go to **Edit** > **Preferences** > **Deployment** > **JDK directory**. Click **Browse** and select the folder with the new JDK version you just installed. This should be the folder containing the *bin* folder. Save your settings by clicking **OK**. 6. Run the project and execute the action that threw the above-mentioned exception earlier. - 1. You might get an error saying `FAILURE: Build failed with an exception. The supplied javaHome seems to be invalid. I cannot find the java executable.`. In this case, verify that you have selected the correct JDK directory containing the updated JDK version. - 1. You may also need to update Gradle. To do this, go to **Edit** > **Preferences** > **Deployment** > **Gradle directory**. Click **Browse** and select the appropriate Gradle version from the Mendix folder. For Mendix 10.10 and above, use Gradle 8.5. For Mendix 10 versions below 10.10, use Gradle 7.6.3. Then save your settings by clicking **OK**. - 1. Rerun the project. + 1. You might get an error saying `FAILURE: Build failed with an exception. The supplied javaHome seems to be invalid. I cannot find the java executable.` In this case, verify that you have selected the correct JDK directory containing the updated JDK version. + 2. You may also need to update Gradle. To do this, go to **Edit** > **Preferences** > **Deployment** > **Gradle directory**. Click **Browse** and select the appropriate Gradle version from the Mendix folder. For Mendix 10.10 and above, use Gradle 8.5. For Mendix 10 versions below 10.10, use Gradle 7.6.3. Then save your settings by clicking **OK**. + 3. Rerun the project. ## Read More{#readmore} diff --git a/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/genai-commons.md b/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/genai-commons.md index 40f1055999f..aea8de61790 100644 --- a/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/genai-commons.md +++ b/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/genai-commons.md @@ -841,6 +841,7 @@ To check your JDK version and update it if necessary, follow these steps: 4. After the installation has finished, restart your computer if prompted. 5. Open Studio Pro and go to **Edit** > **Preferences** > **Deployment** > **JDK directory**. Click **Browse** and select the folder with the new JDK version you just installed. This should be the folder containing the *bin* folder. Save your settings by clicking **OK**. 6. Run the project and execute the action that threw the above-mentioned exception earlier. - 1. You might get an error saying `FAILURE: Build failed with an exception. The supplied javaHome seems to be invalid. I cannot find the java executable.`. In this case, verify that you have selected the correct JDK directory containing the updated JDK version. - 1. You may also need to update Gradle. To do this, go to **Edit** > **Preferences** > **Deployment** > **Gradle directory**. Click **Browse** and select the appropriate Gradle version from the Mendix folder. For Mendix 10.10 and above, use Gradle 8.5. For Mendix 10 versions below 10.10, use Gradle 7.6.3. Then save your settings by clicking **OK**. - 1. Rerun the project. \ No newline at end of file + 1. You might get an error saying `FAILURE: Build failed with an exception. The supplied javaHome seems to be invalid. I cannot find the java executable.` In this case, verify that you have selected the correct JDK directory containing the updated JDK version. + 2. You may also need to update Gradle. To do this, go to **Edit** > **Preferences** > **Deployment** > **Gradle directory**. Click **Browse** and select the appropriate Gradle version from the Mendix folder. For Mendix 10.10 and above, use Gradle 8.5. For Mendix 10 versions below 10.10, use Gradle 7.6.3. Then save your settings by clicking **OK**. + 3. Rerun the project. + \ No newline at end of file diff --git a/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/openai/_index.md b/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/openai/_index.md index 25c46887c84..c288deb3684 100644 --- a/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/openai/_index.md +++ b/content/en/docs/appstore/use-content/platform-supported-content/modules/genai/openai/_index.md @@ -308,9 +308,9 @@ To check your JDK version and update it if necessary, follow these steps: 4. After the installation has finished, restart your computer if prompted. 5. Open Studio Pro and go to **Edit** > **Preferences** > **Deployment** > **JDK directory**. Click **Browse** and select the folder with the new JDK version you just installed. This should be the folder containing the *bin* folder. Save your settings by clicking **OK**. 6. Run the project and execute the action that threw the above-mentioned exception earlier. - 1. You might get an error saying `FAILURE: Build failed with an exception. The supplied javaHome seems to be invalid. I cannot find the java executable.`. In this case, verify that you have selected the correct JDK directory containing the updated JDK version. - 1. You may also need to update Gradle. To do this, go to **Edit** > **Preferences** > **Deployment** > **Gradle directory**. Click **Browse** and select the appropriate Gradle version from the Mendix folder. For Mendix 10.10 and above, use Gradle 8.5. For Mendix 10 versions below 10.10, use Gradle 7.6.3. Then save your settings by clicking **OK**. - 1. Rerun the project. + 1. You might get an error saying `FAILURE: Build failed with an exception. The supplied javaHome seems to be invalid. I cannot find the java executable.` In this case, verify that you have selected the correct JDK directory containing the updated JDK version. + 2. You may also need to update Gradle. To do this, go to **Edit** > **Preferences** > **Deployment** > **Gradle directory**. Click **Browse** and select the appropriate Gradle version from the Mendix folder. For Mendix 10.10 and above, use Gradle 8.5. For Mendix 10 versions below 10.10, use Gradle 7.6.3. Then save your settings by clicking **OK**. + 3. Rerun the project. ### Chat Completions with Vision and JSON Mode (Azure OpenAI)