Hi Stéphane,
I think this may be due to the difference between near real-time transcription events and the final processed transcript.
The EventBridge topic appears to provide the near real-time transcription output, while the REST API/UI transcript looks like the final processed version with additional formatting such as capitalisation and punctuation.
This also aligns with the Speech and Text Analytics overview, which says full analysis is performed immediately after the interaction is completed.
Related thread:
https://community.genesys.com/discussion/transcription-notification-event
So I wouldn't treat the EventBridge decoratedTranscript as incorrect, it's likely just less final than the API/UI transcript.
Hope this helps, and someone from the community might be able to add more to this
------------------------------
Phaneendra
Technical Solutions Consultant
------------------------------