Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/loristns/wisty.js
🧚♀️ Chatbot library turning conversations into actions, locally, in the browser.
https://github.com/loristns/wisty.js
assistant bot bot-framework chatbot chatbots conversational-agents conversational-ai dialogue-systems hybrid-code-networks javascript machine-learning named-entity-recognition natural-language-processing nlp nlu tensorflow tensorflowjs
Last synced: 7 days ago
JSON representation
🧚♀️ Chatbot library turning conversations into actions, locally, in the browser.
- Host: GitHub
- URL: https://github.com/loristns/wisty.js
- Owner: loristns
- License: mit
- Created: 2020-04-14T07:06:21.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-03-05T10:54:13.000Z (over 1 year ago)
- Last Synced: 2024-09-22T08:31:01.536Z (11 days ago)
- Topics: assistant, bot, bot-framework, chatbot, chatbots, conversational-agents, conversational-ai, dialogue-systems, hybrid-code-networks, javascript, machine-learning, named-entity-recognition, natural-language-processing, nlp, nlu, tensorflow, tensorflowjs
- Language: TypeScript
- Homepage: https://xtns.dev/projects/wisty
- Size: 7.68 MB
- Stars: 26
- Watchers: 4
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: readme.md
- Changelog: changelog.md
- License: license.txt
Awesome Lists containing this project
README
Build conversational interfaces for the browser.[![npm](https://img.shields.io/npm/v/wisty)](https://www.npmjs.com/package/wisty)
[![Build Status](https://travis-ci.org/the-new-sky/Wisty.js.svg?branch=main)](https://travis-ci.org/the-new-sky/Wisty.js)**Wisty.js** is a JavaScript natural language processing library to build contextual chatbots or virtual assistants on the web.
- Powered by machine learning thanks to [TensorFlow.js](https://github.com/tensorflow/tfjs).
- Supports training and inference in Node.js and most browsers : you can integrate a bot into your front-end without having to rely on some infrastructure or a cloud service.
- It reduces the amount of hardcoded logic you have to write : new features are just a few training dialogs away.
### Status
The project is in alpha : the API is unstable as new feature keeps being added.
## Installation
```bash
$ npm install wisty
``````js
import * as wisty from 'wisty';wisty.tools.parseStories(...);
```If you intend to run Wisty on Node.js, then the TensorFlow C Backend can speeds up your bot :
```bash
$ npm install @tensorflow/tfjs-node
``````js
const tf = require('@tensorflow/tfjs-node');
const wisty = require('wisty');
```You can also use CDNs :
```html
```
As the API is currently unstable, it is recommended to use a fixed version.
## Demos
You can find open source demos of chatbots running with Wisty.js in [the demos folder](https://github.com/loristns/Wisty.js/tree/main/demos).
- **Passwords** : An assistant trying to help you identify yourself on a web site if you have troubles logging in.
- The implementation is quick and dirty JavaScript in the HTML and a customized style for [BotUI](https://github.com/botui/botui).- **Restaurant** : A chatbot taking orders for a restaurant.
- Implemented from scratch with Vue.js 3 and Vite.## Documentation
For the moment, only the API reference is available on [GitHub Pages](https://loristns.github.io/Wisty.js/).
## License
Wisty.js is licensed under the [MIT license](../main/license.txt).