Skip to content

Commit

Permalink
Merge pull request #2356 from botpress/ya-debugger-nlu
Browse files Browse the repository at this point in the history
fix(debugger): minor ajustment
  • Loading branch information
allardy committed Sep 11, 2019
2 parents dedaf3d + 23d704f commit adf139d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Expand Up @@ -23,7 +23,8 @@ export const Entities: SFC<{ entities: sdk.NLU.Entity[] }> = props => (
<span>{entity.meta.source}</span>
</td>
<td>
{entity.data.value}&nbsp;{entity.data.unit}
{/** TODO: remove the unit in the backend when not required */}
{entity.data.value}&nbsp;{entity.data.unit !== 'string' && entity.data.unit}
</td>
</tr>
))}
Expand Down
Expand Up @@ -20,7 +20,7 @@ const NLU: SFC<{ nluData: sdk.IO.EventUnderstanding; session: any }> = ({ nluDat
position={Position.TOP}
content={
<span>
Predicted intents are very close. You can account for it checking the{' '}
Predicted intents are very close.<br />You can account for it checking the{' '}
<strong>event.nlu.ambiguous</strong> variable.
</span>
}
Expand Down

0 comments on commit adf139d

Please sign in to comment.