Cloudkibo / KiboPush

0 stars 1 forks source link

Smart Replies and FAQ auto responder #2168

Closed sojharo closed 6 years ago

sojharo commented 6 years ago

This is the design task for improvements in workflow and make it smart. It was discussed in meeting.

dayemsiddiqui commented 6 years ago

Document In Progress https://docs.google.com/document/d/18kmghJQdLOkFKk0lrbh8-XUxGUwt27Vge1XaqUCidtM/edit#heading=h.92gw79ty5dpa

jekram commented 6 years ago

I do not have access to this document. Please use shared CloudKibo space.

dayemsiddiqui commented 6 years ago

I have update the FAQ Chatbot document with Database Structure, API reference and issues for milestones, please review

jekram commented 6 years ago

please see my comments

dayemsiddiqui commented 6 years ago

Q1. What NLP API server we are planning on using? or we are just doing exact match?

Ans: We have two options here, either we can go with something like Wit.ai or DialogFlow (formerly API.ai), the second option is to use our own NLP server based on Google's pretrained AI model.

Advantages of using Wit.ai/DialogFlow:

Disadvantages of using Wit.ai/DialogFlow:

Advantages of custom solution:

Disadvantages:

Q2. Are we nested NLP calls? So we understand the context of the conversation?

Ans: For v1 we will not be using nested NLP call, handling context from the beginning will make the system a bit complex, but we can implement contextual conversations later on.

@jekram @sojharo

dayemsiddiqui commented 6 years ago

I think last time when we researched on API.ai we found out that they did not offer api for training the chatbot which prevented us from using API.ai as it would not allow out users to train their bots directly on KiboPush. @sojharo is that right? Also we did not do any research on Wit.ai. Also since API.ai has now been acquired by Google, we should check again whether they offer APIs for training the bot as well or not

jekram commented 6 years ago

@dayemsiddiqui When you say customer solution? What do you mean by that? Please send a link

Wit.AI is free but we need to investigate its functionality.

https://wit.ai/docs/http/20170307 .

It will integrate well with Messenger.

I think more work is needed before we make a decision.

dayemsiddiqui commented 6 years ago

I have updated the design document we can review it in today's meeting and open the issues for the milestone https://docs.google.com/document/d/18kmghJQdLOkFKk0lrbh8-XUxGUwt27Vge1XaqUCidtM/edit#heading=h.b4d747prrfuc

jekram commented 6 years ago

@dayemsiddiqui Let's discuss this after you return from your exams.

Items to discuss:

  1. I am assuming that the messages do not mix with Chat.

Please refer to https://github.com/Cloudkibo/KiboPush/issues/2226

dayemsiddiqui commented 6 years ago

We have implemented smart replies. THis issue can be closed now. We have a separate design document task for enhancements in smart replies