Before generating suggestions, your dataset should be in the Normalized Datasets interface. If you don’t see your dataset there, you may need to create at least one mapping first. See Mapping Schemas.
Why use AI suggestions
Creating mappings manually requires understanding both your source data and the target attribute schema. AI suggestions accelerate this process by: Analyzing column content: The AI examines actual data values, not just column names, to propose appropriate attributes. Generating transformations: Suggestions include complete transformation expressions that handle format conversion. Providing confidence ratings: Each suggestion includes a confidence score so you can prioritize your review. Showing reasoning: The AI explains why it proposed each mapping, helping you evaluate its accuracy.Generating suggestions
Using the UI
- Navigate to Rosetta Stone → Normalized Datasets
- Click on a dataset to open its detail page
- Switch to the Normalize tab
- Click Start Analysis
- Samples data from each column
- Compares patterns against known attribute types
- Generates transformation expressions
- Assigns confidence scores
Understanding suggestion cards
Each suggestion card displays:| Element | Description |
|---|---|
| Source column | The column in your dataset |
| Target attribute | The Rosetta Stone attribute the AI recommends |
| Confidence score | 0-100% indicating how certain the AI is |
| Transformation | The expression that will convert source values |
| Reasoning | Why the AI proposed this mapping |
| Before/after samples | Example values showing the transformation effect |
Confidence groupings
Suggestions are organized into collapsible sections by confidence: High confidence (80-100%): Strong matches where column content clearly aligns with the attribute. These are generally safe to accept. Medium confidence (50-79%): Reasonable matches with some uncertainty. Review the reasoning and samples before accepting. Low confidence (0-49%): Uncertain matches that require careful evaluation. The AI found some alignment but isn’t confident.Reviewing before/after samples
Before accepting any suggestion, examine the sample transformations:What to check
Value accuracy: Do the “after” values look correct? Is the transformation producing expected output? Edge case handling: Look for unusual values in the samples. Does the transformation handle them appropriately? Null behavior: If samples include null or empty values, verify they’re handled as you expect. Format consistency: Are all output values in the correct format for the attribute?Example review
A suggestion to mapgender_code to hl7_gender:
| Before | After |
|---|---|
"1" | "male" |
"2" | "female" |
"0" | "unknown" |
"3" | "other" |
null | null |
- Are the numeric codes mapped correctly? (Verify with your data documentation)
- Is
"0"→"unknown"the right interpretation? - Should
nullremainnullor become"unknown"?
Accepting suggestions
Individual acceptance
- Review the suggestion card
- Examine the before/after samples
- Click Accept
Bulk accepting high-confidence suggestions
When you have many high-confidence suggestions:- Review a sample of the high-confidence suggestions to verify quality
- Click Accept All High Confidence
- Confirm the bulk action
Rejecting suggestions
Reject suggestions that don’t fit your use case:- Click Reject on the suggestion card
- The suggestion is dismissed
Reasons to reject
Incorrect attribute: The AI suggested mapping to the wrong attribute. For example, a phone number column suggested for an email attribute. Wrong transformation: The mapping logic doesn’t match your data’s semantics. For example, gender codes that use different values than the AI assumed. Intentionally unmapped: You don’t want this column normalized, perhaps because it contains internal identifiers or data you’ll handle differently. Duplicate coverage: Another mapping already covers this data adequately.When AI suggestions don’t fit
Sometimes none of the AI suggestions work for a column. This happens when:- Your data uses non-standard formats or encodings
- Column names don’t reflect content
- The data requires complex business logic to map correctly
- No standard attribute matches your data’s semantics
Creating manual mappings instead
When AI suggestions miss the mark:- Reject the suggestion (if one was proposed)
- Navigate to your dataset’s Rosetta Stone tab
- Click Add Mapping
- Select the source column and target attribute
- Write your transformation expression
- Test and activate the mapping
Requesting custom attributes
If no existing attribute fits your data:- Check the attribute catalog to confirm no suitable attribute exists
- Contact Narrative support to discuss creating a custom attribute
- Once the attribute exists, create your mapping manually
Improving future suggestions
AI suggestions improve over time. To help:- Use descriptive column names when possible
- Ensure data quality in source columns
- Accept accurate suggestions—this trains the system on your data patterns
Validating accepted suggestions
After accepting suggestions, verify they work correctly:Run an evaluation
- Switch to the Evaluate tab
- Click Evaluate Mappings
- Check that newly created mappings score well
Query the normalized data
Test that your mappings produce expected results:Monitor over time
As new data flows through your mappings, periodically:- Re-run evaluations to catch emerging issues
- Check for unexpected null rates
- Verify distribution of enum values
Global warnings
The AI analysis may produce dataset-level warnings that appear at the top of the suggestions list:| Warning | Meaning |
|---|---|
| High null rate | Many columns have significant null values |
| Inconsistent formats | Same column contains multiple data formats |
| Low coverage | Few columns could be mapped to known attributes |
| Duplicate columns | Multiple columns appear to contain the same data |
Best practices
Review before accepting: Even high-confidence suggestions deserve a quick review of the samples. Accept incrementally: Accept a few suggestions, validate them, then continue. This catches issues early. Document rejections: When rejecting suggestions, note why so future team members understand your decisions. Re-run after changes: If you modify source data or add columns, generate new suggestions to capture the changes. Combine with evaluation: After accepting suggestions, run an evaluation to verify quality holistically.Related content
Managing Evaluations
Assess mapping quality with AI scoring
Mapping Schemas
Create mappings manually
Confidence Scoring
Understand how confidence scores work
Validating Mappings
Test mappings before production use

