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/09/06 02:44:01 UTC
[incubator-nlpcraft] 02/03: Update NCProbeEnrichmentManager.scala
This is an automated email from the ASF dual-hosted git repository.
aradzinski pushed a commit to branch NLPCRAFT-41
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
commit c673bb90db72cda39eafcf289638cf9a04ee912d
Author: Aaron Radzinski <ar...@datalingvo.com>
AuthorDate: Sat Sep 5 19:43:30 2020 -0700
Update NCProbeEnrichmentManager.scala
---
.../org/apache/nlpcraft/probe/mgrs/nlp/NCProbeEnrichmentManager.scala | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/nlp/NCProbeEnrichmentManager.scala b/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/nlp/NCProbeEnrichmentManager.scala
index 8c86dd6..9016cb3 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/nlp/NCProbeEnrichmentManager.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/probe/mgrs/nlp/NCProbeEnrichmentManager.scala
@@ -577,8 +577,8 @@ object NCProbeEnrichmentManager extends NCService with NCOpenCensusModelStats {
span.end()
}
- val mdl: NCModelWrapper = mdlDec.model.asInstanceOf[NCModelWrapper]
-
+ val mdl: NCModelWrapper = mdlDec.model
+
val solverIn = new NCIntentSolverInput(ctx)
// Execute model query asynchronously.