node-red-contrib-chatbot
Version:
REDBot a Chat bot for a full featured chat bot for Telegram, Facebook Messenger and Slack. Almost no coding skills required
36 lines (32 loc) • 1.34 kB
HTML
<script type="text/javascript">
$.RedBot.registerType('chatbot-nlpjs-save',{
category: $.RedBot.config.name + ' Parsers',
color: '#FFCC66',
defaults: {
filename: {
value: '',
required: true
},
outputs: {
value: 0
}
},
inputs: 1,
outputs: 0,
icon: 'chatbot-listen-lexicon.png',
paletteLabel: 'NLP.js Save',
label: function() {
return 'NLP.js Save';
}
});
</script>
<script type="text/x-red" data-template-name="chatbot-nlpjs-save">
<div class="form-row form-row-name">
<label for="node-input-intent"><i class="icon-tag"></i> Model filename</label>
<input type="text" id="node-input-filename" placeholder="Filename">
</div>
</script>
<script type="text/x-red" data-help-name="chatbot-nlpjs-save"><p>Training a model is time consuming, to avoid delay during the startup in a production environment use the <code>NLP.js Save node</code> to store the model generated by <a href="https://www.notion.so/77f9e99250274f12b37b67fd3854f831">NLPjs Train</a> .</p>
<p><img src="https://raw.githubusercontent.com/guidone/node-red-contrib-chatbot/master/docs/images/nlp-train.png" alt="Train model"></p>
<p>Use the <a href="https://www.notion.so/fc80ea9420fe492389109c610ee7f812">NLPjs Load</a> to load the model when the flow starts.</p>
</script>