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/start_from_blank_app.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,7 +61,7 @@ Selecting the infrastructure for integrating GenAI into your Mendix application
61
61
62
62
* Your Own Connector: Optionally, if you prefer a custom connector, you can integrate your chosen infrastructure. However, this document focuses on the OpenAI and Bedrock connectors, as they offer comprehensive support and ease of use to get started.
63
63
64
-
### Creating a Conversational UI interface
64
+
### Creating a Conversational UI Interface
65
65
66
66
In this section, you can set up a conversational interface for your application using the **Conversational UI** module. The process involves creating a page, configuring microflows, and preparing the chat context.
67
67
@@ -73,8 +73,8 @@ Copy the `ConversationalUI_FullScreenChat` page from the **ConversationalUI > US
73
73
74
74
Since the **ConversationalUI_FullScreenChat** page contains a **Data View** using a `ChatContext` object as a parameter, it cannot be added directly to the navigation. Therefore, a template microflow can be used.
75
75
76
-
1. Locate the pre-built microflow `ACT_FullScreenChat_Open` in **ConversationalUI > USE_ME > Pages**. Right-click on the microflow and select **Include in project** to copy it into your `MyFirstBot` module.
77
-
2.Locate the show Page action for `ConversationalUI_FullScreenChat`. Inside this action, change the page to `ConversationalUI_FullScreenChat` from your `MyFirstBot` module or the `ConversationalUI` module.
76
+
1. Locate the pre-built microflow `ACT_FullScreenChat_Open` in **ConversationalUI > USE_ME > Conversational UI > Pages**. Right-click the microflow and select **Include in project**. Then copy it into your `MyFirstBot` module.
77
+
2.In the microflow's **Show page** activity, set the page to `ConversationalUI_FullScreenChat` from your `MyFirstBot` module or the `ConversationalUI` module.
78
78
79
79
#### Customizing the System Prompt (Optional)
80
80
@@ -84,24 +84,24 @@ To tailor your application's behavior, you can customize the [System Prompt](/ap
1.Open the copied `ACT_FullScreenChat_Open` microflow from your `MyFirstBot` module.
87
+
1.In your `MyFirstBot` module, open the `ACT_FullScreenChat_Open` microflow.
88
88
2. Locate the **ChatContext** action.
89
-
3. Inside this action, find the `System prompt` parameter, which has default an empty value.
89
+
3. Inside this action, find the `System prompt` parameter, which has an empty value by default.
90
90
4. Update the `System prompt` value to reflect your desired behavior. For example:
91
91
* For a customer service chatbot: *'You are a helpful customer service assistant providing answers to common product questions.'*
92
92
* For a travel advisor assistant: *'You are a travel advisor assistant providing travel tips and destination information.'*
93
93
* Or keep it simple with *'You are an assistant.'*
94
94
5. Save the changes.
95
95
96
-
#### Navigation Configuration
96
+
#### Configuring Navigation
97
97
98
-
Click **Home**and select the `ACT_FullScreenChat_Open` microflow from your `MyFirstBot` module to configure the **Navigation**.
98
+
In the app's **Navigation**, configure **Home**to call the `ACT_FullScreenChat_Open` microflow from your `MyFirstBot` module when clicked.
99
99
100
100
{{% alert color="warning" %}}
101
-
You may encounter an error about allowed roles. To resolve this, go to the page **Properties** and update the **Navigation > Visible for** setting to include the appropriate user roles.
101
+
You may encounter an error about allowed roles. To resolve this, go to the **Properties** pane and update the **Navigation > Visible for** setting to include the appropriate user roles.
102
102
{{% /alert %}}
103
103
104
-
### Infrastructure Configuration {#config}
104
+
### Configuring Infrastructure {#config}
105
105
106
106
#### Mendix Cloud GenAI Configuration
107
107
@@ -181,7 +181,7 @@ If you encounter any issues while using the Amazon Bedrock connector, see the [T
181
181
182
182
## Testing and Troubleshooting
183
183
184
-
Before testing your app, complete the Mendix Cloud GenAI, OpenAI or Bedrock configuration.
184
+
Before testing your app, complete the Mendix Cloud GenAI, OpenAI, or Bedrock configuration.
185
185
186
186
To test the Chatbot, navigate to the **Home** icon to open the chatbot interface. Start interacting with your chatbot by typing in the chat box.
0 commit comments