This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch web-site
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft-website.git
The following commit(s) were added to refs/heads/web-site by this push:
new 3849134 Prep for 0.9.0 release.
3849134 is described below
commit 38491349f131022fd7d763e939da89e6317b2f33
Author: Aaron Radzinzski <[email protected]>
AuthorDate: Sat Jul 31 20:15:30 2021 -0700
Prep for 0.9.0 release.
---
404.html | 2 +-
blogs.html | 2 +-
blogs/composable_named_entities.html | 4 +--
blogs/nlpcraft-idl-intent-definition-language.html | 4 +--
blogs/quick_intro_apache_nlpcraft.html | 4 +--
blogs/short_term_memory.html | 2 +-
cheat-sheet.html | 36 +++++++++++-----------
community.html | 4 +--
data-model.html | 4 +--
docs.html | 2 +-
download.html | 28 ++++++++---------
examples/alarm_clock.html | 4 +--
examples/light_switch.html | 4 +--
examples/sql_model.html | 4 +--
examples/weather_bot.html | 4 +--
feed.xml | 2 +-
first-example.html | 4 +--
getting-started.html | 6 ++--
index.html | 2 +-
installation.html | 2 +-
integrations.html | 12 ++++----
intent-matching.html | 4 +--
metrics-and-tracing.html | 4 +--
relnotes/release-notes-0.5.0.html | 2 +-
relnotes/release-notes-0.6.2.html | 2 +-
relnotes/release-notes-0.7.0.html | 2 +-
relnotes/release-notes-0.7.1.html | 2 +-
relnotes/release-notes-0.7.2.html | 2 +-
relnotes/release-notes-0.7.3.html | 2 +-
relnotes/release-notes-0.7.4.html | 2 +-
relnotes/release-notes-0.7.5.html | 2 +-
relnotes/release-notes-0.8.0.html | 2 +-
relnotes/release-notes-0.9.0.html | 2 +-
server-and-probe.html | 18 +++++------
short-term-memory.html | 2 +-
tools/embedded_probe.html | 4 +--
tools/script.html | 4 +--
tools/sql_model_gen.html | 6 ++--
tools/syn_tool.html | 4 +--
tools/test_framework.html | 6 ++--
use-cases.html | 2 +-
using-rest.html | 4 +--
42 files changed, 107 insertions(+), 107 deletions(-)
diff --git a/404.html b/404.html
index b441298..af51433 100644
--- a/404.html
+++ b/404.html
@@ -15,4 +15,4 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
diff --git a/blogs.html b/blogs.html
index 2d67d5b..f280531 100644
--- a/blogs.html
+++ b/blogs.html
@@ -15,4 +15,4 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
diff --git a/blogs/composable_named_entities.html
b/blogs/composable_named_entities.html
index 5e44ea1..f548598 100644
--- a/blogs/composable_named_entities.html
+++ b/blogs/composable_named_entities.html
@@ -15,7 +15,7 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
"elements": [
{
"id": "custom:city:usa",
@@ -41,4 +41,4 @@
]
}
]
- </pre><p> In this example, we defined a new named entity
<code>custom:airport:usa</code>. In its definition we not only filter cities
for the USA but also added a prefix that would indicate that this is an airport
(learn more about NLPCraft IDL syntax <a
href="https://nlpcraft.apache.org/intent-matching.html">here</a>).</p><p>
Composable named entities can be nested but not recursive. All the normalized
metadata of the constituent (part) entities - of any nesting depths - is
accessib [...]
+ </pre><p> In this example, we defined a new named entity
<code>custom:airport:usa</code>. In its definition we not only filter cities
for the USA but also added a prefix that would indicate that this is an airport
(learn more about NLPCraft IDL syntax <a
href="https://nlpcraft.apache.org/intent-matching.html">here</a>).</p><p>
Composable named entities can be nested but not recursive. All the normalized
metadata of the constituent (part) entities - of any nesting depths - is
accessib [...]
diff --git a/blogs/nlpcraft-idl-intent-definition-language.html
b/blogs/nlpcraft-idl-intent-definition-language.html
index 00b9faf..2e31fec 100644
--- a/blogs/nlpcraft-idl-intent-definition-language.html
+++ b/blogs/nlpcraft-idl-intent-definition-language.html
@@ -15,7 +15,7 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
intent=xa
flow="^(?:login)(^:logout)*$"
meta={'enabled': true}
@@ -89,4 +89,4 @@
term~{tok_id() == 'some_id'}"
)
def onX(): NCResult = { .. }
- </pre><p> The predicate defined in the method
<code>customFlow()</code> receives at the input a list with all intents
information, previously matched within the current session, and returns a
boolean value.</p><li><p><b>Intent Metadata</b></p><p> Optional element. A
additional dataset that can be used by term predicates presented in JSON
format.</p></ul></section><section><h2 class="section-title">Why Do We Need
NLPCraft IDL? <a href="#"><i class="top-link fas fa-fw fa-angle- [...]
+ </pre><p> The predicate defined in the method
<code>customFlow()</code> receives at the input a list with all intents
information, previously matched within the current session, and returns a
boolean value.</p><li><p><b>Intent Metadata</b></p><p> Optional element. A
additional dataset that can be used by term predicates presented in JSON
format.</p></ul></section><section><h2 class="section-title">Why Do We Need
NLPCraft IDL? <a href="#"><i class="top-link fas fa-fw fa-angle- [...]
diff --git a/blogs/quick_intro_apache_nlpcraft.html
b/blogs/quick_intro_apache_nlpcraft.html
index a4840f9..2ec4aa5 100644
--- a/blogs/quick_intro_apache_nlpcraft.html
+++ b/blogs/quick_intro_apache_nlpcraft.html
@@ -15,7 +15,7 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
id: "nlpcraft.lightswitch.ex"
name: "Light Switch Example Model"
version: "1.0"
@@ -78,4 +78,4 @@
NCResult.text(s"Lights are [$status] in
[${locations.toLowerCase}].")
}
}
- </pre><p><b>NOTES:</b></p><ul><li> We use an <a target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCModelFileAdapter.html">NCModelFileAdapter</a>
adapter that allows us to load our static model configuration from a YAML
file.<li> Method <code>onMatch(...)</code> is a callback function for our
intent <code>"ls"</code> (define above in the
<code>lightswitch_model.yaml</code> file).<li> Method <code>onMatch(...)</code>
has two input parameters:<ul><li>A single token from the [...]
+ </pre><p><b>NOTES:</b></p><ul><li> We use an <a target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCModelFileAdapter.html">NCModelFileAdapter</a>
adapter that allows us to load our static model configuration from a YAML
file.<li> Method <code>onMatch(...)</code> is a callback function for our
intent <code>"ls"</code> (define above in the
<code>lightswitch_model.yaml</code> file).<li> Method <code>onMatch(...)</code>
has two input parameters:<ul><li>A single token from the [...]
diff --git a/blogs/short_term_memory.html b/blogs/short_term_memory.html
index 6592723..7c6fec8 100644
--- a/blogs/short_term_memory.html
+++ b/blogs/short_term_memory.html
@@ -15,4 +15,4 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
diff --git a/cheat-sheet.html b/cheat-sheet.html
index 00a32ec..5ea4040 100644
--- a/cheat-sheet.html
+++ b/cheat-sheet.html
@@ -15,12 +15,12 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
- $ unzip -q
apache-nlpcraft-incubating-0.8.0.zip
- $ cd apache-nlpcraft-incubating-0.8.0
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+ $ unzip -q
apache-nlpcraft-incubating-0.9.0.zip
+ $ cd apache-nlpcraft-incubating-0.9.0
$ mvn clean package -P examples -DskipTests
- </pre><p> Built JARs and Javadoc will be
located in <code>target</code> sub-folders of individual modules.</p></div><div
class="tab-pane fade show" id="nav-install-bin" role="tabpanel"><p></p><p> <a
href="/download.html#src">Download</a> latest binary release
(<code>apache-nlpcraft-incubating-bin-<b>0.8.0</b>.zip</code>). Once
downloaded:</p><pre class="brush: bash">
- $ unzip -q
apache-nlpcraft-incubating-bin-0.8.0.zip
+ </pre><p> Built JARs and Javadoc will be
located in <code>target</code> sub-folders of individual modules.</p></div><div
class="tab-pane fade show" id="nav-install-bin" role="tabpanel"><p></p><p> <a
href="/download.html#src">Download</a> latest binary release
(<code>apache-nlpcraft-incubating-bin-<b>0.9.0</b>.zip</code>). Once
downloaded:</p><pre class="brush: bash">
+ $ unzip -q
apache-nlpcraft-incubating-bin-0.9.0.zip
</pre></div><div class="tab-pane fade show"
id="nav-install-github" role="tabpanel"><pre class="brush: bash">
$ git clone
https://github.com/apache/incubator-nlpcraft.git
$ mvn clean package -P examples
@@ -28,16 +28,16 @@
<dependency>
<groupId>org.apache.nlpcraft</groupId>
<artifactId>nlpcraft</artifactId>
- <version>0.8.0</version>
+ <version>0.9.0</version>
</dependency>
</pre><p> <b>NOTE:</b> to get <a
href="/tools/script.html">NLPCraft CLI script</a> you still need to download <a
href="/download.html#zip">binary</a> ZIP or <a
href="/download.html#build">build</a> from <a
href="/download.html#src">source</a>.</p></div><div class="tab-pane fade"
id="nav-install-grape" role="tabpanel"><pre class="brush: java">
- @Grab
('org.apache.nlpcraft:nlpcraft:0.8.0')
+ @Grab
('org.apache.nlpcraft:nlpcraft:0.9.0')
</pre><p> <b>NOTE:</b> to get <a
href="/tools/script.html">NLPCraft CLI script</a> you still need to download <a
href="/download.html#zip">binary</a> ZIP or <a
href="/download.html#build">build</a> from <a
href="/download.html#src">source</a>.</p></div><div class="tab-pane fade"
id="nav-install-gradle" role="tabpanel"><pre class="brush: java">
dependencies {
- runtime group: 'org.apache.nlpcraft',
name: 'nlpcraft', version: '0.8.0'
+ runtime group: 'org.apache.nlpcraft',
name: 'nlpcraft', version: '0.9.0'
}
</pre><p> <b>NOTE:</b> to get <a
href="/tools/script.html">NLPCraft CLI script</a> you still need to download <a
href="/download.html#zip">binary</a> ZIP or <a
href="/download.html#build">build</a> from <a
href="/download.html#src">source</a>.</p></div><div class="tab-pane fade"
id="nav-install-sbt" role="tabpanel"><pre class="brush: scala">
- libraryDependencies +=
"org.apache.nlpcraft" % "nlpcraft" % "0.8.0"
+ libraryDependencies +=
"org.apache.nlpcraft" % "nlpcraft" % "0.9.0"
</pre><p> <b>NOTE:</b> to get <a
href="/tools/script.html">NLPCraft CLI script</a> you still need to download <a
href="/download.html#zip">binary</a> ZIP or <a
href="/download.html#build">build</a> from <a
href="/download.html#src">source</a>.</p></div></div></div></div></div><div
class="card"><div class="card-header" id="q2"><h2 class="mb-0"> <button
class="btn btn-link btn-block text-left" type="button" data-toggle="collapse"
data-target="#cheat2"> Start [...]
$ bin/nlpcraft.sh help -c=start-server # Get
help.
$ bin/nlpcraft.sh start-server # Start server.
@@ -46,11 +46,11 @@
$ bin/nlpcraft.sh stop-server # Stop server.
$ bin/nlpcraft.sh stop # Stop both server and
probe.
</pre></div><div class="tab-pane fade show"
id="nav-srv-class" role="tabpanel"><p></p><p> If using executable JAR:</p><pre
class="brush: bash">
- $ java -Xms1024m -jar
apache-nlpcraft-incubating-0.8.0-all-deps.jar -server
+ $ java -Xms1024m -jar
apache-nlpcraft-incubating-0.9.0-all-deps.jar -server
</pre><p> If specifying additional classpath
components and need <code>-cp</code> parameter:</p><pre class="brush: bash">
- $ java -Xms1024m -cp
apache-nlpcraft-incubating-0.8.0-all-deps.jar org.apache.nlpcraft.NCStart
-server
- </pre><p> <b>NOTES:</b></p><ul><li> Make sure to
provide correct path to
<code>apache-nlpcraft-incubating-<b>0.8.0</b>-all-deps.jar</code> file.<li>
Class <code>org.apache.nlpcraft.NCStart</code> is a common entry point for all
NLPCraft runtime components.<li> Class <code>org.apache.nlpcraft.NCStart</code>
should be used to star REST server from IDE.</ul><p> Parameters:</p><dl><dt>
<code>-server</code><dd> <em>Mandatory</em> parameter to indicate that you are
[...]
- $ docker run -m 8G -p 8081:8081 -p 8201:8201
-p 8202:8202 nlpcraftserver/server:0.8.0
+ $ java -Xms1024m -cp
apache-nlpcraft-incubating-0.9.0-all-deps.jar org.apache.nlpcraft.NCStart
-server
+ </pre><p> <b>NOTES:</b></p><ul><li> Make sure to
provide correct path to
<code>apache-nlpcraft-incubating-<b>0.9.0</b>-all-deps.jar</code> file.<li>
Class <code>org.apache.nlpcraft.NCStart</code> is a common entry point for all
NLPCraft runtime components.<li> Class <code>org.apache.nlpcraft.NCStart</code>
should be used to star REST server from IDE.</ul><p> Parameters:</p><dl><dt>
<code>-server</code><dd> <em>Mandatory</em> parameter to indicate that you are
[...]
+ $ docker run -m 8G -p 8081:8081 -p 8201:8201
-p 8202:8202 nlpcraftserver/server:0.9.0
</pre></div></div></div></div></div><div
class="card"><div class="card-header" id="q3"><h2 class="mb-0"> <button
class="btn btn-link btn-block text-left" type="button" data-toggle="collapse"
data-target="#cheat3"> Start <span class="amp">&</span> Stop REST Probe
</button></h2></div><div id="cheat3" class="collapse"
data-parent="#cheats"><div class="card-body"><nav><div class="nav nav-tabs"
role="tablist"> <a class="nav-item nav-link active" data-toggle="ta [...]
$ bin/nlpcraft.sh help -c=start-probe #
Get help.
$ bin/nlpcraft.sh start-probe
--cp=~/myapp/target/classes # Start probe with default configuration.
@@ -61,16 +61,16 @@
$ bin/nlpcraft.sh stop-probe # Stop probe.
$ bin/nlpcraft.sh stop # Stop server and
probe.
</pre></div><div class="tab-pane fade show"
id="nav-probe-class" role="tabpanel"><p></p><p> If using executable
JAR:</p><pre class="brush: bash">
- $ java -jar
apache-nlpcraft-incubating-0.8.0-all-deps.jar -probe
+ $ java -jar
apache-nlpcraft-incubating-0.9.0-all-deps.jar -probe
</pre><p> If specifying additional classpath
components and need <code>-cp</code> parameter:</p><pre class="brush: bash">
- java -cp
apache-nlpcraft-incubating-0.8.0-all-deps.jar:/my/project/classes
org.apache.nlpcraft.NCStart -probe -config=/my/project/probe.conf
- </pre><p> <b>NOTES:</b></p><ul><li>
<code>/my/project</code> directory contains user-defined model
implementation<li> Make sure to provide correct path to
<code>apache-nlpcraft-incubating-<b>0.8.0</b>-all-deps.jar</code> file.<li>
Class <code>org.apache.nlpcraft.NCStart</code> is a common entry point for all
NLPCraft runtime components.<li> Class <code>org.apache.nlpcraft.NCStart</code>
should be used to star data probe from IDE.</ul><p> Parameters:</p><dl [...]
+ java -cp
apache-nlpcraft-incubating-0.9.0-all-deps.jar:/my/project/classes
org.apache.nlpcraft.NCStart -probe -config=/my/project/probe.conf
+ </pre><p> <b>NOTES:</b></p><ul><li>
<code>/my/project</code> directory contains user-defined model
implementation<li> Make sure to provide correct path to
<code>apache-nlpcraft-incubating-<b>0.9.0</b>-all-deps.jar</code> file.<li>
Class <code>org.apache.nlpcraft.NCStart</code> is a common entry point for all
NLPCraft runtime components.<li> Class <code>org.apache.nlpcraft.NCStart</code>
should be used to star data probe from IDE.</ul><p> Parameters:</p><dl [...]
$ bin/nlpcraft.sh help -c=test-model # Get
help.
$ bin/nlpcraft.sh test-model
--cp=~/myapp/target/classes # Test all models in specified classpath.
$ bin/nlpcraft.sh test-model
--cp=~/myapp/target/classes --mdls=my.package.Model --jmvOpts="-ea -Xms2048m"
> retest-model # Rerun the last model test
in REPL mode.
</pre></div><div class="tab-pane fade show"
id="nav-class" role="tabpanel"><pre class="brush: bash">
- java -cp
apache-nlpcraft-incubating-0.8.0-all-deps.jar
-DNLPCRAFT_TEST_MODELS=my.package.Model
org.apache.nlpcraft.model.tools.test.NCTestAutoModelValidator
+ java -cp
apache-nlpcraft-incubating-0.9.0-all-deps.jar
-DNLPCRAFT_TEST_MODELS=my.package.Model
org.apache.nlpcraft.model.tools.test.NCTestAutoModelValidator
</pre><p> <b>NOTES:</b></p><ul><li> Make sure
to add necessary classpath components.<li> <code>NLPCRAFT_TEST_MODELS</code>
system property that should contain comma separate list of the data model
classes to test.<li> You can also use
<code>org.apache.nlpcraft.model.tools.test.NCTestAutoModelValidator</code>
class directly to call it programmatically from the code or from
IDE.</ul></div></div></div></div></div><div class="card"><div
class="card-header" id= [...]
$ bin/nlpcraft.sh help -c=gen-project #
Get help.
$ bin/nlpcraft.sh gen-project -n=MyProject
-l=scala -b=sbt # Scala/SBT project stub.
@@ -90,4 +90,4 @@
$ bin/nlpcraft.sh help -c=rest # Get help.
$ bin/nlpcraft.sh rest -p=signin
-j='{"email": "[email protected]", "passwd": "admin"}' # Linux/Unix/MacOS REST
call.
$ bin/nlpcraft.cmd rest --path=signin
--json='{\"email\": \"[email protected]\", \"passwd\": \"admin\"}' # Window REST
call.
- </pre></div></div></div></div></div></div><div
class="bq info"><p> <b>NOTES:</b></p><ul><li> Use <span
class="keyboard">Tab</span> key for auto-completion for commands, parameters,
paths, and model class names.<li> <a href="/tools/script.html">NLPCraft CLI</a>
is available as <code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i>
and <code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-windows"></i>.<li> Run
<code class="script">bin/nlpcraft.sh he [...]
+ </pre></div></div></div></div></div></div><div
class="bq info"><p> <b>NOTES:</b></p><ul><li> Use <span
class="keyboard">Tab</span> key for auto-completion for commands, parameters,
paths, and model class names.<li> <a href="/tools/script.html">NLPCraft CLI</a>
is available as <code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i>
and <code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-windows"></i>.<li> Run
<code class="script">bin/nlpcraft.sh he [...]
diff --git a/community.html b/community.html
index 356a9b5..08b88dd 100644
--- a/community.html
+++ b/community.html
@@ -15,7 +15,7 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+------------+ +---------------+ +-----------------+
| | replica | | fork | |
| Apache Git | ==========> | GitHub Mirror | ---------> | John Doe's Fork |
@@ -36,4 +36,4 @@
</pre><li> Each time when you want to update your
local <code>master</code> do the following:<pre class="brush: bash">
git pull upstream
git checkout master
- </pre></ul><div class="bq info"><p><b>Branch
Naming in Forks</b></p><p> Note that you can use any naming scheme for the
branches in your local forks (i.e. you can work in <code>master</code> branch
in your local fork). However, when you up-merge from the GitHub mirror you need
to make sure to use <code>master</code> branch to get the latest
work-in-progress from the upstream.</p></div></ul><p>To make the
contribution:</p><ul><li> Fix or implement JIRA ticket i [...]
+ </pre></ul><div class="bq info"><p><b>Branch
Naming in Forks</b></p><p> Note that you can use any naming scheme for the
branches in your local forks (i.e. you can work in <code>master</code> branch
in your local fork). However, when you up-merge from the GitHub mirror you need
to make sure to use <code>master</code> branch to get the latest
work-in-progress from the upstream.</p></div></ul><p>To make the
contribution:</p><ul><li> Fix or implement JIRA ticket i [...]
diff --git a/data-model.html b/data-model.html
index efb2eb0..381223c 100644
--- a/data-model.html
+++ b/data-model.html
@@ -15,7 +15,7 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
package org.apache.nlpcraft.examples.lightswitch
import org.apache.nlpcraft.model.{NCIntentTerm, _}
@@ -333,4 +333,4 @@ intents:
"synonyms": [
"population {of|for} ^^[city]{tok_id() == 'nlpcraft:city' &&
lowercase(meta_tok('city:country')) == 'france'}^^"
]
- </pre><b>NOTES:</b><ul><li>Optional alias <code>city</code> can be
used to access a constituent part token (with ID
<code>nlpcraft:city</code>).<li> The expression between <code>{</code> and
<code>}</code> brackets is a standard IDL term
expression.</ul></section><section id="programmable_ners"><h2
class="section-title">Programmable NERs <a href="#"><i class="top-link fas
fa-fw fa-angle-double-up"></i></a></h2><p> By default, the data model detects
its elements by their synonyms, [...]
+ </pre><b>NOTES:</b><ul><li>Optional alias <code>city</code> can be
used to access a constituent part token (with ID
<code>nlpcraft:city</code>).<li> The expression between <code>{</code> and
<code>}</code> brackets is a standard IDL term
expression.</ul></section><section id="programmable_ners"><h2
class="section-title">Programmable NERs <a href="#"><i class="top-link fas
fa-fw fa-angle-double-up"></i></a></h2><p> By default, the data model detects
its elements by their synonyms, [...]
diff --git a/docs.html b/docs.html
index c3d8918..7e3b133 100644
--- a/docs.html
+++ b/docs.html
@@ -15,4 +15,4 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
diff --git a/download.html b/download.html
index 9787ff9..d558bfa 100644
--- a/download.html
+++ b/download.html
@@ -15,36 +15,36 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
- $ unzip -q apache-nlpcraft-incubating-0.8.0.zip
- $ cd apache-nlpcraft-incubating-0.8.0
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+ $ unzip -q apache-nlpcraft-incubating-0.9.0.zip
+ $ cd apache-nlpcraft-incubating-0.9.0
</pre><b>Build NLPCraft:</b><pre class="brush: bash">
$ mvn clean package -P examples -DskipTests
</pre><p> Built JARs and Javadoc will be located in
<code>target</code> sub-folders of individual modules.</p></section><section
id="verification"><h2 class="section-title">Release Verification <a href="#"><i
class="top-link fas fa-fw fa-angle-double-up"></i></a></h2><p> We highly
recommend verifying the integrity and authenticity of the ZIP archive by
comparing cryptographic signatures. Following instructions assume binary
release on MacOS/Linux environment but the verificat [...]
# Run these two commands and compare generated hashes:
- $ openssl dgst -sha256 apache-nlpcraft-incubating-0.8.0.zip
- $ cat apache-nlpcraft-incubating-0.8.0.zip.sha256
+ $ openssl dgst -sha256 apache-nlpcraft-incubating-0.9.0.zip
+ $ cat apache-nlpcraft-incubating-0.9.0.zip.sha256
</pre></div><div class="tab-pane fade show" id="nav-macos-pgp"
role="tabpanel"><pre class="brush: plain, highlight: [2]">
# NOTE: make sure to have GPGTools (gpgtools.org)
installed.
- $ gpg --verify apache-nlpcraft-incubating-0.8.0.zip.asc
apache-nlpcraft-incubating-0.8.0.zip
+ $ gpg --verify apache-nlpcraft-incubating-0.9.0.zip.asc
apache-nlpcraft-incubating-0.9.0.zip
</pre></div></div><h2 class="section-sub-title">Linux <a
href="#"><i class="top-link fas fa-fw
fa-angle-double-up"></i></a></h2><nav><div class="nav nav-tabs" role="tablist">
<a class="nav-item nav-link active" data-toggle="tab" href="#nav-linux-sha256"
role="tab">SHA256</a> <a class="nav-item nav-link" data-toggle="tab"
href="#nav-linux-pgp" role="tab">PGP</a></div></nav><div
class="tab-content"><div class="tab-pane fade show active"
id="nav-linux-sha256" role="tabpanel" [...]
- $ sha256sum --check
apache-nlpcraft-incubating-0.8.0.zip.sha256
+ $ sha256sum --check
apache-nlpcraft-incubating-0.9.0.zip.sha256
</pre></div><div class="tab-pane fade show" id="nav-linux-pgp"
role="tabpanel"><pre class="brush: plain, highlight: [1]">
- $ gpg --verify apache-nlpcraft-incubating-0.8.0.zip.asc
apache-nlpcraft-incubating-0.8.0.zip
- </pre></div></div></section><section id="maven"><h2
class="section-title">Maven/Grape/SBT <a href="#"><i class="top-link fas fa-fw
fa-angle-double-up"></i></a></h2><p> The easiest way to start using NLPCraft is
to add Maven dependency (Grape, SBT, etc.) to your project. NLPCraft project
consists of a single module (<code><b>0.8.0</b></code> is the latest
version).</p><nav><div class="nav nav-tabs" role="tablist"> <a class="nav-item
nav-link active" data-toggle="tab" href= [...]
+ $ gpg --verify apache-nlpcraft-incubating-0.9.0.zip.asc
apache-nlpcraft-incubating-0.9.0.zip
+ </pre></div></div></section><section id="maven"><h2
class="section-title">Maven/Grape/SBT <a href="#"><i class="top-link fas fa-fw
fa-angle-double-up"></i></a></h2><p> The easiest way to start using NLPCraft is
to add Maven dependency (Grape, SBT, etc.) to your project. NLPCraft project
consists of a single module (<code><b>0.9.0</b></code> is the latest
version).</p><nav><div class="nav nav-tabs" role="tablist"> <a class="nav-item
nav-link active" data-toggle="tab" href= [...]
<dependency>
<groupId>org.apache.nlpcraft</groupId>
<artifactId>nlpcraft</artifactId>
- <version>0.8.0</version>
+ <version>0.9.0</version>
</dependency>
</pre></div><div class="tab-pane fade" id="nav-grape"
role="tabpanel"><pre class="brush: java">
- @Grab ('org.apache.nlpcraft:nlpcraft:0.8.0')
+ @Grab ('org.apache.nlpcraft:nlpcraft:0.9.0')
</pre></div><div class="tab-pane fade" id="nav-gradle"
role="tabpanel"><pre class="brush: java">
dependencies {
- runtime group: 'org.apache.nlpcraft', name:
'nlpcraft', version: '0.8.0'
+ runtime group: 'org.apache.nlpcraft', name:
'nlpcraft', version: '0.9.0'
}
</pre></div><div class="tab-pane fade" id="nav-sbt"
role="tabpanel"><pre class="brush: scala">
- libraryDependencies += "org.apache.nlpcraft" % "nlpcraft"
% "0.8.0"
+ libraryDependencies += "org.apache.nlpcraft" % "nlpcraft"
% "0.9.0"
</pre></div></div><div class="bq warn"><p> <b>Missing
<code>nlpcraft.{sh|cmd}</code> script</b></p><p> Note that when use just Maven
dependencies you will not get non-code components of the project such as
<code>nlpcraft.{sh|cmd}</code> management script, SQL for various optional
databases, local Javadoc, etc. If you need any of these components you will
need to download full project.</p></div><p> See <a
href="/integrations.html#stanford">integration</a> section for a [...]
$ git clone https://github.com/apache/incubator-nlpcraft.git
$ mvn clean package -P examples
@@ -62,4 +62,4 @@
}
</pre></div><div class="tab-pane fade"
id="nav-java-client-sbt" role="tabpanel"><pre class="brush: scala">
libraryDependencies += "org.apache.nlpcraft" %
"java-client" % "0.7.5"
- </pre></div></div><div class="bq info"><p> <b>Latest
Version</b></p><p> <code>0.7.5</code> is the latest Java Client version. You
can replace it with a desired version.</p></div></section></div><div
class="col-md-2 third-column"><ul class="side-nav"><li
class="side-nav-title">On This Page<li><a href="#src">Source Release</a><li><a
href="#zip">Binary Release</a><li><a href="#build">Building Binaries</a><li><a
href="#verification">Verification</a><li><a href="#maven">Ma [...]
+ </pre></div></div><div class="bq info"><p> <b>Latest
Version</b></p><p> <code>0.7.5</code> is the latest Java Client version. You
can replace it with a desired version.</p></div></section></div><div
class="col-md-2 third-column"><ul class="side-nav"><li
class="side-nav-title">On This Page<li><a href="#src">Source Release</a><li><a
href="#zip">Binary Release</a><li><a href="#build">Building Binaries</a><li><a
href="#verification">Verification</a><li><a href="#maven">Ma [...]
diff --git a/examples/alarm_clock.html b/examples/alarm_clock.html
index 035f10a..bc37742 100644
--- a/examples/alarm_clock.html
+++ b/examples/alarm_clock.html
@@ -15,7 +15,7 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
$ bin/nlpcraft.sh gen-project --baseName=AlarmClock
--outputDir=~ --pkgName=demo --mdlType=json
</pre><p> <b>NOTES:</b></p><ul><li> New project created in
<code>/home/AlarmClock</code> directory.<li> <code>gen-project</code> command
defaults to Java and Maven as its built tool.<li> Run <code
class="script">bin/nlpcraft.sh help --cmd=gen-project</code> to get a full help
on <code>gen-project</code> command.<li> <a href="/tools/script.html">NLPCraft
CLI</a> is available as <code>nlpcraft.sh</code> for <i class="fab fa-fw
fa-linux"></i> and <code>nlpcraft.cmd</code> fo [...]
{
@@ -138,4 +138,4 @@ public class AlarmClock extends NCModelFileAdapter {
$ bin/nlpcraft.sh start-server
</pre></div><div class="tab-pane fade show" id="nav-srv-out"
role="tabpanel"><p></p><p> <img class="img-fluid" alt=""
src="/images/server-fig1.png"></p></div></div><p> <b>NOTES:</b></p><ul><li> <i
style="color: #F39C12" class="fa fa-exclamation-triangle"></i> REST server is a
"fire-and-forget" component that you generally needs to start only once for
this and any other examples.<li> Run <code class="script">bin/nlpcraft.sh help
--cmd=start-server</code> to get a full help [...]
$ bin/nlpcraft.sh test-model --cp=~/AlarmClock/target/classes
--mdls=demo.AlarmClock
- </pre><p> <b>NOTES:</b></p><ul><li> Run <code
class="script">bin/nlpcraft.sh help --cmd=test-model</code> to get a full help
on this command.<li> Note that you can use <code>retest-model</code> command in
REPL mode to re-run the last model test avoiding the retyping of all required
parameters.<li> <a href="/tools/script.html">NLPCraft CLI</a> is available as
<code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i> and
<code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-wi [...]
+ </pre><p> <b>NOTES:</b></p><ul><li> Run <code
class="script">bin/nlpcraft.sh help --cmd=test-model</code> to get a full help
on this command.<li> Note that you can use <code>retest-model</code> command in
REPL mode to re-run the last model test avoiding the retyping of all required
parameters.<li> <a href="/tools/script.html">NLPCraft CLI</a> is available as
<code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i> and
<code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-wi [...]
diff --git a/examples/light_switch.html b/examples/light_switch.html
index 222e8ad..128b4ee 100644
--- a/examples/light_switch.html
+++ b/examples/light_switch.html
@@ -15,7 +15,7 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
$ bin/nlpcraft.sh gen-project --baseName=LightSwitch
--outputDir=~ --pkgName=demo --lang=scala
</pre><p> <b>NOTES:</b></p><ul><li> New project created in
<code>/home/LightSwitch</code> directory.<li> <code>gen-project</code> command
defaults to Java and Maven as its built tool.<li> Run <code
class="script">bin/nlpcraft.sh help --cmd=gen-project</code> to get a full help
on <code>gen-project</code> command.<li> <a href="/tools/script.html">NLPCraft
CLI</a> is available as <code>nlpcraft.sh</code> for <i class="fab fa-fw
fa-linux"></i> and <code>nlpcraft.cmd</code> f [...]
id: "nlpcraft.lightswitch.ex"
@@ -119,4 +119,4 @@ class LightSwitch extends
NCModelFileAdapter("light_switch.yaml") {
$ bin/nlpcraft.sh start-server
</pre></div><div class="tab-pane fade show" id="nav-srv-out"
role="tabpanel"><p></p><p> <img class="img-fluid" alt=""
src="/images/server-fig1.png"></p></div></div><p> <b>NOTES:</b></p><ul><li> <i
style="color: #F39C12" class="fa fa-exclamation-triangle"></i> REST server is a
"fire-and-forget" component that you generally need to start it only once for
this and other examples.<li> Run <code class="script">bin/nlpcraft.sh help
--cmd=start-server</code> to get a full help o [...]
$ bin/nlpcraft.sh test-model --cp=~/LightSwitch/target/classes
--mdls=demo.LightSwitch
- </pre><p> <b>NOTES:</b></p><ul><li> Run <code
class="script">bin/nlpcraft.sh help --cmd=test-model</code> to get a full help
on this command.<li> Note that you can use <code>retest-model</code> command in
REPL mode to re-run the last model test avoiding the retyping of all required
parameters.<li> <a href="/tools/script.html">NLPCraft CLI</a> is available as
<code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i> and
<code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-wi [...]
+ </pre><p> <b>NOTES:</b></p><ul><li> Run <code
class="script">bin/nlpcraft.sh help --cmd=test-model</code> to get a full help
on this command.<li> Note that you can use <code>retest-model</code> command in
REPL mode to re-run the last model test avoiding the retyping of all required
parameters.<li> <a href="/tools/script.html">NLPCraft CLI</a> is available as
<code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i> and
<code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-wi [...]
diff --git a/examples/sql_model.html b/examples/sql_model.html
index e01e5c2..a41bbc0 100644
--- a/examples/sql_model.html
+++ b/examples/sql_model.html
@@ -15,11 +15,11 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
$ cd ~/SqlModel
$ mvn clean package
</pre><p> At this stage we have our project built and we are ready to
start testing.</p></section><section id="start_server"><h2
class="section-title">Start Server <a href="#"><i class="top-link fas fa-fw
fa-angle-double-up"></i></a></h2><p> Run the following command to start local
REST server, if it hasn't been started already, from the NLPCraft installation
directory:</p><nav><div class="nav nav-tabs" role="tablist"> <a class="nav-item
nav-link active" data-toggle="tab" href="# [...]
$ bin/nlpcraft.sh start-server
</pre></div><div class="tab-pane fade show" id="nav-srv-out"
role="tabpanel"><p></p><p> <img class="img-fluid" alt=""
src="/images/server-fig1.png"></p></div></div><p> <b>NOTES:</b></p><ul><li> <i
style="color: #F39C12" class="fa fa-exclamation-triangle"></i> REST server is a
"fire-and-forget" component that you generally need to start it only once for
this and any other examples.<li> Run <code class="script">bin/nlpcraft.sh help
--cmd=start-server</code> to get a full he [...]
$ bin/nlpcraft.sh test-model --cp=~/sql/target/classes
--mdls=demo.SqlModel
- </pre><p> <b>NOTES:</b></p><ul><li> Run <code
class="script">bin/nlpcraft.sh help --cmd=test-model</code> to get a full help
on this command.<li> Note that you can use <code>retest-model</code> command in
REPL mode to re-run the last model test avoiding the retyping of all required
parameters.<li> <a href="/tools/script.html">NLPCraft CLI</a> is available as
<code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i> and
<code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-wi [...]
+ </pre><p> <b>NOTES:</b></p><ul><li> Run <code
class="script">bin/nlpcraft.sh help --cmd=test-model</code> to get a full help
on this command.<li> Note that you can use <code>retest-model</code> command in
REPL mode to re-run the last model test avoiding the retyping of all required
parameters.<li> <a href="/tools/script.html">NLPCraft CLI</a> is available as
<code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i> and
<code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-wi [...]
diff --git a/examples/weather_bot.html b/examples/weather_bot.html
index 9460ed3..49617b3 100644
--- a/examples/weather_bot.html
+++ b/examples/weather_bot.html
@@ -15,7 +15,7 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
$ bin/nlpcraft.sh gen-project --baseName=Weather
--outputDir=~ --pkgName=demo --mdlType=json
</pre><p> <b>NOTES:</b></p><ul><li> New project created in
<code>/home/Weather</code> directory.<li> <code>gen-project</code> command
defaults to Java and Maven as its built tool.<li> Run <code
class="script">bin/nlpcraft.sh help --cmd=gen-project</code> to get a full help
on <code>gen-project</code> command.<li> <a href="/tools/script.html">NLPCraft
CLI</a> is available as <code>nlpcraft.sh</code> for <i class="fab fa-fw
fa-linux"></i> and <code>nlpcraft.cmd</code> for < [...]
{
@@ -270,4 +270,4 @@ public class WeatherModel extends NCModelFileAdapter {
$ bin/nlpcraft.sh start-server
</pre></div><div class="tab-pane fade show" id="nav-srv-out"
role="tabpanel"><p></p><p> <img class="img-fluid" alt=""
src="/images/server-fig1.png"></p></div></div><p> <b>NOTES:</b></p><ul><li> <i
style="color: #F39C12" class="fa fa-exclamation-triangle"></i> REST server is a
"fire-and-forget" component that you generally need to start it only once.<li>
Run <code class="script">bin/nlpcraft.sh help --cmd=start-server</code> to get
a full help on this command.<li> <a href= [...]
$ bin/nlpcraft.sh test-model --cp=~/Weather/target/classes
--mdls=demo.Weather
- </pre><p> <b>NOTES:</b></p><ul><li> Run <code
class="script">bin/nlpcraft.sh help --cmd=test-model</code> to get a full help
on this command.<li> Note that you can use <code>retest-model</code> command in
REPL mode to re-run the last model test avoiding the retyping of all required
parameters.<li> <a href="/tools/script.html">NLPCraft CLI</a> is available as
<code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i> and
<code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-wi [...]
+ </pre><p> <b>NOTES:</b></p><ul><li> Run <code
class="script">bin/nlpcraft.sh help --cmd=test-model</code> to get a full help
on this command.<li> Note that you can use <code>retest-model</code> command in
REPL mode to re-run the last model test avoiding the retyping of all required
parameters.<li> <a href="/tools/script.html">NLPCraft CLI</a> is available as
<code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i> and
<code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-wi [...]
diff --git a/feed.xml b/feed.xml
index 0f098f0..3b0783a 100644
--- a/feed.xml
+++ b/feed.xml
@@ -1 +1 @@
-<?xml version="1.0" encoding="utf-8"?><feed
xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/"
version="3.8.5">Jekyll</generator><link href="http://localhost:4000/feed.xml"
rel="self" type="application/atom+xml" /><link href="http://localhost:4000/"
rel="alternate" type="text/html"
/><updated>2021-07-31T20:01:26-07:00</updated><id>http://localhost:4000/feed.xml</id><title
type="html">Apache NLPCraft</title></feed>
\ No newline at end of file
+<?xml version="1.0" encoding="utf-8"?><feed
xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/"
version="3.8.5">Jekyll</generator><link href="http://localhost:4000/feed.xml"
rel="self" type="application/atom+xml" /><link href="http://localhost:4000/"
rel="alternate" type="text/html"
/><updated>2021-07-31T20:13:04-07:00</updated><id>http://localhost:4000/feed.xml</id><title
type="html">Apache NLPCraft</title></feed>
\ No newline at end of file
diff --git a/first-example.html b/first-example.html
index 7f5aa4c..6d9df62 100644
--- a/first-example.html
+++ b/first-example.html
@@ -15,7 +15,7 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
$ bin/nlpcraft.sh gen-project --baseName=LightSwitch
--outputDir=~ --lang=scala --pkgName=demo
</pre></div><div class="tab-pane fade show" id="nav-out"
role="tabpanel"><p></p><p> <img class="img-fluid" alt=""
src="/images/first_example_fig1.png"></p></div></div><p>
<b>NOTES:</b></p><ul><li> New project created in <code>/home/LightSwitch</code>
directory.<li> <code>gen-project</code> command defaults to Maven as its built
tool.<li> Run <code class="script">bin/nlpcraft.sh help
--cmd=gen-project</code> to get a full help on <code>gen-project</code>
command.<li> <a hr [...]
id: "nlpcraft.lightswitch.ex"
@@ -202,4 +202,4 @@ class LightSwitchKotlinModel :
NCModelFileAdapter("lightswitch_model.yaml") {
$ bin/nlpcraft.sh start-server
</pre></div><div class="tab-pane fade show" id="nav-srv-out"
role="tabpanel"><p></p><p> <img class="img-fluid" alt=""
src="/images/first_example_fig2.png"></p></div></div><div class="bq info"><p>
<i class="fas fa-lightbulb"></i> Learn more about <a
href="/server-and-probe.html">Server <span class="amp">&</span> Data
Probes</a>.</p></div></section><section id="test"><h2
class="section-title">Testing <a href="#"><i class="top-link fas fa-fw
fa-angle-double-up"></i></a></h2> [...]
$ bin/nlpcraft.sh test-model
--cp=~/LightSwitch/target/classes --mdls=demo.LightSwitchModel
- </pre></div><div class="tab-pane fade show" id="nav-test-out"
role="tabpanel"><p></p><p> <img style="max-width: 910px !important;"
class="img-fluid" alt=""
src="/images/first_example_fig4.png"></p></div></div></section><section><h2
class="section-title">Congratulation! 👌 <a href="#"><i class="top-link fas
fa-fw fa-angle-double-up"></i></a></h2><p> You've created your first data
model, started the REST server and tested the model using built-in model
auto-validator.</p></s [...]
+ </pre></div><div class="tab-pane fade show" id="nav-test-out"
role="tabpanel"><p></p><p> <img style="max-width: 910px !important;"
class="img-fluid" alt=""
src="/images/first_example_fig4.png"></p></div></div></section><section><h2
class="section-title">Congratulation! 👌 <a href="#"><i class="top-link fas
fa-fw fa-angle-double-up"></i></a></h2><p> You've created your first data
model, started the REST server and tested the model using built-in model
auto-validator.</p></s [...]
diff --git a/getting-started.html b/getting-started.html
index b0f3d48..bebb8d8 100644
--- a/getting-started.html
+++ b/getting-started.html
@@ -15,9 +15,9 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
$ bin/nlpcraft.sh start-server
- $ bin/nlpcraft.sh start-probe
--cp=./build/nlpcraft-examples/weather/nlpcraft-example-weather-0.8.0.jar
--mdls=org.apache.nlpcraft.examples.weather.NCWeatherModel
+ $ bin/nlpcraft.sh start-probe
--cp=./build/nlpcraft-examples/weather/nlpcraft-example-weather-0.9.0.jar
--mdls=org.apache.nlpcraft.examples.weather.NCWeatherModel
</pre><p> At this point data probe and the REST server are started and
connected.</p><h2 id="querying" class="section-sub-title">Using REST API <a
href="#"><i class="top-link fas fa-fw fa-angle-double-up"></i></a></h2><p> We
will be using NLPCraft CLI script to issue REST calls. Let's start NLPCraft CLI
in interactive REPL mode by running <a
href="/tools/script.html"><code>nlpcraft.{sh|cmd}</code></a> script with no
argument:</p><pre class="brush: bash">
$ bin/nlpcraft.sh
- </pre><p> <b>NOTES:</b></p><ul><li> NLPCraft CLI automatically detects
the REST server and data probe we have started in the previous step. You can
see the status of the REST server and data probe in the REPL prompt or you can
use <code>info</code> command to see a status information.<li> When NLPCraft
CLI detects running REST server it automatically signs in with the <a
href="/using-rest.html#users">default user account</a> to obtain access token
that is required for all REST ca [...]
+ </pre><p> <b>NOTES:</b></p><ul><li> NLPCraft CLI automatically detects
the REST server and data probe we have started in the previous step. You can
see the status of the REST server and data probe in the REPL prompt or you can
use <code>info</code> command to see a status information.<li> When NLPCraft
CLI detects running REST server it automatically signs in with the <a
href="/using-rest.html#users">default user account</a> to obtain access token
that is required for all REST ca [...]
diff --git a/index.html b/index.html
index ad97ab3..43eb943 100644
--- a/index.html
+++ b/index.html
@@ -15,4 +15,4 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
diff --git a/installation.html b/installation.html
index c9ffbb0..3898091 100644
--- a/installation.html
+++ b/installation.html
@@ -15,4 +15,4 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
diff --git a/integrations.html b/integrations.html
index 6bf9d01..cb5c977 100644
--- a/integrations.html
+++ b/integrations.html
@@ -15,7 +15,7 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
<dependency>
<groupId>edu.stanford.nlp</groupId>
<artifactId>stanford-corenlp</artifactId>
@@ -24,19 +24,19 @@
<dependency>
<groupId>org.apache.nlpcraft</groupId>
<artifactId>nlpcraft-stanford</artifactId>
- <version>0.8.0</version>
+ <version>0.9.0</version>
</dependency>
</pre></div><div class="tab-pane fade"
id="nav-stanfordnlp-grape" role="tabpanel"><pre class="brush: java">
@Grab ('edu.stanford.nlp:stanford-corenlp:3.9.2')
- @Grab ('org.apache.nlpcraft:nlpcraft-stanford:0.8.0')
+ @Grab ('org.apache.nlpcraft:nlpcraft-stanford:0.9.0')
</pre></div><div class="tab-pane fade"
id="nav-stanfordnlp-gradle" role="tabpanel"><pre class="brush: java">
dependencies {
runtime group: 'edu.stanford.nlp', name:
'stanford-corenlp', version: '3.9.2'
- runtime group: 'org.apache.nlpcraft', name:
'nlpcraft-stanford', version: '0.8.0'
+ runtime group: 'org.apache.nlpcraft', name:
'nlpcraft-stanford', version: '0.9.0'
}
</pre></div><div class="tab-pane fade"
id="nav-stanfordnlp-sbt" role="tabpanel"><pre class="brush: scala">
libraryDependencies += "edu.stanford.nlp" %
"stanford-corenlp" % "3.9.2"
- libraryDependencies += "org.apache.nlpcraft" %
"nlpcraft-stanford" % "0.8.0"
+ libraryDependencies += "org.apache.nlpcraft" %
"nlpcraft-stanford" % "0.9.0"
</pre></div></div><div class="bq warn"> Make sure to change
Stanford CoreNLP <code>3.9.2</code> version to the latest or required
one.</div><p> Note that you can also <a target=_
href="https://stanfordnlp.github.io/CoreNLP/">download</a> Stanford CoreNLP as
a separate JAR file and add it to your project classpath if you are not using,
or instead of, build tools.</p><h2 class="section-title">Base NLP Engine <a
href="#"><i class="top-link fas fa-fw fa-angle-double-up"></i>< [...]
import urllib.parse
@@ -140,4 +140,4 @@ if __name__ == '__main__':
}
</pre></div><div class="tab-pane fade" id="nav-oracle-sbt"
role="tabpanel"><pre class="brush: scala">
libraryDependencies += "org.oracle" % "ojdbc14" %
"10.2.0.4.0"
- </pre></div></div><p> Comments:</p><ul><li> Make sure to
change <code>10.2.0.4.0</code> version to the latest or required one.<li>
Update configuration property <code>nlpcraft.server.database.jdbc</code> with
required JDBC driver class and JDBC URL.<li> Use scripts from
<code>sql/oracle</code> folder to create database and initialize DB
schema.</ul></section><section> <img id="gridgain" class="img-title"
src="/images/gridgain-logo.png" width="200px" alt=""><p> NLPCraf [...]
+ </pre></div></div><p> Comments:</p><ul><li> Make sure to
change <code>10.2.0.4.0</code> version to the latest or required one.<li>
Update configuration property <code>nlpcraft.server.database.jdbc</code> with
required JDBC driver class and JDBC URL.<li> Use scripts from
<code>sql/oracle</code> folder to create database and initialize DB
schema.</ul></section><section> <img id="gridgain" class="img-title"
src="/images/gridgain-logo.png" width="200px" alt=""><p> NLPCraf [...]
diff --git a/intent-matching.html b/intent-matching.html
index d0c7c90..f4773db 100644
--- a/intent-matching.html
+++ b/intent-matching.html
@@ -15,7 +15,7 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
intent=x
term(a)~{tok_id() == 'my_elm'}
term(b)={has(tok_groups(), "my_group")}
@@ -564,4 +564,4 @@ or_else(meta_model('some_prop'), @dflt)
) {
...
}
- </pre><p><b>NOTES:</b></p><ul><li> Conversational term
<code>termId</code> has <code>[0,1]</code> quantifier (it's optional).<li> The
formal parameter on the callback has a type of
<code>Optional<NCToken></code> because the term's quantifier is
<code>[0,1]</code>.<li> Note that callback doesn't have an optional <a
target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCIntentMatch.html">NCIntentMatch</a>
parameter.</ul><h2 class="section-sub-title"><code>NCRejection [...]
+ </pre><p><b>NOTES:</b></p><ul><li> Conversational term
<code>termId</code> has <code>[0,1]</code> quantifier (it's optional).<li> The
formal parameter on the callback has a type of
<code>Optional<NCToken></code> because the term's quantifier is
<code>[0,1]</code>.<li> Note that callback doesn't have an optional <a
target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCIntentMatch.html">NCIntentMatch</a>
parameter.</ul><h2 class="section-sub-title"><code>NCRejection [...]
diff --git a/metrics-and-tracing.html b/metrics-and-tracing.html
index 1288758..e02f5ab 100644
--- a/metrics-and-tracing.html
+++ b/metrics-and-tracing.html
@@ -15,7 +15,7 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
nlpcraft {
server {
...
@@ -37,4 +37,4 @@ nlpcraft {
...
}
}
- </pre><p> Just like with server exporters, each probe exporter has
default configuration that can be overridden via <a
href="server-and-probe.html">configuration</a> properties or environment
variables. Note also that all built-in <b>trace exporters</b> use "always"
sampling by default that is suitable only for demo or development purposes. For
production usage you will need to modify the exporter to provide more effective
<a target=_ href="https://opencensus.io/tracing/sampling/ [...]
+ </pre><p> Just like with server exporters, each probe exporter has
default configuration that can be overridden via <a
href="server-and-probe.html">configuration</a> properties or environment
variables. Note also that all built-in <b>trace exporters</b> use "always"
sampling by default that is suitable only for demo or development purposes. For
production usage you will need to modify the exporter to provide more effective
<a target=_ href="https://opencensus.io/tracing/sampling/ [...]
diff --git a/relnotes/release-notes-0.5.0.html
b/relnotes/release-notes-0.5.0.html
index 2539f98..8f55ead 100644
--- a/relnotes/release-notes-0.5.0.html
+++ b/relnotes/release-notes-0.5.0.html
@@ -15,4 +15,4 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
diff --git a/relnotes/release-notes-0.6.2.html
b/relnotes/release-notes-0.6.2.html
index 48fbd26..196a77c 100644
--- a/relnotes/release-notes-0.6.2.html
+++ b/relnotes/release-notes-0.6.2.html
@@ -15,4 +15,4 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
diff --git a/relnotes/release-notes-0.7.0.html
b/relnotes/release-notes-0.7.0.html
index cfeb636..0d7865b 100644
--- a/relnotes/release-notes-0.7.0.html
+++ b/relnotes/release-notes-0.7.0.html
@@ -15,4 +15,4 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
diff --git a/relnotes/release-notes-0.7.1.html
b/relnotes/release-notes-0.7.1.html
index 08e70e6..d1d2aec 100644
--- a/relnotes/release-notes-0.7.1.html
+++ b/relnotes/release-notes-0.7.1.html
@@ -15,4 +15,4 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
diff --git a/relnotes/release-notes-0.7.2.html
b/relnotes/release-notes-0.7.2.html
index d0af0ad..62358d5 100644
--- a/relnotes/release-notes-0.7.2.html
+++ b/relnotes/release-notes-0.7.2.html
@@ -15,4 +15,4 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
diff --git a/relnotes/release-notes-0.7.3.html
b/relnotes/release-notes-0.7.3.html
index a3d653d..e21d475 100644
--- a/relnotes/release-notes-0.7.3.html
+++ b/relnotes/release-notes-0.7.3.html
@@ -15,4 +15,4 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
diff --git a/relnotes/release-notes-0.7.4.html
b/relnotes/release-notes-0.7.4.html
index 2ff49f1..2f4952a 100644
--- a/relnotes/release-notes-0.7.4.html
+++ b/relnotes/release-notes-0.7.4.html
@@ -15,4 +15,4 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
diff --git a/relnotes/release-notes-0.7.5.html
b/relnotes/release-notes-0.7.5.html
index 6460c7e..dd47a2e 100644
--- a/relnotes/release-notes-0.7.5.html
+++ b/relnotes/release-notes-0.7.5.html
@@ -15,4 +15,4 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
diff --git a/relnotes/release-notes-0.8.0.html
b/relnotes/release-notes-0.8.0.html
index a783bc2..8159cb1 100644
--- a/relnotes/release-notes-0.8.0.html
+++ b/relnotes/release-notes-0.8.0.html
@@ -15,4 +15,4 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
diff --git a/relnotes/release-notes-0.9.0.html
b/relnotes/release-notes-0.9.0.html
index 4e5448d..4b3d3bb 100644
--- a/relnotes/release-notes-0.9.0.html
+++ b/relnotes/release-notes-0.9.0.html
@@ -15,4 +15,4 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
diff --git a/server-and-probe.html b/server-and-probe.html
index 6189e37..2baa932 100644
--- a/server-and-probe.html
+++ b/server-and-probe.html
@@ -15,13 +15,13 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
$ bin/nlpcraft.sh start-server
</pre><p> <b>NOTES:</b></p><ul><li> <a
href="/tools/script.html">NLPCraft CLI</a> is available as
<code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i> and
<code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-windows"></i>.<li> Run
<code class="script">bin/nlpcraft.sh help --cmd=start-server</code> to get a
full help on this command.</ul></div><div class="tab-pane fade show"
id="nav-srv-class" role="tabpanel"><p></p><p> If using executable JAR:</p><pre
class="br [...]
- $ java -Xms1024m -jar
apache-nlpcraft-incubating-0.8.0-all-deps.jar -server
+ $ java -Xms1024m -jar
apache-nlpcraft-incubating-0.9.0-all-deps.jar -server
</pre><p> If specifying additional classpath components and
need <code>-cp</code> parameter:</p><pre class="brush: bash">
- $ java -Xms1024m -cp
apache-nlpcraft-incubating-0.8.0-all-deps.jar org.apache.nlpcraft.NCStart
-server
- </pre><p> <b>NOTES:</b></p><ul><li> Make sure to provide
correct path to
<code>apache-nlpcraft-incubating-<b>0.8.0</b>-all-deps.jar</code> file.<li>
Class <code>org.apache.nlpcraft.NCStart</code> is a common entry point for all
NLPCraft runtime components and can be used to start REST server from
IDE.</ul><p> <b>Parameters</b>:</p><dl><dt> <code>-server</code><dd>
<em>Mandatory</em> parameter to indicate that you are starting the REST
server.<dt><code>-config=path</code>< [...]
+ $ java -Xms1024m -cp
apache-nlpcraft-incubating-0.9.0-all-deps.jar org.apache.nlpcraft.NCStart
-server
+ </pre><p> <b>NOTES:</b></p><ul><li> Make sure to provide
correct path to
<code>apache-nlpcraft-incubating-<b>0.9.0</b>-all-deps.jar</code> file.<li>
Class <code>org.apache.nlpcraft.NCStart</code> is a common entry point for all
NLPCraft runtime components and can be used to start REST server from
IDE.</ul><p> <b>Parameters</b>:</p><dl><dt> <code>-server</code><dd>
<em>Mandatory</em> parameter to indicate that you are starting the REST
server.<dt><code>-config=path</code>< [...]
--add-opens=java.base/jdk.internal.misc=ALL-UNNAMED
--add-opens=java.base/sun.nio.ch=ALL-UNNAMED
--add-opens=java.base/java.nio=ALL-UNNAMED
@@ -34,7 +34,7 @@
--add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED
--illegal-access=permit
</pre><p> <b>NOTES:</b></p><ul><li> <a
href="/tools/script.html"><code>nlpcraft.{sh|cmd}</code></a> script
automatically uses these options for <code>start-server</code>
command.</ul><div class="bq success"> Since this list of required VM options is
long it is rather impractical and inconvenient to use it from the command line.
It is <b>highly recommended</b> to either use IDE or <a
href="/tools/script.html"><code>nlpcraft.{sh|cmd}</code></a> script to manage
REST server [...]
- $ docker run -m 8G -p 8081:8081 -p 8201:8201 -p 8202:8202
nlpcraftserver/server:0.8.0
+ $ docker run -m 8G -p 8081:8081 -p 8201:8201 -p 8202:8202
nlpcraftserver/server:0.9.0
</pre></div></div><h2 class="section-sub-title">JVM Memory <a
href="#"><i class="top-link fas fa-fw fa-angle-double-up"></i></a></h2><p> Make
sure to allocate enough memory for server JVM using <code>-Xms</code> JVM
option, i.e. <code>-Xms1024m</code>. Many 3rd party NLP engines like Stanford
CoreNLP are very memory intensive and may require several GBs of JVM heap
allocated depending on the models used. Note that when server JVM has
insufficient heap memory the Apache Ig [...]
Jul-22 13:27:56 [INFO ] ...
Jul-22 13:28:08 [WARN ] Possible too long JVM pause: 11364
milliseconds.
@@ -44,10 +44,10 @@
$ bin/nlpcraft.sh start-probe --cp=/path/to/model/classes
--mdls=com.package.MyModel
> restart-probe # Restart the probe with the last set of
parameters in REPL mode.
</pre><p> <b>NOTES:</b></p><ul><li> <a
href="/tools/script.html">NLPCraft CLI</a> is available as
<code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i> and
<code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-windows"></i>.<li>
<code>--cp</code> parameter must provide additional JVM classpath for models to
deploy in this probe.<li> Optional <code>--mdls</code> parameter can be used to
specify a one or more specific models to deploy if more than one model is avai
[...]
- $ java -jar apache-nlpcraft-incubating-0.8.0-all-deps.jar
-probe
+ $ java -jar apache-nlpcraft-incubating-0.9.0-all-deps.jar
-probe
</pre><p> If specifying additional classpath components and
need <code>-cp</code> parameter:</p><pre class="brush: bash">
- java -cp
apache-nlpcraft-incubating-0.8.0-all-deps.jar:/my/project/classes
org.apache.nlpcraft.NCStart -probe -config=/my/project/probe.conf
- </pre><p> <b>NOTES:</b></p><ul><li> <code>/my/project</code>
directory contains user-defined model implementation<li> Make sure to provide
correct path to
<code>apache-nlpcraft-incubating-<b>0.8.0</b>-all-deps.jar</code> file.<li>
Class <code>org.apache.nlpcraft.NCStart</code> is a common entry point for all
NLPCraft runtime components.<li> Class <code>org.apache.nlpcraft.NCStart</code>
should be used to star data probe from IDE.</ul><p>
<b>Parameters:</b></p><dl><dt> <co [...]
+ java -cp
apache-nlpcraft-incubating-0.9.0-all-deps.jar:/my/project/classes
org.apache.nlpcraft.NCStart -probe -config=/my/project/probe.conf
+ </pre><p> <b>NOTES:</b></p><ul><li> <code>/my/project</code>
directory contains user-defined model implementation<li> Make sure to provide
correct path to
<code>apache-nlpcraft-incubating-<b>0.9.0</b>-all-deps.jar</code> file.<li>
Class <code>org.apache.nlpcraft.NCStart</code> is a common entry point for all
NLPCraft runtime components.<li> Class <code>org.apache.nlpcraft.NCStart</code>
should be used to star data probe from IDE.</ul><p>
<b>Parameters:</b></p><dl><dt> <co [...]
nlpcraft {
server {
...
@@ -124,4 +124,4 @@ nlpcraft {
</execution>
</executions>
</plugin>
- </pre><p> <b>NOTES</b>:</p><ul><li> On line 14 we specify the URL
endpoint to check whether or not our server is online. We use
<code>/health</code> localhost REST call for that.<li> On line 16 we redirect
the output from server to a dedicated file to <b>avoid interleaving</b> log
from server and log from data probe in the same console (where we are running
the Maven build from). Such interleaving will make the combined log unreadable
and can cause output problem for the console [...]
+ </pre><p> <b>NOTES</b>:</p><ul><li> On line 14 we specify the URL
endpoint to check whether or not our server is online. We use
<code>/health</code> localhost REST call for that.<li> On line 16 we redirect
the output from server to a dedicated file to <b>avoid interleaving</b> log
from server and log from data probe in the same console (where we are running
the Maven build from). Such interleaving will make the combined log unreadable
and can cause output problem for the console [...]
diff --git a/short-term-memory.html b/short-term-memory.html
index 743532f..8fb4f72 100644
--- a/short-term-memory.html
+++ b/short-term-memory.html
@@ -15,4 +15,4 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
diff --git a/tools/embedded_probe.html b/tools/embedded_probe.html
index 2be3683..792b30a 100644
--- a/tools/embedded_probe.html
+++ b/tools/embedded_probe.html
@@ -15,7 +15,7 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
public class AlarmTest {
private NCTestClient cli;
@@ -44,4 +44,4 @@ public class AlarmTest {
assertTrue(cli.ask("Set my alarm for 30s").isOk());
}
}
- </pre><p> <b>NOTES:</b></p><ul><li> Lines 6 and 18 show the embedded
data probe start and stop as it's used in the unit tests.</ul><p> It's
important to note that there are number of inherent limitations associated with
embedded probe:</p><ul><li> Embedded probe is only available for JVM-based
applications (and can be used with any JVM languages).<li> There can be only
one embedded probe per JVM.<li> Once data probe is stopped and cannot be
re-started again in the same JVM.<li> E [...]
+ </pre><p> <b>NOTES:</b></p><ul><li> Lines 6 and 18 show the embedded
data probe start and stop as it's used in the unit tests.</ul><p> It's
important to note that there are number of inherent limitations associated with
embedded probe:</p><ul><li> Embedded probe is only available for JVM-based
applications (and can be used with any JVM languages).<li> There can be only
one embedded probe per JVM.<li> Once data probe is stopped and cannot be
re-started again in the same JVM.<li> E [...]
diff --git a/tools/script.html b/tools/script.html
index 4c0fd43..149d8f5 100644
--- a/tools/script.html
+++ b/tools/script.html
@@ -15,7 +15,7 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
> $git pull # Runs 'git pull' in the current directory.
> $vi /home/myproject/pom.xml # Edit 'pom.xml' using vi.
> $emacs /home/myproject/MyModel.scala # Edit 'MyModel.scala'
using emacs.
@@ -25,4 +25,4 @@
$ bin/nlpcraft.sh no-ansi no-logo signin [email protected]
--passwd=admin | tail -n +2 | jq -M '.acsTok' | tr -d '"'
</pre><p> ...and the access token is:</p><pre class="brush: bash">
bjok7yraypseyk86KgGae
- </pre><p> <b>NOTES:</b></p><ul><li> We use <code>no-ansi</code> and
<code>no-logo</code> commands that clean up and simplify the output so that it
would be easier to parse the resulting JSON.<li> We use <code>tail -n +2</code>
Unix command to skip the 1st line of the output that contains HTTP return
code.<li> We use <a target=_blank href="https://stedolan.github.io/jq/">jq</a>
utility to parse JSON inline and extract <code>acsTok</code> field.<li> We use
<code>tr -d '"'</code> to [...]
+ </pre><p> <b>NOTES:</b></p><ul><li> We use <code>no-ansi</code> and
<code>no-logo</code> commands that clean up and simplify the output so that it
would be easier to parse the resulting JSON.<li> We use <code>tail -n +2</code>
Unix command to skip the 1st line of the output that contains HTTP return
code.<li> We use <a target=_blank href="https://stedolan.github.io/jq/">jq</a>
utility to parse JSON inline and extract <code>acsTok</code> field.<li> We use
<code>tr -d '"'</code> to [...]
diff --git a/tools/sql_model_gen.html b/tools/sql_model_gen.html
index 64ffac7..097d11a 100644
--- a/tools/sql_model_gen.html
+++ b/tools/sql_model_gen.html
@@ -15,8 +15,8 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
$ bin/nlpcraft.sh gen-sql
--url=jdbc:postgresql://localhost:5432/mydb --driver=org.postgresql.Driver
--schema=public --out=model.json
</pre><p> <b>NOTES:</b></p><ul><li> <a
href="/tools/script.html">NLPCraft CLI</a> is available as
<code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i> and
<code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-windows"></i>.<li> Run
<code class="script">bin/nlpcraft.sh help --cmd=gen-sql</code> to get a full
help on this command.</ul></div><div class="tab-pane fade show" id="nav-class"
role="tabpanel"><pre class="brush: bash">
- $ java -cp apache-nlpcraft-incubating-0.8.0-all-deps.jar
org.apache.nlpcraft.model.tools.sqlgen.NCSqlModelGenerator
- </pre><p> <b>NOTES:</b></p><ul><li> Run this class without
arguments to get a full help.<li> Use
<code>org.apache.nlpcraft.model.tools.sqlgen.NCSqlModelGenerator</code> class
directly to execute it from IDE or programmatically.</ul></div></div><p> After
the data model stub is generated:</p><ul><li> Load generated YAML/JSON-based
model using <a target="javadoc"
href="https://javadoc.io/static/org.apache.nlpcraft/nlpcraft/0.5.0/org/apache/nlpcraft/model/NCModelFileAdapter.h
[...]
+ $ java -cp apache-nlpcraft-incubating-0.9.0-all-deps.jar
org.apache.nlpcraft.model.tools.sqlgen.NCSqlModelGenerator
+ </pre><p> <b>NOTES:</b></p><ul><li> Run this class without
arguments to get a full help.<li> Use
<code>org.apache.nlpcraft.model.tools.sqlgen.NCSqlModelGenerator</code> class
directly to execute it from IDE or programmatically.</ul></div></div><p> After
the data model stub is generated:</p><ul><li> Load generated YAML/JSON-based
model using <a target="javadoc"
href="https://javadoc.io/static/org.apache.nlpcraft/nlpcraft/0.5.0/org/apache/nlpcraft/model/NCModelFileAdapter.h
[...]
diff --git a/tools/syn_tool.html b/tools/syn_tool.html
index c590ea5..53bcf4c 100644
--- a/tools/syn_tool.html
+++ b/tools/syn_tool.html
@@ -15,7 +15,7 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
$ cd nlpcraft/src/main/python/ctxword
$ bin/install_dependencies.sh
</pre></div><div class="tab-pane fade show"
id="nav-win" role="tabpanel"><p></p><p> Read
<code>src\main\python\ctxword\bin\WINDOWS_SETUP.md</code> file for manual
installation instructions.</p></div></div><li> <em>Optional.</em> <br/>
Configure <code>nlpcraft.server.ctxword.url</code> property in
<code>nlpcraft.conf</code> file (or your own configuration file). This property
comes with a default endpoint and you only need to change it if you change the
'ctxword' m [...]
@@ -94,4 +94,4 @@
"Model has too few (3) intents samples. It will negatively affect the
quality of suggestions. Try to increase overall sample count to at least 20."
]
}
- </pre><p> The result is structured as a list of proposed synonyms with
their corresponding scores for each model's element. You should analyse the
results for their fitness for your model and its existing synonyms. The tool
cannot guarantee that every suggested synonym is appropriate or valid - but it
gives a good "courtesy" check for potentially missing synonyms.</p><div
class="bq info"><p> <b>Run Periodically</b></p><p> It is a good idea to run
this tool periodically if you are [...]
+ </pre><p> The result is structured as a list of proposed synonyms with
their corresponding scores for each model's element. You should analyse the
results for their fitness for your model and its existing synonyms. The tool
cannot guarantee that every suggested synonym is appropriate or valid - but it
gives a good "courtesy" check for potentially missing synonyms.</p><div
class="bq info"><p> <b>Run Periodically</b></p><p> It is a good idea to run
this tool periodically if you are [...]
diff --git a/tools/test_framework.html b/tools/test_framework.html
index 9897a4e..c4dea6b 100644
--- a/tools/test_framework.html
+++ b/tools/test_framework.html
@@ -15,7 +15,7 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
public class AlarmTest {
private NCTestClient cli;
@@ -62,5 +62,5 @@ public class AlarmModel extends NCModelFileAdapter {
</pre><p> Auto model validator takes one or more model IDs (or class
names) and performs validation. Validation consists of starting an <a
href="/tools/embedded_probe.html">embedded probe</a> with a given model,
scanning for <a target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCIntentSample.html">@NCIntentSample</a>
and <a target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCIntentSampleRef.html">@NCIntentSampleRef</a>
annotations and their corresponding c [...]
$ bin/nlpcraft.sh test-model --cp=/path/to/my/model/classes
</pre><p> <b>NOTES:</b></p><ul><li> <a
href="/tools/script.html">NLPCraft CLI</a> is available as
<code>nlpcraft.sh</code> for <i class="fab fa-fw fa-linux"></i> and
<code>nlpcraft.cmd</code> for <i class="fab fa-fw fa-windows"></i>.<li> Run
<code class="script">bin/nlpcraft.sh help --cmd=test-model</code> to get a full
help on this command.<li> In REPL mode you can use <code>retest-model</code>
command to re-run the last mode test with the same parameters avoiding the ne
[...]
- java -cp
apache-nlpcraft-incubating-0.8.0-all-deps.jar:/path/to/my/model/classes
-DNLPCRAFT_TEST_MODELS=org.apache.nlpcraft.examples.alarm.AlarmModel
org.apache.nlpcraft.model.tools.test.NCTestAutoModelValidator
- </pre><p> <b>NOTES:</b></p><ul><li> Make sure to add necessary
classpath components for the model(s) you want to auto-validate.<li>
<code>NLPCRAFT_TEST_MODELS</code> system property that should contain comma
separate list of the data model classes to test.<li> You can also use
<code>org.apache.nlpcraft.model.tools.test.NCTestAutoModelValidator</code>
class directly to call it programmatically from the code or from
IDE.</ul></div></div><p> In the log output you should see [...]
+ java -cp
apache-nlpcraft-incubating-0.9.0-all-deps.jar:/path/to/my/model/classes
-DNLPCRAFT_TEST_MODELS=org.apache.nlpcraft.examples.alarm.AlarmModel
org.apache.nlpcraft.model.tools.test.NCTestAutoModelValidator
+ </pre><p> <b>NOTES:</b></p><ul><li> Make sure to add necessary
classpath components for the model(s) you want to auto-validate.<li>
<code>NLPCRAFT_TEST_MODELS</code> system property that should contain comma
separate list of the data model classes to test.<li> You can also use
<code>org.apache.nlpcraft.model.tools.test.NCTestAutoModelValidator</code>
class directly to call it programmatically from the code or from
IDE.</ul></div></div><p> In the log output you should see [...]
diff --git a/use-cases.html b/use-cases.html
index 78380c3..58790b9 100644
--- a/use-cases.html
+++ b/use-cases.html
@@ -15,4 +15,4 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
diff --git a/using-rest.html b/using-rest.html
index 5a927fb..cc054ca 100644
--- a/using-rest.html
+++ b/using-rest.html
@@ -15,11 +15,11 @@
limitations under the License.
-->
-<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
+<!doctype html><html lang="en"> <script async
src="https://www.googletagmanager.com/gtag/js?id=UA-180663034-1"></script>
<script> window.dataLayer = window.dataLayer || []; function
gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config',
'UA-180663034-1'); </script><meta charset="utf-8"><meta
http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=no"><meta
name="description" content="An open sourc [...]
https://localhost:8081/api/v1/signin
</pre><p> where:<dl><dt><code>http</code><dd>Either <code>http</code>
or <code>https</code> protocol.<dt><code>localhost:8081</code><dd>Host and port
on which REST server is started. <code>localhost:8081</code> is the default
configuration and can be <a
href="/server-and-probe.html">changed</a>.<dt><code>/api/v1</code><dd>Mandatory
prefix indicating API version.<dt><code>/signin</code><dd>Specific REST
path.</dl><div class="bq info"><p> <b>Management Script</b></p><p> <a href="/t
[...]
{
"code": "NC_INVALID_ACCESS_TOKEN",
"msg": "Unknown access token: PPdxjwXBOIMpAWNgpKq1"
}
- </pre><p> Following tables shows all possible <code>code</code> values
for these server errors:</p><table
class="gradient-table"><thead><tr><th>Code<th>Description<tbody><tr><td><code>NC_INVALID_ACCESS_TOKEN</code><td>
The access token is invalid or no longer valid. Note that previously issued
existing access tokens can expire or be otherwise invalidated and have to be
obtained again.<tr><td><code>NC_SIGNIN_FAILURE</code><td> Invalid or unknown
user email and/or user password dur [...]
+ </pre><p> Following tables shows all possible <code>code</code> values
for these server errors:</p><table
class="gradient-table"><thead><tr><th>Code<th>Description<tbody><tr><td><code>NC_INVALID_ACCESS_TOKEN</code><td>
The access token is invalid or no longer valid. Note that previously issued
existing access tokens can expire or be otherwise invalidated and have to be
obtained again.<tr><td><code>NC_SIGNIN_FAILURE</code><td> Invalid or unknown
user email and/or user password dur [...]