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

paulk pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/groovy-website.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new c2ba812  minor tweak
c2ba812 is described below

commit c2ba812a557ef0b94fe1d6d158485dfc8d9ebcce
Author: Paul King <[email protected]>
AuthorDate: Mon Mar 13 22:03:11 2023 +1000

    minor tweak
---
 site/src/site/blog/apache-nlpcraft-with-groovy.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/site/src/site/blog/apache-nlpcraft-with-groovy.adoc 
b/site/src/site/blog/apache-nlpcraft-with-groovy.adoc
index 88ed802..d4878e0 100644
--- a/site/src/site/blog/apache-nlpcraft-with-groovy.adoc
+++ b/site/src/site/blog/apache-nlpcraft-with-groovy.adoc
@@ -148,7 +148,7 @@ new NCModelClient(new TimeModel()).withCloseable { client ->
     phrases.each { phrase, expected ->
         var result = client.ask(phrase, user, data)
         assert result.intentId.get() == expected
-        def body = new YamlSlurper().parseText(result.body)
+        var body = new YamlSlurper().parseText(result.body)
         body.with{ println "$city, $country: $localTime" }
     }
 }

Reply via email to