microsoft / botframework-sdk

Bot Framework provides the most comprehensive experience for building conversation applications.
MIT License
7.49k stars 2.44k forks source link

Bot Analytics Platforms #2012

Closed alokraj68 closed 7 years ago

alokraj68 commented 7 years ago

Would like to know more about available Bot Analytics platforms that are compatible with MSFT BF.

chetanmekha commented 7 years ago

@alokraj68 you can check https://www.dashbot.io/

slidenerd commented 7 years ago

http://botanalytics.co/ https://bot-metrics.com/ https://dashbot.io/ i am using this one currently after trying the other 2, gotta say dashbot is awesome

alokraj68 commented 7 years ago

@chetanmekha , @slidenerd the integration parts of this platform is a pain.

alokraj68 commented 7 years ago

You people are using any of this?

slidenerd commented 7 years ago

I have tried botanalytics but wasnt able to do so, here s working code for bot metrics 'use strict';

const
    constants = require('./constants'),
    request = require('request');

let botmetrics = require('node-botmetrics')(constants.BOT_METRICS);

botmetrics.trackIncoming = function (userId, text, platform) {
    if (platform !== 'emulator') {
        botmetrics.track({
            text: text,
            message_type: 'incoming',
            user_id: userId,
            platform: platform
        });
    }
}

botmetrics.trackIncomingSession = function (session) {
    if (session.message.address.channelId !== 'emulator') {
        botmetrics.track({
            text: session.message.text,
            message_type: 'incoming',
            user_id: session.message.user.id,
            platform: session.message.address.channelId
        });
    }
}

botmetrics.trackOutgoing = function (userId, text, platform) {
    if (platform !== 'emulator') {
        botmetrics.track({
            text: text,
            message_type: 'outgoing',
            user_id: userId,
            platform: platform
        });
    }
}

module.exports = botmetrics;
slidenerd commented 7 years ago

UPDATE

I am using dashbot now and its truly awesome. It integrates directly with the bot framework Just specify the app id, password and facebook page access token. havent set slack, kik, skype and the other one in the code below. it works like a charm

const
    connector = new builder.ChatConnector({
        appId: constants.APP_ID,
        appPassword: constants.APP_PASSWORD
    }),
    bot = new builder.UniversalBot(connector),
    // only include tokens for the platforms that you support
    dashbotApiMap = {
        facebook: constants.DASHBOT_API_KEY_FACEBOOK,
        slack: process.env.DASHBOT_API_KEY_SLACK,
        kik: process.env.DASHBOT_API_KEY_KIK,
        webchat: process.env.DASHBOT_API_KEY_GENERIC,
        skype: process.env.DASHBOT_API_KEY_GENERIC
    },
    dashbot = require('dashbot')(dashbotApiMap).microsoft,
carlosscastro commented 7 years ago

@alokraj68 Did you try dashbot? Still have questions? I'll close the issue but feel free to reopen if you have follow ups!

alokraj68 commented 7 years ago

@slidenerd , @carlosscastro I could not do the same because My bot framework nuget update ended up in crashing bot project. #2395

syedhassaanahmed commented 7 years ago

@alokraj68 If it isn't too late, please take a look at Ibex dashboard. Its built on top of Application Insights, so you'll need an Azure subscription.

To get analytics sent from your bot, you can use one of:

Also, take a look at this pre-recorded Build 2017 session which describes above dashboard in detail.

alokraj68 commented 7 years ago

Already tried it, but bit hard to implement. and could not succeed the deployment.

Thanks and Regards,

[image: Astro-Vision Future Tech] https://htmlsig.com/t/000001C1E7PD

Alok Rajasukumaran / Developer - Innovation Team post@alokraj68.in / 00919995607654

Astro-Vision Future Tech Kuthappadi, Thamannam, ErnakulamKerala, India - 682032 alokraj68.in

[image: Twitter] https://htmlsig.com/t/000001BVYZJE [image: Facebook] https://htmlsig.com/t/000001BX9HG8 [image: Google +] https://htmlsig.com/t/000001BV7H1J [image: LinkedIn] https://htmlsig.com/t/000001C065D9 [image: Youtube] https://htmlsig.com/t/000001C06RDJ [image: Github] https://htmlsig.com/t/000001BYKTTT [image: Soundcloud] https://htmlsig.com/t/000001BX996X [image: Stack Overflow] https://htmlsig.com/t/000001BVE8RR

On 3 July 2017 at 03:26, Syed Hassaan Ahmed notifications@github.com wrote:

@alokraj68 https://github.com/alokraj68 If it isn't too late, please take a look at Ibex dashboard https://github.com/CatalystCode/ibex-dashboard. Its built on top of Application Insights https://azure.microsoft.com/en-us/services/application-insights/, so you'll need an Azure subscription.

To get analytics sent from your bot, you can use one of:

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/BotBuilder/issues/2012#issuecomment-312519472, or mute the thread https://github.com/notifications/unsubscribe-auth/AIyDm3KRlDg61EB3-WOShMR8IrmCJie-ks5sKBIigaJpZM4LgSvu .

syedhassaanahmed commented 7 years ago

aha .. May I ask if you tried with Node.js or C# version? Which specific part was hard to implement? What was the error/issue you faced during the deployment?

alokraj68 commented 7 years ago

I was working with C# version of bot and node js version of IBEX, the analytics was not connecting from my application insights.

Thanks and Regards,

[image: Astro-Vision Future Tech] https://htmlsig.com/t/000001C1E7PD

Alok Rajasukumaran / Developer - Innovation Team post@alokraj68.in / 00919995607654

Astro-Vision Future Tech Kuthappadi, Thamannam, ErnakulamKerala, India - 682032 alokraj68.in

[image: Twitter] https://htmlsig.com/t/000001BVYZJE [image: Facebook] https://htmlsig.com/t/000001BX9HG8 [image: Google +] https://htmlsig.com/t/000001BV7H1J [image: LinkedIn] https://htmlsig.com/t/000001C065D9 [image: Youtube] https://htmlsig.com/t/000001C06RDJ [image: Github] https://htmlsig.com/t/000001BYKTTT [image: Soundcloud] https://htmlsig.com/t/000001BX996X [image: Stack Overflow] https://htmlsig.com/t/000001BVE8RR

On 3 July 2017 at 17:44, Syed Hassaan Ahmed notifications@github.com wrote:

aha .. May I ask if you tried with Node.js or C# version? Which specific part was hard to implement? What was the error/issue you faced during the deployment?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Microsoft/BotBuilder/issues/2012#issuecomment-312629950, or mute the thread https://github.com/notifications/unsubscribe-auth/AIyDm7zrmqjJcBCYLEBgjse2VjA_i2K3ks5sKNs6gaJpZM4LgSvu .

syedhassaanahmed commented 7 years ago

Ah right! .. As I mentioned above, C# instrumentation is a WIP .. We're tracking it here .. Hopefully it will resolve your issue once its done.

alokraj68 commented 7 years ago

Wow, Thanks a lot @syedhassaanahmed am looking forward to it.

Yudner commented 7 years ago

@slidenerd Can you share your project please. Thanks

jannavarro commented 7 years ago

Checked both https://bot-metrics.com/ and https://dashbot.io/ i and they only support nodejs for MSFT BF. Ibex dashboard looks really great as I saw on channel9 however I am looking for an option that doesn't involve App Insights yet because of its pricing. Are there other analytics platform for MSFT BF C#?

slidenerd commented 6 years ago

New update people, has any of you tried Chatbase from Google? for bot analytics. For the curious ones, HERE s an example on how to set it up but I swear man. I really hate the fact that you have to enter each dialog and add code. Really pollutes the bot s purposespace