Cloudkibo / OldKiboEngage

MIT License
0 stars 0 forks source link

URGENT: F8 Conference / Messenger / ChatBot #441

Closed jekram closed 7 years ago

jekram commented 7 years ago

@sojharo @zarmeen92 @dayemsiddiqui @ImranBinShoukat

As you know there was a F8 Conference last week and there were two things interesting topics:

  1. Messenger
  2. Chap Bot

Please spend Monday just on this task. Defer all other task for Monday.

  1. Watching selected presentations on the above two topics
  2. Review the Facebook API in these areas

On Tuesday I would like to have an open discussion on Messenger & Chatbot.

Here are few of the videos: (You should not limit to these below but focus on Messenger and ChatBot)

Boost Your Business with Messenger - Facebook F8 https://www.youtube.com/watch?v=AkNi8juNq5w

How to build a Great Bot https://developers.facebook.com/videos/f8-2017/how-to-build-a-great-bot/

Let's Chat About Bots https://developers.facebook.com/videos/f8-2017/lets-chat-about-bots/

Best Practices for Integrating Facebook Technologies into your Product https://developers.facebook.com/videos/f8-2017/best-practices-for-integrating-facebook-technologies-into-your-product-/

Build meaningful customer connections with Facebook https://developers.facebook.com/videos/f8-2017/build-meaningful-customer-connections-with-facebook/

Besides these Video please review the API on Messenger and ChapBot. They have made enhancements on both of these areas.

zarmeen92 commented 7 years ago

ok sir

sojharo commented 7 years ago

Yes Sir.

jekram commented 7 years ago

Few of the items I would be interested in:

  1. Chatbot integration with Messenger - Start with ChatBot and then go to live chat or start with live chat and use chatbot as assistant

  2. Can agent send Video that can be played in line in Messenger. What are the limitations

  3. How can the company push automated content to Messenger of a periodic basic. What are the restrictions?

  4. For push content what kind of business metrics that are available

zarmeen92 commented 7 years ago

Can agent send Video that can be played in line in Messenger. What are the limitations? We have not yet implemented it on Agents' side. But Facebook messenger has a support of playing videos inside messenger screen shot 2017-04-24 at 5 07 52 pm

zarmeen92 commented 7 years ago

Chatbot integration with Messenger - Start with ChatBot and then go to live chat or start with live chat and use chatbot as assistant I think the more preferred way would be to start with a chatbot and then go to live chat Here is an interesting read https://www.inbenta.com/en/blog/introducing-hybrid-chat-ai-powered-virtual-assistance-combined-with-human-live-chat/

sojharo commented 7 years ago

How can the company push automated content to Messenger of a periodic basic. What are the restrictions?

For this, we would have to specify the scope of our bot. With subscription scope, our bot can send content to messenger on periodic basis. The only restriction it has is that bot should not send advertisement or promotional content. Here is the screenshot which defines the scopes of bots.

screen shot 2017-04-24 at 11 06 03 pm
dayemsiddiqui commented 7 years ago

Watched all the videos

jekram commented 7 years ago

"advertisement or promotional content." is very restrictive. :-(

jekram commented 7 years ago

@dayemsiddiqui Thanks . Please spend time on the API's also

sojharo commented 7 years ago

I have also completed the videos and looking into APIs now.

Yes, subscription on messenger is for other use cases. E.g. I can subscribe to any newspaper like New York Times on messenger and it would then send me news on periodic basis.

jekram commented 7 years ago

@zarmeen92 "Can agent send Video that can be played in line in Messenger. What are the limitations? We have not yet implemented it on Agents' side. But Facebook messenger has a support of playing videos inside messenger"

Please open a task for it. In fact agent should have same functions as consumers. Let's make it the same.

jekram commented 7 years ago

@sojharo "How can the company push automated content to Messenger of a periodic basic. What are the restrictions?

For this, we would have to specify the scope of our bot. With subscription scope, our bot can send content to messenger on periodic basis. The only restriction it has is that bot should not send advertisement or promotional content. Here is the screenshot which defines the scopes of bots."

Is this restriction limited to BOT only. Can an agent send advertisement or promotional content?

jekram commented 7 years ago

@sojharo "I have also completed the videos and looking into APIs now.

Yes, subscription on messenger is for other use cases. E.g. I can subscribe to any newspaper like New York Times on messenger and it would then send me news on periodic basis."

Thanks. The key is fully understand the capability of API's

sojharo commented 7 years ago

Is this restriction limited to BOT only. Can an agent send advertisement or promotional content?

For the messenger, any message coming from an API call is a bot. That is why for their promotions of Messenger platform they are talking about bots everywhere. Human agents, according to them, can easily log into facebook and reply to the customers there. For example, I can create my company page and add member roles to that page. All the page roles will be able to see the messages coming to page and can reply from facebook page inbox. Here is the screenshot of facebook page inbox.

screen shot 2017-04-24 at 11 31 21 pm

Page admins and members can receive messages here and can reply from here. So agent (admin) for facebook is one who is using the following area to reply to customers coming to their page. But message coming from API is the bot for messenger.

sojharo commented 7 years ago

Here is the screenshot of our KiboBot facebook page where real agents can read and reply to messages.

screen shot 2017-04-24 at 11 44 01 pm
ImranBinShoukat commented 7 years ago

Watched all the videos. Will look into APIs tomorrow

jekram commented 7 years ago

@sojharo How are you getting that page? @ImranBinShoukat Thanks for the update

jekram commented 7 years ago

@sojharo How are you getting that page? Is it a agent screen or end user?

zarmeen92 commented 7 years ago

watched videos. Looking into their API enhancements

jekram commented 7 years ago

@zarmeen92 Thanks

jekram commented 7 years ago

What are key new things in Messenger 2.0? Give me more detail about Chat Extensions

zarmeen92 commented 7 years ago

sir in Messenger 2.0, following are the key features included:

  1. Discovery Tab: This is similar to something like APP Store of Bots. We can search different bots inside messenger to interact with. Similarly we can publish our bots on Facebook so that they can be appear in the discovery tab

  2. Chat Extensions: Chat extensions will allow user to share their bot conversations with their friends. For example OpenTable has an extension. Within the conversation with some friend, user can click on chat extension of opentable, order for some food/ book a table and then share the details with their friends in the conversation.

  3. Parametric Codes: Parametric codes will allow developer to use the same bot for multiple purposes. According to FB, with parametric versions, businesses can generate multiple Messenger Codes for their bot and see which ones are being scanned the most. Separate codes can also be used to activate different bot functionalities when each is scanned.

Here is a good summary of F8 sessions https://medium.com/master-of-code-global/messenger-platform-2-0-debuts-at-f8-tools-for-chatbot-apps-ai-solutions-chat-extensions-and-more-ccc8364294fe

sojharo commented 7 years ago

From https://github.com/Cloudkibo/KiboEngage/issues/441#issuecomment-296843978

@jekram That page is for agent (page admin) to reply to messages coming to the facebook page. In order to reach there, we need to go to our facebook page first. For admin, it will show the button to go to page inbox to see the messages coming to the page. Any page admin can go there. Here is the UI:

screen shot 2017-04-25 at 12 16 35 pm

Now the next screen is this:

screen shot 2017-04-24 at 11 44 01 pm

All the agents (page admins) can reply to these messages. Customer will send messages to page and messages will appear here and admins will reply manually from here. If bot is connected, then the messages by customer will also go to bot and bot will send the reply which will be shown here.

jekram commented 7 years ago

Few questions

  1. The Chatbot is hosted on FaceBook or outside?
  2. Other ChatBot have multiple connectors .. dose Facebook ChatBot also offers multiple connector
  3. Document the pro and cons between Facebook Chatbot over API.ai and Microsoft Framework
sojharo commented 7 years ago

Here is the document that we have created:

https://docs.google.com/document/d/1JYaF4QyJ4jw4NNrHI-PirvfMgCixy0-AImOapmLx_8c/edit#

The Chatbot is hosted on FaceBook or outside?

It is hosted and run outside the facebook. The APIs are used to connect bot with messenger.

Other ChatBot have multiple connectors .. dose Facebook ChatBot also offers multiple connector

Facebook doesn't provide the chat bot. It provide the platform (messenger) with which chat bot can work. We are free to create chatbot in any way and technology we want. The videos also showed the use of wit.ai to create bots.

Document the pro and cons between Facebook Chatbot over API.ai and Microsoft Framework Same as above. Facebook doesn't provide the chat bot.

zarmeen92 commented 7 years ago

agreed with @sojharo

jekram commented 7 years ago

@zarmeen92 @sojharo

I want to review and discuss this document today. Is the Internet @IBA fixed? Do we have the Router? Dongle?

sojharo commented 7 years ago

Internet is still having problems. The other person was able to set the router but only one computer was able to connect to it. Yesterday night, I went to shop for dongle, but they were not giving yearly subscription. For yearly, they said I will have to talk to Zong people by going to their outlets. I would go to outlet today. Yesterday, I couldn't go to outlet.

jekram commented 7 years ago

@sojharo @zarmeen92

Please review this. https://developers.facebook.com/docs/messenger-platform . and get back to me.

sojharo commented 7 years ago

https://docs.google.com/document/d/1JYaF4QyJ4jw4NNrHI-PirvfMgCixy0-AImOapmLx_8c/edit#

In this documentation, most of the features are covered by us in our above document. These are the new features provided in the API. The other remaining features of API (i.e. Webhook, Send API) which are being used in our KiboEngage as well were documented in the following document.

https://docs.google.com/document/d/1V-FFG3DamSDJkE14NzAKQt6eWVSnDoDU2C-mk85YGXc/edit#heading=h.sl6qi6snxnkn

So in this task, should we summarize all the API features (new and old) in the one document which was created in this thread.

jekram commented 7 years ago

Please combined document is better.

sojharo commented 7 years ago

I have combined these into one document:

https://docs.google.com/document/d/1JYaF4QyJ4jw4NNrHI-PirvfMgCixy0-AImOapmLx_8c/edit

zarmeen92 commented 7 years ago

I have reviewed messenger platform. https://developers.facebook.com/docs/messenger-platform

jekram commented 7 years ago

@zarmeen92 @sojharo

Few additional questions:

  1. Is there an advantage of using Wit.AI over API.AI or Microsoft Bot FrameWork?

  2. Which of these are open source?

  3. Which of these has most community Plug Ins?

  4. In the Bot is there a thing like confidence factor? Let's say BOT is 90% sure then it responds else it send the request to agent.

  5. Consider this uses case: Customer come to Bot and either Bot responds, if the BoT confidence factor is not high then it sends the request and response to agent to review or override the response. Basically allow agents to assist the BOT in handling cases that it does't yet know how to handle. BOT's are not mature and this a way to get productivity without sacrificing quality.

  6. How much use data can the BOT collect (IP address, what questions were asked,...........or this we need to collect our self outside the BoT)

  7. Since the user is coming from Messenger can we get the user profile? Can we get the user data of what he has posted of his Facebook, his likes, etc etc. Basically what Facebook can we get.

zarmeen92 commented 7 years ago

Is there an advantage of using Wit.AI over API.AI or Microsoft Bot FrameWork? No sir. Wit.AI does not provide APIs in contrast to API.AI which is our major requirement. Wit.AI requires bot to be designed on its own platform where as API.AI provides APIs to create intents and user responses.

Which of these are open source? Wit.AI and API.AI both are opensource. Microsoft BOT Framework is opensource but the APIs for performing Natural language processing tasks are subscription based.

zarmeen92 commented 7 years ago

we can close this task

jekram commented 7 years ago

Thanks