Search code examples
chatbase

Chatbase no Sessionflow visible


I'm facing issues to get sessionflows on my chatbase account.

I'm sending these data as stated by the doc :

        {
            api_key: "xxx", 
            type: "user",
            platform: "xxx",
            message: "xxx",
            intent: "myIntent",
            version: "1.0",
            user_id: "xxx",
            time_stamp: new Date().getTime(),
        }

I don't specify the session_id as it should be infered automatically.

I made some conversations with "chained" intents like "search.recipe", "search.recipe-yes", "search.recipe-yes-steps", "search.recipe-yes-steps-next" "search.recipe-yes-steps-previous" "search.recipe-yes-steps-repeat" that, if i understood the doc correctly, should generate a proper session flow. The doc isn't quite clear about the "dash" separator, nothing states clearly if anything else than a dash can be used or not for example. But the examples use that dash and so i did.

Still, the session flow tab shows nothing, even after days (should be a 6 hours max delay if i'm not mistaken).

I have data in the handled and not handled messages so my API calls are working properly, but nothing in the sessionflow tab...

Any hint on what could be wrong ?


Solution

  • I am Sean with Chatbase support. We identified a bug during the processing of messages for the Session Flow report which was the likely cause of the delay you are experiencing. The messages are currently being reprocessed and should be available shortly.
    Regarding your question about the chained, or sub-intents, there are no restrictions on using a '.' or '-' character as a separator. If you are still unable to view your Session Flow, please contact us via our feedback form and supply your API key so that we can diagnose your bot.