Skip to content
This repository was archived by the owner on Jun 30, 2018. It is now read-only.

martelogan-legacy-projects/cheeky-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facebook Friendbot Factory

Automated Pipeline to Train & Deploy Fb-Friendified Chatbots

This project provides a convenient environment and automation pipeline to

  1. Construct trainable conversation data from Facebook Messenger chat history
  2. Train chatbot models of individual friends based on conversation data
  3. Wrap these models for simple deployment to fit third-party chatbot API

Current Project Status

  1. ready - config demonstrated via DeepQA-trainable execution
  2. ready - successful batch training demonstrated via DeepQA module
  3. todo - need to script deployment and prepare example wrapper

Installation & Execution

Assuming that all external dependencies are ready and respective paths appropriately specified under the config subdirectory, the training and deployment execution scripts can be run immediately from the project root.

Of course, the environment setup has some fairly strict requirements:

  1. Ensure that your local environment is equipped with a Bash version >=3, in addition to
    seperate distributions of Python 2.7+ and Python 3+ (ideally managed by conda)

  1. Install the fb-chat-archive-parser via pip under the Python 2.7 environment by running:
   pip install fbchat-archive-parser

  1. Install some training library to which the friendbot factory will relay conversation data for consumption
    (the default is DeepQA)

  1. Ensure that an uncompressed facebook archive is made available
    (conventionally under data/facebook_unstructured)

  1. Specify desired setup at config/training/training.config & config/deployment/deployment.config

  1. Run ./train.sh or ./deploy.sh from project root per relevant task

License

This code is under the Apache License 2.0.

If you use or modify cheeky-chatbot, please credit the original author as

About

(DEFUNCT) - Messy github experiment later realized as https://github.com/martelogan/fb-friendbot-factory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors