This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch NLPCRAFT-206
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-206 by this push:
new 47bf665 WIP.
47bf665 is described below
commit 47bf6655e806e559ceeac8cb5c9e439aad253db7
Author: Aaron Radzinzski <[email protected]>
AuthorDate: Wed Mar 10 23:27:37 2021 -0800
WIP.
---
.../org/apache/nlpcraft/model/intent/solver/NCIntentSolverEngine.scala | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/solver/NCIntentSolverEngine.scala
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/solver/NCIntentSolverEngine.scala
index 7709a25..d32f11b 100644
---
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/solver/NCIntentSolverEngine.scala
+++
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/intent/solver/NCIntentSolverEngine.scala
@@ -29,6 +29,7 @@ import org.apache.nlpcraft.model.impl.NCTokenPimp._
import org.apache.nlpcraft.model.intent.{NCDslContext, NCDslIntent, NCDslTerm}
import java.util.function.Function
+import scala.collection.JavaConverters._
import scala.collection.convert.ImplicitConversions._
import scala.collection.mutable
@@ -486,7 +487,7 @@ object NCIntentSolverEngine extends LazyLogging with
NCOpenCensusTrace {
val termCtx = NCDslContext(
intentMeta = intent.meta,
- convMeta = ctx.getConversation.getMetadata,
+ convMeta =
ctx.getConversation.getMetadata.asScala.toMap[String, Object],
req = ctx.getRequest
)