manthanhd / talkify

Talkify is an open source framework with an aim to standardize and model conversational AI enabling development of personal assistants and chat bots. The mission of this framework is to make developing chat bots and personal assistants as easy as spinning up a simple website in html.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrap default classifier into an abstract implementation

manthanhd opened this issue · comments

This prepares for fully pluggable classifiers like Watson.

As of now, the following methods need to be exposed from the Classifier interface:

  • getClassifications(text, callback)
  • addDocument(text, topic, callback)
  • train(callback)

Most of these methods are currently synchronous so first of all that will have to change.

It would be a good idea to isolate the Classifier interface into its own package.

This abstract implementation might work with something like the talkify-watson-classifier.:

ezoic increase your site revenue