diff --git a/dialogy/plugins/text/duckling_plugin/__init__.py b/dialogy/plugins/text/duckling_plugin/__init__.py index 5b09064c..b1a6c5ba 100644 --- a/dialogy/plugins/text/duckling_plugin/__init__.py +++ b/dialogy/plugins/text/duckling_plugin/__init__.py @@ -597,11 +597,12 @@ def __create_req_body( :rtype: Dict[str, Any] """ dimensions = self.dimensions - self.activate_latent_entities = use_latent or self.activate_latent_entities + activate_latent_entities = use_latent + activate_latent_entities = ( - self.activate_latent_entities - if isinstance(self.activate_latent_entities, bool) - else self.activate_latent_entities() + activate_latent_entities + if isinstance(activate_latent_entities, bool) + else activate_latent_entities() ) payload = { diff --git a/docs/.buildinfo b/docs/.buildinfo index 63da9ce5..52639e68 100644 --- a/docs/.buildinfo +++ b/docs/.buildinfo @@ -1,4 +1,4 @@ # Sphinx build info version 1 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. -config: c49aa7e37a5eef9d9b5d7193dbe5cf54 +config: 7d590465bce22dcff23310e826e335c2 tags: 645f666f9bcd5a90fca523b33c5a78b7 diff --git a/docs/_modules/dialogy/base/entity_extractor.html b/docs/_modules/dialogy/base/entity_extractor.html index 7fed3972..f1803cfc 100644 --- a/docs/_modules/dialogy/base/entity_extractor.html +++ b/docs/_modules/dialogy/base/entity_extractor.html @@ -5,7 +5,7 @@ -