This is an automated email from the ASF dual-hosted git repository.

sergeykamov pushed a commit to branch NLPCRAFT-278
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git


The following commit(s) were added to refs/heads/NLPCRAFT-278 by this push:
     new 8d7d58f  WIP.
8d7d58f is described below

commit 8d7d58f78e51be1aeeda2162c6f99312cc2cad5c
Author: Sergey Kamov <[email protected]>
AuthorDate: Tue Mar 23 17:50:19 2021 +0300

    WIP.
---
 .../model/intent/idl/compiler/functions/NCIdlFunctions.scala     | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git 
a/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/functions/NCIdlFunctions.scala
 
b/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/functions/NCIdlFunctions.scala
index 904a491..244f2f8 100644
--- 
a/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/functions/NCIdlFunctions.scala
+++ 
b/nlpcraft/src/test/scala/org/apache/nlpcraft/model/intent/idl/compiler/functions/NCIdlFunctions.scala
@@ -17,6 +17,7 @@
 
 package org.apache.nlpcraft.model.intent.idl.compiler.functions
 
+import org.apache.nlpcraft.common.ScalaMeta
 import org.apache.nlpcraft.model.intent.compiler.{NCIdlCompiler, 
NCIdlCompilerGlobal}
 import org.apache.nlpcraft.model.intent.{NCIdlContext, NCIdlFunction}
 import org.apache.nlpcraft.model.{NCCompany, NCModel, NCModelView, NCRequest, 
NCToken, NCUser}
@@ -82,9 +83,15 @@ private[functions] trait NCIdlFunctions {
         recTimestamp: Long = 0,
         remAddress: String = null,
         clientAgent: String = null,
-        reqData: Map[String, AnyRef] = Map.empty[String, AnyRef]
+        reqData: ScalaMeta = Map.empty[String, AnyRef],
+        intentMeta: ScalaMeta = Map.empty[String, Object],
+        convMeta: ScalaMeta = Map.empty[String, Object],
+        fragMeta: ScalaMeta = Map.empty[String, Object]
     ): NCIdlContext =
         NCIdlContext(
+            intentMeta = intentMeta,
+            convMeta = convMeta,
+            fragMeta = fragMeta,
             req =
                 new NCRequest() {
                     override def getUser: NCUser = usr

Reply via email to