Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Difference bewteen API Rest and EventBridge For transcription

    Posted 15 hours ago

    Hello,

    I am currently testing the retrieval of conversation transcriptions and I noticed a slight difference between using the REST APIs and the events retrieved via AWS Bridge.
    The API used: /api/v2/speechandtextanalytics/conversations/{conversationId}/communications/{communicationId}/transcripturl
    The Topic used: v2.conversations.{id}.transcription

    During a conversation (in French): I used the word "alors" ( "so" in english).
    Via AWS EventBridge :

    • transcript: "alors"
    • decoratedTranscript: "alors"

    Via REST API:

    • "test": "alors"
    • "decoratedText": "Alors,"

    In the GenesysCloud UI, it is displayed as "Alors,".
    Is there an error in the AWS Bridge event on the "decoratedTranscript" field?

    Thank you in advance.


    #PlatformAPI

    ------------------------------
    Stéphane Labrune
    NA
    ------------------------------


  • 2.  RE: Difference bewteen API Rest and EventBridge For transcription

    Posted 14 hours ago

    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
    ------------------------------



  • 3.  RE: Difference bewteen API Rest and EventBridge For transcription

    Posted 14 hours ago

    Just adding the Genesys STA resource as well, which may help explain the difference:

    https://help.mypurecloud.com/articles/speech-and-text-analytics-overview/

    The doc says Speech and Text Analytics analysis is performed after the interaction is completed. It also notes that if voice transcripts are needed with lower latency, you can subscribe to transcripts through the Notifications API.

    So my understanding is:

    Notifications/EventBridge = lower-latency transcript updates

    API/UI = final STA processed transcript after completion.



    ------------------------------
    Phaneendra
    Technical Solutions Consultant
    ------------------------------