You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by ar...@apache.org on 2021/07/25 03:15:56 UTC
[incubator-nlpcraft-website] branch master updated: Fixes.
This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft-website.git
The following commit(s) were added to refs/heads/master by this push:
new 137435a Fixes.
137435a is described below
commit 137435a1ffd9738969a3064c17427ce3cf402a09
Author: Aaron Radzinzski <ar...@datalingvo.com>
AuthorDate: Sat Jul 24 20:15:46 2021 -0700
Fixes.
---
_data/idl-fns.yml | 3 ++-
cheat-sheet.html | 9 ++++++---
data-model.html | 2 +-
intent-matching.html | 4 ++--
4 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/_data/idl-fns.yml b/_data/idl-fns.yml
index 43a90cb..d53abe0 100644
--- a/_data/idl-fns.yml
+++ b/_data/idl-fns.yml
@@ -1221,7 +1221,8 @@ fn-metadata:
<b>meta_tok</b>(p: String) ⇒ Any
synopsis: Gets token metadata property <code><b>p</b></code>
desc: |
- Gets token metadata property <code><b>p</b></code>.
+ Gets token metadata property <code><b>p</b></code>. See
+ <a href="/data-model.html#meta">token metadata</a> for more information.
usage: |
// Result: 'nlpcraft:num:unit' token metadata property.
meta_tok('nlpcraft:num:unit')
diff --git a/cheat-sheet.html b/cheat-sheet.html
index 231253f..5382c63 100644
--- a/cheat-sheet.html
+++ b/cheat-sheet.html
@@ -469,9 +469,9 @@ id: cheat_sheet
Using <code>call</code> command (for REPL mode):
</p>
<pre class="brush: bash">
- $ bin/nlpcraft.sh help -c=call # Get help.
- $ bin/nlpcraft.sh call -p=signin --email=admin@admin.com --passwd=admin
- $ bin/nlpcraft.sh call --path=ask/sync --acsTok=qwerty123456 --txt="User request" --mdlId=my.model.id --data='{"data1": true, "data2": 123, "data3": "some text"}' --enableLog=false
+ > help -c=call # Get help.
+ > call -p=signin --email=admin@admin.com --passwd=admin
+ > call --path=ask/sync --acsTok=qwerty123456 --txt="User request" --mdlId=my.model.id --data='{"data1": true, "data2": 123, "data3": "some text"}' --enableLog=false
</pre>
<p>
Using <code>rest</code> command (for command line mode):
@@ -493,6 +493,9 @@ id: cheat_sheet
</p>
<ul>
<li>
+ Use <span class="keyboard">Tab</span> key for auto-completion for commands, parameters, paths, and model class names.
+ </li>
+ <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>.
diff --git a/data-model.html b/data-model.html
index d06e45f..66a66c8 100644
--- a/data-model.html
+++ b/data-model.html
@@ -568,7 +568,7 @@ intents:
<p>
Note that you can't directly change group membership, parent-child relationship or metadata of the
built-in elements. You can, however, "wrap" built-in entity into your own one using <code>^^{tok_id() == 'external.id'}^^</code>
- <a href="/intent-matching.html">IDL</a> expression where you can define all necessary additional
+ <a href="/intent-matching.html">IDL</a> expression as its synonym where you can define all necessary additional
configuration properties (more on that below).
</p>
<span id="synonyms" class="section-sub-title">Synonyms <a href="#"><i class="top-link fas fa-fw fa-angle-double-up"></i></a></span>
diff --git a/intent-matching.html b/intent-matching.html
index 1a7090e..85f9fcb 100644
--- a/intent-matching.html
+++ b/intent-matching.html
@@ -600,7 +600,7 @@ id: intent_matching
<table class="gradient-table">
<thead>
<tr>
- <th>Java Type</th>
+ <th>JVM Type</th>
<th>IDL Name</th>
<th>Notes</th>
</tr>
@@ -630,7 +630,7 @@ id: intent_matching
</td>
</tr>
<tr><td><code>java.lang.Boolean</code></td><td><code>Boolean</code></td><td>You can use <code><b>true</b></code> or <code><b>false</b></code> literals.</td></tr>
- <tr><td><code>java.util.List<T></code></td><td><code>List[T]</code></td><td></td></tr>
+ <tr><td><code>java.util.List<T></code></td><td><code>List[T]</code></td><td>Use <code>list(...)</code> IDL function to create new list.</td></tr>
<tr><td><code>java.util.Map<K,V></code></td><td><code>Map[K,V]</code></td><td></td></tr>
<tr><td><code><a target="javadoc" href="/apis/latest/org/apache/nlpcraft/model/NCToken">NCToken</a></code></td><td><code>Token</code></td><td></td></tr>
<tr><td><code>java.lang.Object</code></td><td><code>Any</code></td><td>Any of the supported types above. Use <code><b>null</b></code> literal for null value.</td></tr>