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 686e4a8 Update.
686e4a8 is described below
commit 686e4a802f9dfa8c2d09fad0f4137f93b83ab1ec
Author: Aaron Radzinski <[email protected]>
AuthorDate: Tue Dec 1 13:59:47 2020 -0800
Update.
---
404.html | 2 +-
basic-concepts.html | 2 +-
blogs.html | 2 +-
blogs/quick_intro_apache_nlpcraft.html | 4 ++--
blogs/short_term_memory.html | 2 +-
community.html | 4 ++--
data-model.html | 2 +-
docs.html | 2 +-
download.html | 4 ++--
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 | 2 +-
index.html | 2 +-
installation.html | 2 +-
integrations.html | 4 ++--
intent-matching.html | 2 +-
metrics-and-tracing.html | 2 +-
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 +-
server-and-probe.html | 2 +-
tools/embedded_probe.html | 2 +-
tools/script.html | 2 +-
tools/sql_model_gen.html | 2 +-
tools/syn_tool.html | 2 +-
tools/test_framework.html | 2 +-
use-cases.html | 2 +-
using-rest.html | 2 +-
34 files changed, 43 insertions(+), 43 deletions(-)
diff --git a/404.html b/404.html
index acbb94b..a1e02f9 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/basic-concepts.html b/basic-concepts.html
index 85c6218..0bedad6 100644
--- a/basic-concepts.html
+++ b/basic-concepts.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 39c1cd0..8d85ae5 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/quick_intro_apache_nlpcraft.html
b/blogs/quick_intro_apache_nlpcraft.html
index 2468001..d1dbcfe 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 a805826..4435074 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/community.html b/community.html
index b55982b..a818dec 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: plain">
git pull upstream
git checkout release
- </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>release</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 [...]
+ </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>release</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 [...]
diff --git a/data-model.html b/data-model.html
index d001015..8819daa 100644
--- a/data-model.html
+++ b/data-model.html
@@ -337,4 +337,4 @@ intents:
</pre><p> Few notes on token DSL syntax:</p><ul><li> This synonym
defines a composed named entity, i.e. named entity that consists of other named
entities. In our example, we utilize token <code>nlpcraft:city</code> along
with other basic synonym.<li> Token DSL expression always results in one and
only one token when matched, however, the synonym can have multiple token DSL
expressions.<li> Token DSL expression can have optional alias
(<code>[city]</code>) that can be used in oth [...]
{qual}param op value
func({qual}param) op value
- </pre><p> The <code>{qual}param</code> is the left side parameter and
it can have optional qualifier (<code>qual</code>). Qualifier allows to
reference participant tokens either by their ID or their DSL expression's alias
using dot-notation. For example:</p><table
class="gradient-table"><thead><tr><th>Qualifier<th>Description<tbody><tr><td>
<code><b>partId.</b>groups @@ 'my_grp'</code><td> There must be a participant
token (i.e. constituent token) with either token ID or alias of [...]
+ </pre><p> The <code>{qual}param</code> is the left side parameter and
it can have optional qualifier (<code>qual</code>). Qualifier allows to
reference participant tokens either by their ID or their DSL expression's alias
using dot-notation. For example:</p><table
class="gradient-table"><thead><tr><th>Qualifier<th>Description<tbody><tr><td>
<code><b>partId.</b>groups @@ 'my_grp'</code><td> There must be a participant
token (i.e. constituent token) with either token ID or alias of [...]
diff --git a/docs.html b/docs.html
index 199c857..9796b3c 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 0383c11..fcc9909 100644
--- a/download.html
+++ b/download.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 [...]
$ unzip -q apache-nlpcraft-incubating-0.7.2.zip
$ cd apache-nlpcraft-incubating-0.7.2
</pre><b>Build NLPCraft:</b><pre class="brush: plain">
@@ -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" %
"nlpcraft-java-client" % "0.5.0"
- </pre></div></div><div class="bq info"><p> <b>Latest
Version</b></p><p> <code>0.5.0</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.5.0</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 8f59f43..87f1c97 100644
--- a/examples/alarm_clock.html
+++ b/examples/alarm_clock.html
@@ -42,7 +42,7 @@
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
- </pre><p> IDEA should automatically reload the project with newly
updated <code>pom.xml</code> file and we should be ready now to develop our
data model.</p></section><section id="model"><h3 class="section-title">Data
Model</h3><p> We are going to start with declaring the static part of our
semantic model using JSON which we will later load using
<code>NCModelFileAdapter</code> in our Java-based model implementation. Create
new <code>alarm_model.json</code> file and add the follo [...]
+ </pre><p> IDEA should automatically reload the project with newly
updated <code>pom.xml</code> file and we should be ready now to develop our
data model.</p></section><section id="model"><h3 class="section-title">Data
Model</h3><p> We are going to start with declaring the static part of our model
using JSON which we will later load using <code>NCModelFileAdapter</code> in
our Java-based model implementation. Create new <code>alarm_model.json</code>
file and add the following mode [...]
{
"id": "nlpcraft.alarm.ex",
"name": "Alarm Example Model",
@@ -156,4 +156,4 @@ public class AlarmModel extends NCModelFileAdapter {
timer.cancel();
}
}
- </pre><p> There's a bit of a logic here that deals mostly with taking
multiple numeric values and converting them into a single number of
milliseconds that the alarm clock needs to be set up for. Let's review it step
by step:</p><ul><li> On <code>line 10</code> our class extends
<code>NCModelFileAdapter</code> that allows us to load most of the model
declaration from the external JSON or YAML file (line 18) and only provide
functionality that we couldn't express in declarative po [...]
+ </pre><p> There's a bit of a logic here that deals mostly with taking
multiple numeric values and converting them into a single number of
milliseconds that the alarm clock needs to be set up for. Let's review it step
by step:</p><ul><li> On <code>line 10</code> our class extends
<code>NCModelFileAdapter</code> that allows us to load most of the model
declaration from the external JSON or YAML file (line 18) and only provide
functionality that we couldn't express in declarative po [...]
diff --git a/examples/light_switch.html b/examples/light_switch.html
index c3e413f..092f6d6 100644
--- a/examples/light_switch.html
+++ b/examples/light_switch.html
@@ -42,7 +42,7 @@
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
- </pre><p> IDEA should automatically reload the project with newly
updated <code>pom.xml</code> file and we should be ready now to develop our
data model.</p></section><section id="model"><h3 class="section-title">Data
Model</h3><p> We are going to start with declaring the static part of our
semantic model using YAML which we will later load using
<code>NCModelFileAdapter</code> in our Scala-based model implementation. Create
new <code>lightswitch_model.yaml</code> file and add th [...]
+ </pre><p> IDEA should automatically reload the project with newly
updated <code>pom.xml</code> file and we should be ready now to develop our
data model.</p></section><section id="model"><h3 class="section-title">Data
Model</h3><p> We are going to start with declaring the static part of our model
using YAML which we will later load using <code>NCModelFileAdapter</code> in
our Scala-based model implementation. Create new
<code>lightswitch_model.yaml</code> file and add the followi [...]
id: "nlpcraft.lightswitch.ex"
name: "Light Switch Example Model"
version: "1.0"
@@ -118,4 +118,4 @@ class LightSwitchModel extends
NCModelFileAdapter("org/apache/nlpcraft/examples/
NCResult.text(s"Lights '$status' in '${locations.toLowerCase}'.")
}
}
- </pre><p> The intent callback logic is very simple - we simply return
a descriptive confirmation message back (explaining what lights were changed).
With action and location detected - you can easily add the actual light
switching using HomeKit or Arduino devices. Let's review this implementation
step by step:</p><ul><li> On <code>line 5</code> our class extends
<code>NCModelFileAdapter</code> that allows us to load most of the model
declaration from the external YAML file and on [...]
+ </pre><p> The intent callback logic is very simple - we simply return
a descriptive confirmation message back (explaining what lights were changed).
With action and location detected - you can easily add the actual light
switching using HomeKit or Arduino devices. Let's review this implementation
step by step:</p><ul><li> On <code>line 5</code> our class extends
<code>NCModelFileAdapter</code> that allows us to load most of the model
declaration from the external YAML file and on [...]
diff --git a/examples/sql_model.html b/examples/sql_model.html
index 02939f9..84243cf 100644
--- a/examples/sql_model.html
+++ b/examples/sql_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 [...]
mvn archetype:generate -DgroupId=examples -DartifactId=my-app
-DarchetypeVersion=1.4 -DinteractiveMode=false
</pre><p> This will create <code>my-app</code> folder with the
following default maven project structure:</p><pre class="console">
├── <b>pom.xml</b>
@@ -48,4 +48,4 @@
Jul-05|08:40:47|INFO | H2 server start parameters: -baseDir
/Users/minkovski/nlpcraft-examples/h2 -tcpPort 9092 -tcpAllowOthers
Jul-05|08:40:47|INFO | H2 server status: TCP server running at
tcp://localhost:9092 (others can connect)
Jul-05|08:40:47|INFO | Database 'jdbc:h2:tcp://localhost:9092/nlp2sql' is NOT
initialized because data already exists. To re-initialize - delete files in
'/Users/minkovski/nlpcraft-examples/h2' folder and start again.
- </pre></section><section id="start_server"><h3
class="section-title">Start REST Server</h3><p> REST server listens for
requests from client applications and routes them to the requested data models
via connected data probes. REST server starts the same way as the data probe.
Configure new Run Configuration in IDEA with the following
parameters:</p><ul><li> <b>Main class:</b>
<code>org.apache.nlpcraft.NCStart</code><li> <b>Program arguments: </b>
<code>-server</code></ul><p> Once [...]
+ </pre></section><section id="start_server"><h3
class="section-title">Start REST Server</h3><p> REST server listens for
requests from client applications and routes them to the requested data models
via connected data probes. REST server starts the same way as the data probe.
Configure new Run Configuration in IDEA with the following
parameters:</p><ul><li> <b>Main class:</b>
<code>org.apache.nlpcraft.NCStart</code><li> <b>Program arguments: </b>
<code>-server</code></ul><p> Once [...]
diff --git a/examples/weather_bot.html b/examples/weather_bot.html
index 0b13312..34bb86b 100644
--- a/examples/weather_bot.html
+++ b/examples/weather_bot.html
@@ -42,7 +42,7 @@
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
</properties>
- </pre><p> IDEA should automatically reload the project with newly
updated <code>pom.xml</code> file and we should be ready now to develop our
data model.</p></section><section id="model"><h3 class="section-title">Data
Model</h3><p> We are going to start with declaring the static part of our
semantic model using JSON which we will later load using
<code>NCModelFileAdapter</code> in our Java-based model implementation. Create
new <code>weather_model.json</code> file and add the fol [...]
+ </pre><p> IDEA should automatically reload the project with newly
updated <code>pom.xml</code> file and we should be ready now to develop our
data model.</p></section><section id="model"><h3 class="section-title">Data
Model</h3><p> We are going to start with declaring the static part of our model
using JSON which we will later load using <code>NCModelFileAdapter</code> in
our Java-based model implementation. Create new <code>weather_model.json</code>
file and add the following mo [...]
{
"id": "nlpcraft.weather.ex",
"name": "Weather Example Model",
@@ -234,4 +234,4 @@ public class WeatherModel extends NCModelFileAdapter {
darkSky.stop();
}
}
- </pre><ul><li> <code>Line 146</code> loads the model configuration
from the external <code>weather_model.json</code> file.<li> Method
<code>preGeo(...)</code> on the <code>line 24</code> handles the geo location
processing including IP-based geo-location and resolution of the geographical
ambiguity.<li> <code>Line 97</code> defines a callback for the intent defined
on the <code>line 71</code>. Note that callback implementation also deals with
the temporal ambiguity.<li> <code>Lin [...]
+ </pre><ul><li> <code>Line 146</code> loads the model configuration
from the external <code>weather_model.json</code> file.<li> Method
<code>preGeo(...)</code> on the <code>line 24</code> handles the geo location
processing including IP-based geo-location and resolution of the geographical
ambiguity.<li> <code>Line 97</code> defines a callback for the intent defined
on the <code>line 71</code>. Note that callback implementation also deals with
the temporal ambiguity.<li> <code>Lin [...]
diff --git a/feed.xml b/feed.xml
index 4b001fd..ad96d32 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="4.1.1">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>2020-11-30T17:35:14-08: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="4.1.1">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>2020-12-01T13:14:10-08: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 f22dc65..cfdbccb 100644
--- a/first-example.html
+++ b/first-example.html
@@ -77,7 +77,7 @@
- "<ACTION> <LIGHT> {off|out}"
- "{<ACTION>|shut|kill|stop|eliminate} {off|out}
<LIGHT>"
- "no <LIGHT>"
- </pre><p> Notice three semantic model elements that we'll use later in
our intent definition (lines 14, 21, and
28):</p><ul><li><code>ls:loc</code><li><code>ls:on</code><li><code>ls:off</code></ul><p>
Model element <code>ls:loc</code> defines a location where we want to control
the lights. Model elements <code>ls:on</code> and <code>ls:off</code> define
corresponding "on" and "off" lights actions. We'll use these elements in our
model's intent-based matching logic.</p><p> Next le [...]
+ </pre><p> Notice three model elements that we'll use later in our
intent definition (lines 14, 21, and
28):</p><ul><li><code>ls:loc</code><li><code>ls:on</code><li><code>ls:off</code></ul><p>
Model element <code>ls:loc</code> defines a location where we want to control
the lights. Model elements <code>ls:on</code> and <code>ls:off</code> define
corresponding "on" and "off" lights actions. We'll use these elements in our
model's intent-based matching logic.</p><p> Next let's go ah [...]
package examples
import org.apache.nlpcraft.model.{NCIntentTerm, _}
@@ -114,4 +114,4 @@ class LightSwitchModel extends
NCModelFileAdapter("examples/lightswitch_model.ya
NCResult.text(s"Lights '$status' in '${locations.toLowerCase}'.")
}
}
- </pre><p> Chapter <a href="/data-model.html">Data Model</a> will
provide detailed explanation on how data models work. Here are few comments as
to what this code does and how it is organized:</p><ul><li> On line 5 we use <a
target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCModelFileAdapter.html">NCModelFileAdapter</a>
to load its configuration from the external
<code>examples/lightswitch_model.yaml</code> YAML file.<li> Our data model uses
intent-based matching of t [...]
+ </pre><p> Chapter <a href="/data-model.html">Data Model</a> will
provide detailed explanation on how data models work. Here are few comments as
to what this code does and how it is organized:</p><ul><li> On line 5 we use <a
target="javadoc"
href="/apis/latest/org/apache/nlpcraft/model/NCModelFileAdapter.html">NCModelFileAdapter</a>
to load its configuration from the external
<code>examples/lightswitch_model.yaml</code> YAML file.<li> Our data model uses
intent-based matching of t [...]
diff --git a/getting-started.html b/getting-started.html
index b51e6f4..adefeae 100644
--- a/getting-started.html
+++ b/getting-started.html
@@ -217,4 +217,4 @@
{
"status": "API_OK"
}
- </pre></section></div><div class="col-md-2 third-column"><ul
class="side-nav"><li class="side-nav-title">On This Page<li><a
href="#getting-started">Getting Started</a><li><a href="#probe-server">Data
Probe <span class="amp">&</span> Server</a><li><a href="#querying">Using
REST API</a><li class="side-nav-title">Quick Links<li> <i class="fab fa-fw
fa-github mr-2"></i><a target="github"
href="https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft/src/main/scala/org/ap
[...]
+ </pre></section></div><div class="col-md-2 third-column"><ul
class="side-nav"><li class="side-nav-title">On This Page<li><a
href="#getting-started">Getting Started</a><li><a href="#probe-server">Data
Probe <span class="amp">&</span> Server</a><li><a href="#querying">Using
REST API</a><li class="side-nav-title">Quick Links<li> <i class="fab fa-fw
fa-github mr-2"></i><a target="github"
href="https://github.com/apache/incubator-nlpcraft/tree/master/nlpcraft/src/main/scala/org/ap
[...]
diff --git a/index.html b/index.html
index bbe5934..03ea88b 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 b2b860f..a0bbe85 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 6323012..e634d7a 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>
@@ -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 b6e5b85..17a0fc2 100644
--- a/intent-matching.html
+++ b/intent-matching.html
@@ -108,4 +108,4 @@
flow='id1* >> (id1|id2)[1,2]'
term={id == 'mytok' && signum(~score['best']) != -1}
term={(groups @@ 'actors' || groups @@ 'owners') &&
size(partAlias.~text) > 10}
- </pre><p><b>NOTES:</b></p><ul><li> Intent has ID <code>id2</code>.<li>
Intent has dialog flow pattern to match: <code>'id1* >> (id1|id2)[1,2]'</code>.
It expect zero or more intents <code>id1</code> to matched immediately prior to
this one and either one or two of <code>id1</code> or <code>id2</code> intents
before that.<li> Intent has two non-conversational terms. Both terms have to be
present only once (their implicit quantifiers are <code>[1,1]</code>).<li>
First term should b [...]
+ </pre><p><b>NOTES:</b></p><ul><li> Intent has ID <code>id2</code>.<li>
Intent has dialog flow pattern to match: <code>'id1* >> (id1|id2)[1,2]'</code>.
It expect zero or more intents <code>id1</code> to matched immediately prior to
this one and either one or two of <code>id1</code> or <code>id2</code> intents
before that.<li> Intent has two non-conversational terms. Both terms have to be
present only once (their implicit quantifiers are <code>[1,1]</code>).<li>
First term should b [...]
diff --git a/metrics-and-tracing.html b/metrics-and-tracing.html
index 7ca7280..fe0f4fa 100644
--- a/metrics-and-tracing.html
+++ b/metrics-and-tracing.html
@@ -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 18929ba..cfeafc8 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 85cb1d7..599e5a3 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 c2b8863..6b86ef0 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 e61ae64..edbaaa7 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 46ad1cd..c38945e 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/server-and-probe.html b/server-and-probe.html
index 41c7285..d2c5794 100644
--- a/server-and-probe.html
+++ b/server-and-probe.html
@@ -193,4 +193,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/tools/embedded_probe.html b/tools/embedded_probe.html
index e2613d5..981c63a 100644
--- a/tools/embedded_probe.html
+++ b/tools/embedded_probe.html
@@ -44,4 +44,4 @@ public class AlarmTest {
assertTrue(cli.ask("Set my alarm for 30s").isOk());
}
}
- </pre><p> Notes:</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> Even tho [...]
+ </pre><p> Notes:</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> Even tho [...]
diff --git a/tools/script.html b/tools/script.html
index f475c76..7fd1f38 100644
--- a/tools/script.html
+++ b/tools/script.html
@@ -21,4 +21,4 @@
> $mvn clean package
</pre><p style="margin-left: 20px"> Runs Maven build in the current
directory.</p><pre class="brush: plain">
> $cmd /c dir
- </pre><p style="margin-left: 20px"> Runs Windows <code>dir</code>
command in the current directory using a separate shell.</p><p> Note that
<em>stdin</em>, <em>stderr</em> and <em>stdout</em> of the new process will
inherit from running <code>bin/nlpcraft.{sh|cmd}</code> script process. Running
OS commands makes the most sense in REPL mode where you don't want to lose a
session context while executing external OS commands. Technically, however,
external OS commands can be execute [...]
+ </pre><p style="margin-left: 20px"> Runs Windows <code>dir</code>
command in the current directory using a separate shell.</p><p> Note that
<em>stdin</em>, <em>stderr</em> and <em>stdout</em> of the new process will
inherit from running <code>bin/nlpcraft.{sh|cmd}</code> script process. Running
OS commands makes the most sense in REPL mode where you don't want to lose a
session context while executing external OS commands. Technically, however,
external OS commands can be execute [...]
diff --git a/tools/sql_model_gen.html b/tools/sql_model_gen.html
index 7c0efb2..cfea844 100644
--- a/tools/sql_model_gen.html
+++ b/tools/sql_model_gen.html
@@ -131,4 +131,4 @@ EXAMPLES:
-s public
-e "#_.+"
-o model.json
- </pre><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.html">NCModelFileAdapter</a>
class to instantiate model from this file.<li> Modify and extend generated
model stub to your own needs. In most cases, you'll need to add, remove or
modify auto-generated synonyms, add intents, etc. Note, however, tha [...]
+ </pre><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.html">NCModelFileAdapter</a>
class to instantiate model from this file.<li> Modify and extend generated
model stub to your own needs. In most cases, you'll need to add, remove or
modify auto-generated synonyms, add intents, etc. Note, however, tha [...]
diff --git a/tools/syn_tool.html b/tools/syn_tool.html
index c5ff27f..f193c27 100644
--- a/tools/syn_tool.html
+++ b/tools/syn_tool.html
@@ -93,4 +93,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 b048f42..bf0277c 100644
--- a/tools/test_framework.html
+++ b/tools/test_framework.html
@@ -61,4 +61,4 @@ public class AlarmModel extends NCModelFileAdapter {
}
</pre><p> Auto model validator will scan the model for its callback
methods, collect all samples from <code>@NCIntentSample</code> annotations, and
will submit each sample and check that correct intent is selected as the
winning match. Notice that this auto validation does not require any additional
code to be written - the tool gathers all required information from the model
itself.</p><p> Add necessary classpath to and run:</p><pre class="brush: plain">
java -ea -DNLPCRAFT_TEST_MODELS=org.apache.nlpcraft.examples.alarm.AlarmModel
org.apache.nlpcraft.model.tools.test.NCTestAutoModelValidator
- </pre><p> Notes:</p><ul><li> When running auto validator from command
line you set models to test via <code>NLPCRAFT_TEST_MODELS</code> system
property that should contain comma separate list of the data model
classes.</ul><p> In the log output you should see the following validation
results:</p><figure> <img class="img-fluid-no-border"
src="/images/auto_validation.png" alt=""><figcaption><b>Fig 1.</b> Model
Auto-Validation Result.</figcaption></figure><p> See <a target="javadoc" [...]
+ </pre><p> Notes:</p><ul><li> When running auto validator from command
line you set models to test via <code>NLPCRAFT_TEST_MODELS</code> system
property that should contain comma separate list of the data model
classes.</ul><p> In the log output you should see the following validation
results:</p><figure> <img class="img-fluid-no-border"
src="/images/auto_validation.png" alt=""><figcaption><b>Fig 1.</b> Model
Auto-Validation Result.</figcaption></figure><p> See <a target="javadoc" [...]
diff --git a/use-cases.html b/use-cases.html
index c4253a0..2cd118b 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 6467465..088a900 100644
--- a/using-rest.html
+++ b/using-rest.html
@@ -22,4 +22,4 @@
"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 [...]