Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

neural-chatbot-react-retro

Package Overview
Dependencies
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

neural-chatbot-react-retro

A retro looking react component for the neural-chatbot.

  • 1.0.15
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Neural Chatbot React Retro

A react component for the neural-chatbot that looks a little like a terminal. The application is completely client side so it runs int the browser.

Installation

npm install neural-chatbot-react-retro

Details

The Neural Chatbot is a completely client side chat bot. You can embed it in browser applications without the need for an API key and without sending any information to external servers. It uses tensorflowjs universal sentence embeddings for intent classification followed by a similarity based slot filling system. This bot relies on the following npm modules which can be used in other natural language understanding systems neural-chatbot, neural-phrasex, neural-sentence-search, slot-filler, sentence-similarity and of course tensorflowjs.

Image of Component

The component has several properties including the "botConfig" which contains the phrase database. See here for an example. A running (work in progress) example is provided here

Here are the default properties for the component

static defaultProps = {
    backgroundColor: 'black',
    botColor: 'green',
    userColor: 'orange',
    botSymbol: '',
    userSymbol: '>',
    startMessage: "Loading up.  Wait a bit.",
    finishedLoadingMessage: "Ok,I'm ready.",
    fontSize: "large",
    botConfig: defaultConfig
  }

and this is how the component can be called

import React from 'react';
import NeuralChatbotReactRetro from 'neural-chatbot-react-retro'

function App() {
  return (
    <div style={{ margin: '2%' }}>
      <NeuralChatbotReactRetro backgroundColor='black'></NeuralChatbotReactRetro>
    </div>
  );
}

export default App;

Keywords

FAQs

Package last updated on 24 Dec 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc