Open Forum

 View Only
  • 1.  PCS Voice Comment Transcription

    Posted 01-01-2024 15:33

    Hi Team,

    We use voice comments in Surveys to get valuable feedback from customers. Accessing this data however is painful. As our voicecomment is at the end with a 2sec silence cut off, we get many comments which are just 2 seconds of silence and useless.

    To avoid Supervisors from either

    1. Playing every comment in Customer Experience searching for a comment or
    2. Clicking every interaction in Quality Management looking for transcribed comments

    I am trying to get them via API. I'm using
    https://api.8x8.com/storage/ap/v3/objects?filter=type==transcription;sourceObjectType==voicecommentrecording&sortField=createdTime&sortDirection=ASC&pageKey=0&limit=4000
    to get the Surveys with comments and then interivly getting the transcription via 
    https://api.8x8.com/storage/ap/v3/objects/<OBJECTID>/content

    Questions

    1. How do I filter the https://api.8x8.com/storage/ap/v3/objects call to only return voicecomments which are over ... say 5seconds?
    2. See below example, is there anyway I can get the whole comment transcription without it being split up this much? In this example we'd need to code in concatenation of 'transcript' on the responses
    3. Is there a better way?! Please let there be...

    {
        "results": [
            {
                "words": [
                    {
                        "end"4.46999979019165,
                        "start"0.6899999976158142,
                        "word"""
                    },
                    {
                        "end"4.46999979019165,
                        "start"0.6899999976158142,
                        "word""Hello,"
                    },
                    {
                        "end"4.46999979019165,
                        "start"0.6899999976158142,
                        "word""I"
                    },
                    {
                        "end"4.46999979019165,
                        "start"0.6899999976158142,
                        "word""was"
                    },
                    {
                        "end"4.46999979019165,
                        "start"0.6899999976158142,
                        "word""on"
                    },
                    {
                        "end"4.46999979019165,
                        "start"0.6899999976158142,
                        "word""the"
                    },
                    {
                        "end"4.46999979019165,
                        "start"0.6899999976158142,
                        "word""phone"
                    },
                    {
                        "end"4.46999979019165,
                        "start"0.6899999976158142,
                        "word""for"
                    },
                    {
                        "end"4.46999979019165,
                        "start"0.6899999976158142,
                        "word""nearly"
                    },
                    {
                        "end"4.46999979019165,
                        "start"0.6899999976158142,
                        "word""an"
                    },
                    {
                        "end"4.46999979019165,
                        "start"0.6899999976158142,
                        "word""hour"
                    },
                    {
                        "end"4.46999979019165,
                        "start"0.6899999976158142,
                        "word""because"
                    },
                    {
                        "end"4.46999979019165,
                        "start"0.6899999976158142,
                        "word""I'm"
                    },
                    {
                        "end"4.46999979019165,
                        "start"0.6899999976158142,
                        "word""trying"
                    },
                    {
                        "end"4.46999979019165,
                        "start"0.6899999976158142,
                        "word""to"
                    },
                    {
                        "end"4.46999979019165,
                        "start"0.6899999976158142,
                        "word""sit"
                    },
                    {
                        "end"4.46999979019165,
                        "start"0.6899999976158142,
                        "word""up"
                    },
                    {
                        "end"4.46999979019165,
                        "start"0.6899999976158142,
                        "word""on"
                    },
                    {
                        "end"4.46999979019165,
                        "start"0.6899999976158142,
                        "word""one"
                    },
                    {
                        "end"4.46999979019165,
                        "start"0.6899999976158142,
                        "word""baking."
                    }
                ],
                "channel"0,
                "start"0.6899999976158142,
                "end"4.46999979019165,
                "confidence"0.7102255821228027,
                "transcript"" Hello, I was on the phone for nearly an hour because I'm trying to sit up on one baking.",
                "tags"null
            },
            {
                "words": [
                    {
                        "end"8.350000381469727,
                        "start"4.710000038146973,
                        "word"""
                    },
                    {
                        "end"8.350000381469727,
                        "start"4.710000038146973,
                        "word""The"
                    },
                    {
                        "end"8.350000381469727,
                        "start"4.710000038146973,
                        "word""lady"
                    },
                    {
                        "end"8.350000381469727,
                        "start"4.710000038146973,
                        "word""that"
                    },
                    {
                        "end"8.350000381469727,
                        "start"4.710000038146973,
                        "word""was"
                    },
                    {
                        "end"8.350000381469727,
                        "start"4.710000038146973,
                        "word""trying"
                    },
                    {
                        "end"8.350000381469727,
                        "start"4.710000038146973,
                        "word""to"
                    },
                    {
                        "end"8.350000381469727,
                        "start"4.710000038146973,
                        "word""help"
                    },
                    {
                        "end"8.350000381469727,
                        "start"4.710000038146973,
                        "word""me"
                    },
                    {
                        "end"8.350000381469727,
                        "start"4.710000038146973,
                        "word""with"
                    },
                    {
                        "end"8.350000381469727,
                        "start"4.710000038146973,
                        "word""the"
                    },
                    {
                        "end"8.350000381469727,
                        "start"4.710000038146973,
                        "word""show"
                    },
                    {
                        "end"8.350000381469727,
                        "start"4.710000038146973,
                        "word""and"
                    },
                    {
                        "end"8.350000381469727,
                        "start"4.710000038146973,
                        "word""she"
                    },
                    {
                        "end"8.350000381469727,
                        "start"4.710000038146973,
                        "word""was"
                    },
                    {
                        "end"8.350000381469727,
                        "start"4.710000038146973,
                        "word""very"
                    },
                    {
                        "end"8.350000381469727,
                        "start"4.710000038146973,
                        "word""lovely,"
                    },
                    {
                        "end"8.350000381469727,
                        "start"4.710000038146973,
                        "word""but"
                    },
                    {
                        "end"8.350000381469727,
                        "start"4.710000038146973,
                        "word""we"
                    },
                    {
                        "end"8.350000381469727,
                        "start"4.710000038146973,
                        "word""still"
                    }
                ],
                "channel"0,
                "start"4.710000038146973,
                "end"8.350000381469727,
                "confidence"0.7102255821228027,
                "transcript"" The lady that was trying to help me with the show and she was very lovely, but we still",
                "tags"null
            },
            {
                "words": [
                    {
                        "end"10.710000038146973,
                        "start"8.350000381469727,
                        "word"""
                    },
                    {
                        "end"10.710000038146973,
                        "start"8.350000381469727,
                        "word""couldn't"
                    },
                    {
                        "end"10.710000038146973,
                        "start"8.350000381469727,
                        "word""resolve"
                    },
                    {
                        "end"10.710000038146973,
                        "start"8.350000381469727,
                        "word""the"
                    },
                    {
                        "end"10.710000038146973,
                        "start"8.350000381469727,
                        "word""issue"
                    },
                    {
                        "end"10.710000038146973,
                        "start"8.350000381469727,
                        "word""so"
                    },
                    {
                        "end"10.710000038146973,
                        "start"8.350000381469727,
                        "word""it"
                    },
                    {
                        "end"10.710000038146973,
                        "start"8.350000381469727,
                        "word""could"
                    },
                    {
                        "end"10.710000038146973,
                        "start"8.350000381469727,
                        "word""be"
                    },
                    {
                        "end"10.710000038146973,
                        "start"8.350000381469727,
                        "word""escalated."
                    }
                ],
                "channel"0,
                "start"8.350000381469727,
                "end"10.710000038146973,
                "confidence"0.7102255821228027,
                "transcript"" couldn't resolve the issue so it could be escalated.",
                "tags"null
            },
            {
                "words": [
                    {
                        "end"13.109999656677246,
                        "start"11.329999923706055,
                        "word"""
                    },
                    {
                        "end"13.109999656677246,
                        "start"11.329999923706055,
                        "word""But"
                    },
                    {
                        "end"13.109999656677246,
                        "start"11.329999923706055,
                        "word""that's"
                    },
                    {
                        "end"13.109999656677246,
                        "start"11.329999923706055,
                        "word""very"
                    },
                    {
                        "end"13.109999656677246,
                        "start"11.329999923706055,
                        "word""unsatisfactory."
                    }
                ],
                "channel"0,
                "start"11.329999923706055,
                "end"13.109999656677246,
                "confidence"0.7102255821228027,
                "transcript"" But that's very unsatisfactory.",
                "tags"null
            },
            {
                "words": [
                    {
                        "end"18.170000076293945,
                        "start"13.329999923706055,
                        "word"""
                    },
                    {
                        "end"18.170000076293945,
                        "start"13.329999923706055,
                        "word""My"
                    },
                    {
                        "end"18.170000076293945,
                        "start"13.329999923706055,
                        "word""pin"
                    },
                    {
                        "end"18.170000076293945,
                        "start"13.329999923706055,
                        "word""number"
                    },
                    {
                        "end"18.170000076293945,
                        "start"13.329999923706055,
                        "word""wasn't"
                    },
                    {
                        "end"18.170000076293945,
                        "start"13.329999923706055,
                        "word""working"
                    },
                    {
                        "end"18.170000076293945,
                        "start"13.329999923706055,
                        "word""and"
                    },
                    {
                        "end"18.170000076293945,
                        "start"13.329999923706055,
                        "word""some"
                    },
                    {
                        "end"18.170000076293945,
                        "start"13.329999923706055,
                        "word""reason"
                    },
                    {
                        "end"18.170000076293945,
                        "start"13.329999923706055,
                        "word""I'm"
                    },
                    {
                        "end"18.170000076293945,
                        "start"13.329999923706055,
                        "word""not"
                    },
                    {
                        "end"18.170000076293945,
                        "start"13.329999923706055,
                        "word""receiving"
                    },
                    {
                        "end"18.170000076293945,
                        "start"13.329999923706055,
                        "word""the"
                    },
                    {
                        "end"18.170000076293945,
                        "start"13.329999923706055,
                        "word""one-time"
                    },
                    {
                        "end"18.170000076293945,
                        "start"13.329999923706055,
                        "word""code."
                    }
                ],
                "channel"0,
                "start"13.329999923706055,
                "end"18.170000076293945,
                "confidence"0.7102255821228027,
                "transcript"" My pin number wasn't working and some reason I'm not receiving the one-time code.",
                "tags"null
            },
            {
                "words": [
                    {
                        "end"23.450000762939453,
                        "start"18.469999313354492,
                        "word"""
                    },
                    {
                        "end"23.450000762939453,
                        "start"18.469999313354492,
                        "word""So"
                    },
                    {
                        "end"23.450000762939453,
                        "start"18.469999313354492,
                        "word""wasn't"
                    },
                    {
                        "end"23.450000762939453,
                        "start"18.469999313354492,
                        "word""her"
                    },
                    {
                        "end"23.450000762939453,
                        "start"18.469999313354492,
                        "word""fault,"
                    },
                    {
                        "end"23.450000762939453,
                        "start"18.469999313354492,
                        "word""but"
                    },
                    {
                        "end"23.450000762939453,
                        "start"18.469999313354492,
                        "word""the"
                    },
                    {
                        "end"23.450000762939453,
                        "start"18.469999313354492,
                        "word""system"
                    },
                    {
                        "end"23.450000762939453,
                        "start"18.469999313354492,
                        "word""is"
                    },
                    {
                        "end"23.450000762939453,
                        "start"18.469999313354492,
                        "word""unsatisfactory"
                    },
                    {
                        "end"23.450000762939453,
                        "start"18.469999313354492,
                        "word""to"
                    },
                    {
                        "end"23.450000762939453,
                        "start"18.469999313354492,
                        "word""me"
                    },
                    {
                        "end"23.450000762939453,
                        "start"18.469999313354492,
                        "word""at"
                    },
                    {
                        "end"23.450000762939453,
                        "start"18.469999313354492,
                        "word""this"
                    },
                    {
                        "end"23.450000762939453,
                        "start"18.469999313354492,
                        "word""point."
                    }
                ],
                "channel"0,
                "start"18.469999313354492,
                "end"23.450000762939453,
                "confidence"0.7102255821228027,
                "transcript"" So wasn't her fault, but the system is unsatisfactory to me at this point.",
                "tags"null
            },
            {
                "words": [
                    {
                        "end"24.010000228881836,
                        "start"23.75,
                        "word"""
                    },
                    {
                        "end"24.010000228881836,
                        "start"23.75,
                        "word""Thank"
                    },
                    {
                        "end"24.010000228881836,
                        "start"23.75,
                        "word""you."
                    }
                ],
                "channel"0,
                "start"23.75,
                "end"24.010000228881836,
                "confidence"0.7102255821228027,
                "transcript"" Thank you.",
                "tags"null
            }
        ],
        "channels"1,
        "provider""whisper",
        "language""en-AU",
        "tags"null,
        "duration"25
    }

    Thank youuuuu



    ------------------------------
    Ben Fischer
    ------------------------------


  • 2.  RE: PCS Voice Comment Transcription

    Posted 01-03-2024 01:16

    I imagine there'd be a way to do this in pbi as you can pick out the field and then filter by length; but I'm guessing you want to filter it before it goes into a data warehouse so I'm out (unless you could do that as part of the import tool...)



    ------------------------------
    David
    ------------------------------



  • 3.  RE: PCS Voice Comment Transcription

    Posted 01-03-2024 13:48

    Cheers again David! Indeed, filtering beforehand is the goal.

    Happy New Year btw!!

    Based on https://developer.8x8.com/analytics/docs/cloud-storage-service-bulk-download#parameters-1 I assumed that example would work, but alas, no cheddar. 



    ------------------------------
    Ben Fischer
    ------------------------------



  • 4.  RE: PCS Voice Comment Transcription

    Posted 01-04-2024 03:24

    Happy new year! I see what you mean, that does seem like it would work 

    I haven't actually investigated this api myself yet, will see if can put some time to it.

    Not directly helpful but we only record comments if a customer opts in - makes it a bit more effort for customers but it means the recordings are all relevant (or as relevant as any customer comments are!)

    Plus we're not capturing data we don't need so don't have any GDPR fun :-)

    Good luck!



    ------------------------------
    David
    ------------------------------