This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch NLPCRAFT-366
in repository
https://gitbox.apache.org/repos/asf/incubator-nlpcraft-java-client.git
The following commit(s) were added to refs/heads/NLPCRAFT-366 by this push:
new 6c6c548 Update NCClientBuilder.java
6c6c548 is described below
commit 6c6c5484927e05e581da5bb377cbbf7828fddffd
Author: Nikita Ivanov <>
AuthorDate: Fri Aug 6 10:27:19 2021 -0700
Update NCClientBuilder.java
---
src/main/java/org/apache/nlpcraft/client/NCClientBuilder.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/org/apache/nlpcraft/client/NCClientBuilder.java
b/src/main/java/org/apache/nlpcraft/client/NCClientBuilder.java
index 8c6d785..a07f559 100644
--- a/src/main/java/org/apache/nlpcraft/client/NCClientBuilder.java
+++ b/src/main/java/org/apache/nlpcraft/client/NCClientBuilder.java
@@ -38,7 +38,7 @@ import java.util.function.Supplier;
* .build();
*
* // Perform any necessary calls...
- * NCResult res = cli.askSync("my.model.id", txt);
+ * NCResult res = cli.askSync("my.model.id", "My question or query");
*
* // Close client & sign out at the end.
* cli.close();
@@ -127,7 +127,7 @@ public class NCClientBuilder {
if (impl.getEmail() == null && impl.getPassword() != null ||
impl.getEmail() != null && impl.getPassword() == null
)
- throw new IllegalArgumentException("Both email and password should
be null or not null");
+ throw new IllegalArgumentException("Both email and password should
be null or not null.");
if (impl.getBaseUrl() == null)
impl.setBaseUrl(DFLT_BASEURL);