node package manager
Stop wasting time. Easily manage code sharing in your team. Create a free org ยป

qwiery

Qwiery

Qwiery is a symbolic cognitive architecture for building agents, text-based user interfaces and cognitive pipelines in general. It's a constuctive approach to cognitive computing and computational knowledge based on a modular system (plugins) with a focus on NLP-oriented interactions but allows a wide range of scenarios, including hybrid combinations of technologies (Python, R, Neo4j...) and approaches (neural networks, machine learning...).

The framework can articulate bots, utterance-intend interactions, REST services, HTML output and is an engine focused on processing interactions rather than a particular IO channel. It's written in JavaScript (NodeJS) and as such favors some constructs like Express, JSON and HTML but through the flexibility of NodeJS allows easy integration with XML, Python and whatnot.

Out of the box you will find in Qwiery a broad range of functionalities and features:

  • support for multiple instances; instances can be clustered (via NodeJS cluster or load-balanced) and will not interfere. All persistent data sits in the backend and can be shared by agents and instances
  • multiple agents (aka Qwiery apps): you can have unlimited agents with different behaviors and pipelines
  • plugins: custom services, commands and interpreters can be easily added
  • open: other technologies can be easily integrated; Neo4j to store semantic knowledge, use R for machine learning, integrate Keras for deep learning and so on
  • multi-user: interactions can be anonymous or personal, identity and login can be integrated and through this allow for personalization, emotional analytics and so on
  • packages can extend the functionality of Qwiery. The Qwiery package server allows to package custom plugins and interactions so you can share, reuse and collaborate around a particular domain. Qwiery packages are versioned and the server code can easily be adapted to custom needs
  • NLP oriented through various integrated utilities: POS, sentiment analysis, rule-based sentence filtering and so on
  • workflows (aka state machines) help you create coherent interactions around related tasks (say, ordering train tickets)

See the documentation for a complete feature list.

It should be emphasized that Qwiery does not exclude deep learning, supervised machine learning and reinforcement learning. The framework allows one to include deep learning models as interpreters and Qwiery can be used to train models through interactions. The plugin system and the agent pipelines are a way to organize and integrate multiple processes (possibly in parallel) with a slight emphasis on NLP, but you are free to inject things in whatever way you see fit.

Installation

npm i qwiery

In a JS file add

const Qwiery = require("qwiery");
Qwiery.repl();

and run it with

node index.js

to see a basic REPL interface to Qwiery. There are many other ways you can use it, see the documentation for more.

Support and feedback

References: