Snips cannot identify our intent

Hi everyone, I am using snips as part of a school project and have an issue with snips not being able to reply as it does not recognize my intents. This project is on a macbook and not using a raspberry pi.

Here is what my log says :

15

I can see that snips recognizes the audio but doesn’t properly attribute it to the intent and so doesn’t reply. I’m a complete beginner so please let me know if you need any other information. Your help is greatly appreciated and will definitely help my project!

Hello, how does your intent look?
For logs please paste the text and use code fences in the future instead of a screenshot.
Best regards Johannes

Hey Johannes,

Thank you for your answer,

Do you mean our python code ?

!/usr/bin/env python2
# -- coding: utf-8 --
from hermes_python.hermes import Hermes

INTENT_LEARN = "Julie-lorr:study"
INTENT_TESTED = "Julie-lorr:tested"
INTENT_HUMANBODY = "Julie-lorr:humanbody"
INTENT_HEART = "Julie-lorr:heart"
INTENT_LUNGS = "Julie-lorr:lungs"
INTENT_CORRECT = "Julie-lorr:correct"
INTENT_INTERRUPT = "Julie-lorr:interrupt"

INTENT_FILTER_GET_ANSWER = [INTENT_LEARN, INTENT_TESTED, INTENT_HUMANBODY, INTENT_HEART, INTENT_LUNGS, INTENT_CORRECT, INTENT_INTERRUPT]


def main():
    with Hermes("localhost:1883") as h:
        h.subscribe_intent(INTENT_LEARN, learn_callback) \
         .subscribe_intent(INTENT_TESTED, tested_callback) \
         .subscribe_intent(INTENT_HUMANBODY, humanbody_callback) \
         .subscribe_intent(INTENT_HEART, heart_callback) \
         .subscribe_intent(INTENT_LUNGS, lungs_callback) \
         .subscribe_intent(INTENT_CORRECT, correct_callback) \
         .subscribe_intent(INTENT_INTERRUPT, interrupt_callback) \
         .start()


def learn_callback(hermes, intent_message):
    session_id = intent_message.session_id
    response = "Ok, do you want to learn, test yourself or do your homework?"
    hermes.publish_continue_session(session_id, response, INTENT_FILTER_GET_ANSWER)


def tested_callback(hermes, intent_message):
    session_id = intent_message.session_id
    response = "Great! What do you want to start with?"
    hermes.publish_continue_session(session_id, response, INTENT_FILTER_GET_ANSWER)


def humanbody_callback(hermes, intent_message):
    session_id = intent_message.session_id
    response = "Perfect, can you define the function of the heart?"
    hermes.publish_continue_session(session_id, response, INTENT_FILTER_GET_ANSWER)


def heart_callback(hermes, intent_message):
    session_id = intent_message.session_id
    response = "That’s right! Here's the next one, define the function of the lungs."
    hermes.publish_contine_session(session_id, response, INTENT_FILTER_GET_ANSWER)


def lungs_callback(hermes, intent_message):
    session_id = intent_message.session_id
    response = "I wish! But sadly no that’s not quite it, do you want to try again or do you want me to tell you the correct answer?"
    hermes.publish_contine_session(session_id, response, INTENT_FILTER_GET_ANSWER)


def correct_callback(hermes, intent_message):
    session_id = intent_message.session_id
    response = "Ok, the lungs are a part of the respiratory system that allow you to inhale oxygen and exhale carbon dioxide."
    hermes.publish_contine_session(session_id, response, INTENT_FILTER_GET_ANSWER)


def interrupt_callback(hermes, intent_message):
    session_id = intent_message.session_id
    response = "No problem, we'll keep working later!"
    hermes.publish_end_session(session_id, response)


if __name__ == "__main__":
    main()

No the intent you build in the Snips console that the nlu needs to parse.