1.0.7 • Published 3 years ago

warp-contracts-nlp-plugin v1.0.7

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

Warp Contracts Nlp plugin

This plugin attaches the NlpManager from the nlp.js library to the SmartWeave global object.
It can be then used inside the contract like this:

const manager = new SmartWeave.extensions
  .NlpManager({languages: ['en'], forceNER: true, nlu: { log: true }});

Installation

yarn add warp-contracts-nlp-plugin

import {NlpExtension} from "warp-contracts-nlp-plugin";
import {WarpFactory} from "warp-contracts";

const warp = WarpFactory.forMainnet()
  .use(new NlpExtension())

Requires warp-contract SDK ver. min. 1.2.18.

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago