This is an automated email from the ASF dual-hosted git repository.
sergeykamov pushed a commit to branch NLPCRAFT-383
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git
The following commit(s) were added to refs/heads/NLPCRAFT-383 by this push:
new 32048be WIP.
32048be is described below
commit 32048be7608d8d6fb63a907dc1dccbcb0bffce88
Author: Sergey Kamov <[email protected]>
AuthorDate: Fri Aug 6 18:28:48 2021 +0300
WIP.
---
.../apache/nlpcraft/examples/solarsystem/SolarSystemModel.scala | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git
a/nlpcraft-examples/solarsystem/src/main/java/org/apache/nlpcraft/examples/solarsystem/SolarSystemModel.scala
b/nlpcraft-examples/solarsystem/src/main/java/org/apache/nlpcraft/examples/solarsystem/SolarSystemModel.scala
index b4e5b1e..d6a1c3e 100644
---
a/nlpcraft-examples/solarsystem/src/main/java/org/apache/nlpcraft/examples/solarsystem/SolarSystemModel.scala
+++
b/nlpcraft-examples/solarsystem/src/main/java/org/apache/nlpcraft/examples/solarsystem/SolarSystemModel.scala
@@ -45,10 +45,10 @@ class SolarSystemModel extends
NCModelFileAdapter("solarsystem_model.yaml") with
)
@NCIntent(
"intent=planetInfo " +
- " options={" +
- " 'unused_usr_toks': false " +
- " }" +
- " term(planet)={tok_id() == 'planet'}"
+ " options={" +
+ " 'unused_usr_toks': false " +
+ " }" +
+ " term(planet)={tok_id() == 'planet'}"
)
def planetInfo(@NCIntentTerm("planet") planet: NCToken): NCResult =
NCResult.text(api.bodyRequest().withFilter("id", "eq",
planet.getNormalizedText).execute().toString())