This is an automated email from the ASF dual-hosted git repository. sergeykamov pushed a commit to branch NLPCRAFT-504 in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
commit f6ddcfadab444a9dc0d5efd9bc80dfc2cfef1fb9 Merge: 8d7dce52 f5d0bd74 Author: Sergey Kamov <skhdlem...@gmail.com> AuthorDate: Sat Jul 2 22:46:00 2022 +0300 Merge remote-tracking branch 'origin/NLPCRAFT-504' into NLPCRAFT-504 nlpcraft/src/main/scala/org/apache/nlpcraft/NCEntity.scala | 4 ++-- nlpcraft/src/main/scala/org/apache/nlpcraft/NCPipelineBuilder.scala | 3 ++- .../apache/nlpcraft/internal/conversation/NCConversationData.scala | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --cc nlpcraft/src/main/scala/org/apache/nlpcraft/NCPipelineBuilder.scala index 7989755d,05a475ed..d356d053 --- a/nlpcraft/src/main/scala/org/apache/nlpcraft/NCPipelineBuilder.scala +++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/NCPipelineBuilder.scala @@@ -187,8 -187,8 +187,9 @@@ class NCPipelineBuilder * @return */ def withSemantic(lang: String, macros: Map[String, String], elms: List[NCSemanticElement]): NCPipelineBuilder = Objects.requireNonNull(lang, "Language cannot be null.") + Objects.requireNonNull(macros, "Macros elements cannot be null.") Objects.requireNonNull(elms, "Model elements cannot be null.") + Objects.requireNonNull(macros, "Macros cannot be null.") if elms.isEmpty then throw new IllegalArgumentException("Model elements cannot be empty.") lang.toUpperCase match