Genesys DX (formerly Bold360)

 View Only
Discussion Thread View
  • 1.  AI Voices Export API eventType counts

    Posted 02-22-2022 13:18
    Hello,

    I'm using the nanorep.co/api/voices/v1/export? API and I noticed that sometimes I get 0 counts on some voice's eventtypes.

    In the example below:
    What do the 0 counts on type 5 indicate? I know type 5 is 'searchNoResult' but what is it on the return json object if it has a 0 count?
    [
    {
    "id": "2308154631",
    "value": 1,
    "flags": 0,
    "text": "Do I have to wear a mask?",
    "cutoffTimestamp": 0,
    "lastTimestamp": 637807225357260000,
    "currentTrend": 0,
    "previousTrend": 0,
    "type": 0,
    "types": [
    {
    "type": 4,
    "value": 1
    },
    {
    "type": 5,
    "value": 0
    }
    ],
    "variations": [
    {
    "id": "2308066451",
    "value": 1,
    "flags": 0,
    "text": "do i have to wear a mask",
    "cutoffTimestamp": 0,
    "lastTimestamp": 637807225357260000,
    "currentTrend": 0,
    "previousTrend": 0,
    "type": 0,
    "types": [
    {
    "type": 4,
    "value": 1
    },
    {
    "type": 5,
    "value": 0
    }
    ]
    }
    ]
    }
    ]


    ------------------------------
    Michael VanWie
    State of Arizona - City of Mesa
    ------------------------------


  • 2.  RE: AI Voices Export API eventType counts

    GENESYS
    Posted 02-22-2022 14:29
    Hey Michael,

    I believe a 0 under that type would mean that there were no voices that fit that type in the query that was run.

    Does that line up with your use of the API?


    ------------------------------
    Anthony Romero
    Genesys - Employees
    ------------------------------



  • 3.  RE: AI Voices Export API eventType counts

    Posted 02-22-2022 16:02

    Hey, Sorry I don't think that is what I'm seeing.

    In the above example:
    1) A user searched [do i have to wear a mask] so [{"Type" : 4, "value" : 1}] gets added to the 'types' list.

    2) The system found [Do I have to wear a mask?] as a match 
                   (Normally no [{"Type" : 5, "value" : 1}]  value is added to the object.. except sometimes it will add [{"Type" : 5, "value" : 0}])

    What is the difference between a voice with [Type:4=1] and a voice with [Type4=1, Type5=0] ?

    Most of the time when an event didn't happen we just don't see the type on the JSON object at all.
    Then every once in a while we get a 0 count on an event type. When it does appear it is consistently on the same voices through refreshes.



    This does happen with the other types.
    I have another example of a voice that was obviously NOT resulted however Type5 didn't show on the object.
    The JSON did show a Type7 (escalate event) with count 0.
    When I found the conversation the voice belonged to it turned out that the customer selected something from a list.

    So in this example it shows [Type4=1, Type7=0]
    Is a selection from a list in the chat window considered an escalation?
            Type7 shows 0 which would lead me to believe it wasn't escalated and I know it wasn't "answered" however it doesn't show a type 5 (searchNoResults).

    What would be the difference between a [Type4=1, Type7=0] and [Type4=1]  ?
            I have many Type7's with values so I know it isn't just miscounting or something.




    ------------------------------
    Michael VanWie
    State of Arizona - City of Mesa
    ------------------------------



  • 4.  RE: AI Voices Export API eventType counts

    GENESYS
    Posted 02-25-2022 12:36
    Hi Michael,

    Sorry for the delay, wanted to ask others on the team about this.

    Unfortunately, the response I could get was the following which isn't quite a clear answer for how this works today:

    "As far as I can tell, there is no difference but I'm not sure how that is handled on the backend, so maybe there is [a difference]"

    ------------------------------
    Anthony Romero
    Genesys - Employees
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources