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: modules/ROOT/pages/int-configure-dw-expressions.adoc
+4-6Lines changed: 4 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -206,7 +206,7 @@ If using AI-assisted transformations, evaluate these considerations:
206
206
207
207
* To generate a DataWeave script using *Map and Transform with AI*, provide input and output samples. While optional, providing metadata helps AI understand the data structure and improves the accuracy of the transformation.
208
208
* Sample data provides the context to generate functions or expressions for calculations, conditions, and other operations. You can provide Web Services Description Language (WSDL) files with sample data. See <<sample-data>> for supported data formats (MIME types) for sample data.
209
-
* For automatic field-to-field mapping using *Map with AI*, provide both input and output metadata. *Map with AI* works only if no DataWeave script exists in the component.
209
+
* For field-to-field mapping using *Map with AI*, provide both input and output metadata. Use *Map with AI* even when a DataWeave script is already present in the component. Click *Map with AI* to trigger it.
210
210
* AI requires valid data to create the transformation script. Write it manually if needed.
211
211
* AI chat history isn't available in *Transformation Builder*.
212
212
* Avoid using real personally identifiable information (PII) in sample data or AI inputs. Provide input and output sample data that contains only fictional or masked data.
@@ -215,7 +215,7 @@ If using AI-assisted transformations, evaluate these considerations:
215
215
[[map-with-ai]]
216
216
=== Map with AI
217
217
218
-
The *Map with AI* feature automatically suggests a field-to-field mapping using AI-powered auto mapping. This feature requires you to provide both input and output metadata for the component and triggers only when no DataWeave script is present. It performs auto-mapping based on the provided metadata.
218
+
The *Map with AI* feature suggests a field-to-field mapping using AI-powered auto mapping. Click *Map with AI* to trigger it. Use it even when a DataWeave script is already present in the component. Provide both input and output metadata for the component. Mapping is performed based on the metadata you provide.
219
219
220
220
*Map with AI* provides comprehensive error feedback for GenAI actions, including authorization errors, metadata issues, and request limits. If you encounter errors during the mapping process, see <<troubleshoot-ai-assisted-transformations>> for detailed guidance on resolving specific error types.
221
221
@@ -230,11 +230,9 @@ If you don't have access to *Map with AI*, you must:
230
230
+
231
231
image::int-map-with-ai.png["Transformation Builder showing 'Fetching metadata' status message with loading indicator for AI-assisted mapping functionality"]
232
232
+
233
-
The mapping starts automatically considering the sample data provided.
233
+
. Click *Map with AI* to start the mapping. Provide both input and output metadata if not already provided.
234
234
+
235
-
The mapping is applied to the XML file.
236
-
+
237
-
The *Preview* tab shows the output of the transformation.
235
+
The mapping is applied to the XML file, and the *Preview* tab shows the output of the transformation.
238
236
. After the mapping is complete, you must:
239
237
.. Click *Apply Mapping* to apply suggested mapping to your project.
240
238
.. Click *Revise Mapping* to get new suggestions from the AI.
0 commit comments