daniel-kukiela / nmt-chatbot

NMT Chatbot
GNU General Public License v3.0
385 stars 213 forks source link

Using the model in production #115

Open tuyoisaza opened 5 years ago

tuyoisaza commented 5 years ago

HI! First of all Thanks! This has been really useful.

Question: How can I use this model on production? Like answer my webchat or use it as a bot in facebook?

Any leads? could you pointe me in the right direction? Thanks again!!

tuyoisaza commented 5 years ago

I been trying to use the model in TensorFlow Serving... with no luck... any pointers?

apakrash commented 5 years ago

(this is not the most productive way, but this works) use the module inference.py as module in a python

import inference answers = inference.inference_internal('Hi')

This will get all the answers,(I am thinking, but not sure), get the output for the best score