Skip to content

Commit

Permalink
Cleanup Intent Service (#575)
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel McKnight <[email protected]>
  • Loading branch information
NeonDaniel and NeonDaniel authored Nov 16, 2023
1 parent 127ce30 commit 323b146
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 87 deletions.
1 change: 0 additions & 1 deletion neon_core/skills/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

from neon_core.skills.service import NeonSkillService
# from neon_core.skills.padatious_service import PadatiousService
from neon_utils.log_utils import init_log
from ovos_utils.log import LOG
from ovos_utils.process_utils import reset_sigint_handler, PIDLock as Lock
Expand Down
4 changes: 2 additions & 2 deletions neon_core/skills/intent_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ def handle_utterance(self, message):
self.bus.emit(reply)
return

if lang.split('-')[0] in self.supported_languages:
LOG.debug(f'Native language support ({lang})')
if message.data["lang"].split('-')[0] in self.supported_languages:
LOG.debug(f'Native language support ({message.data["lang"]})')
if message.context.get("translation_data") and \
message.context.get("translation_data")[0].get(
"was_translated"):
Expand Down
83 changes: 0 additions & 83 deletions neon_core/skills/padatious_service.py

This file was deleted.

4 changes: 3 additions & 1 deletion requirements/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ ovos-core==0.0.7
ovos-plugin-common-play~=0.0.5

# utils
neon-utils[network]~=1.7
neon-utils[network,audio]~=1.7,>=1.7.1a2
# TODO audio extra patching dependency resolution

ovos-utils~=0.0.35
ovos-bus-client~=0.0.5
neon-transformers~=0.2
Expand Down

0 comments on commit 323b146

Please sign in to comment.