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 2020/12/17 21:08:49 UTC
[incubator-nlpcraft] branch NLPCRAFT-194 updated (db70a46 ->
4e310e4)
This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a change to branch NLPCRAFT-194
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git.
from db70a46 WIP.
new af3076d WIP.
new 4e310e4 Update NCCliCommands.scala
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../nlpcraft/model/tools/cmdline/NCCliCommands.scala | 15 ++++++++-------
.../model/tools/test/NCTestAutoModelValidator.java | 6 +++---
2 files changed, 11 insertions(+), 10 deletions(-)
[incubator-nlpcraft] 02/02: Update NCCliCommands.scala
Posted by ar...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch NLPCRAFT-194
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
commit 4e310e4a1211ab0154b339b26fc8d1360eac39ac
Author: Aaron Radzinski <ar...@datalingvo.com>
AuthorDate: Thu Dec 17 13:08:35 2020 -0800
Update NCCliCommands.scala
---
.../apache/nlpcraft/model/tools/cmdline/NCCliCommands.scala | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCliCommands.scala b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCliCommands.scala
index 2935e8e..9ccdce8 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCliCommands.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCliCommands.scala
@@ -630,8 +630,8 @@ private [cmdline] object NCCliCommands {
value = Some("<jvm flags>"),
optional = true,
desc =
- s"Space separated list of JVM flags to use. If not provided, the default ${y("'-ea -Xms2048m -XX:+UseG1GC'")} flags " +
- s"will be used."
+ s"Space separated quoted string of JVM flags to use. If not provided, the " +
+ s"default ${y("'-ea -Xms2048m -XX:+UseG1GC'")} flags will be used."
),
Parameter(
id = "noWait",
@@ -710,8 +710,8 @@ private [cmdline] object NCCliCommands {
value = Some("<jvm flags>"),
optional = true,
desc =
- s"Space separated list of JVM flags to use. If not provided, the default ${y("'-ea -Xms1024m'")} flags " +
- s"will be used."
+ s"Space separated quoted string of JVM flags to use. If not provided, the " +
+ s"default ${y("'-ea -Xms1024m'")} flags will be used."
),
Parameter(
id = "noWait",
@@ -787,6 +787,7 @@ private [cmdline] object NCCliCommands {
id = "models",
names = Seq("--models", "-m"),
value = Some("<model list>"),
+ optional = true,
desc =
s"Comma separated list of fully qualified class names for models to test. NOTE: if you provide " +
s"the list of your own models here - you must also provide the additional classpath " +
@@ -798,8 +799,8 @@ private [cmdline] object NCCliCommands {
value = Some("<jvm flags>"),
optional = true,
desc =
- s"Space separated list of JVM flags to use. If not provided, the default ${y("'-ea -Xms1024m'")} flags " +
- s"will be used."
+ s"Space separated quoted string of JVM flags to use. If not provided, the " +
+ s"default ${y("'-ea -Xms1024m'")} flags will be used."
)
),
examples = Seq(
[incubator-nlpcraft] 01/02: WIP.
Posted by ar...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch NLPCRAFT-194
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
commit af3076d8ba177abfc32ae10208add6b079132c44
Author: Aaron Radzinski <ar...@datalingvo.com>
AuthorDate: Thu Dec 17 13:05:35 2020 -0800
WIP.
---
.../org/apache/nlpcraft/model/tools/cmdline/NCCliCommands.scala | 2 +-
.../apache/nlpcraft/model/tools/test/NCTestAutoModelValidator.java | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCliCommands.scala b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCliCommands.scala
index 015a2d1..2935e8e 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCliCommands.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCliCommands.scala
@@ -755,7 +755,7 @@ private [cmdline] object NCCliCommands {
synopsis = s"Runs ${y("'NCTestAutoModelValidator'")} model auto-validator.",
desc = Some(
s"Validation consists " +
- s"of starting an embedded probe, scanning for ${y("'NCIntentSample'")} annotations and their corresponding " +
+ s"of starting an embedded probe, scanning all deployed models for ${y("'NCIntentSample'")} annotations and their corresponding " +
s"callback methods, submitting each sample input sentences from ${y("'NCIntentSample'")} annotation and " +
s"checking that resulting intent matches the intent the sample was attached to. " +
s"See more details at https://nlpcraft.apache.org/tools/test_framework.html"
diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/test/NCTestAutoModelValidator.java b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/test/NCTestAutoModelValidator.java
index 21321a2..885149f 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/test/NCTestAutoModelValidator.java
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/test/NCTestAutoModelValidator.java
@@ -22,9 +22,9 @@ import org.apache.nlpcraft.model.tools.test.impl.*;
/**
* Data model auto-validator is based on {@link NCIntentSample} annotations. Validation consists of starting an embedded
- * probe, scanning for {@link NCIntentSample} annotations and their corresponding callback methods, submitting each sample input
- * sentences from {@link NCIntentSample} annotation and checking that resulting intent matches the intent the sample
- * was attached to.
+ * probe, scanning all deployed models for {@link NCIntentSample} annotations and their corresponding callback methods,
+ * submitting each sample input sentences from {@link NCIntentSample} annotation and checking that resulting intent
+ * matches the intent the sample was attached to.
* <p>
* Note that there can be more than one {@link NCIntentSample} annotation attached to the intent callback. Each such
* annotation will trigger conversation STM reset before its samples will be submitted. This gives an opportunity