What is "conversation: -> intents:" syntax found in the intent_script documentation=

Hi everyone,

up until today, I thought intents have to be configured in language specific files under custom_sentences/<language>.
But in the docs for the intent_script integration there’s something like that:

conversation:
  intents:
    EventCountToday:
      - "How many meetings do I have today?"

The documentation for the conversation integration isn’t showing any possible sub-keys.
What exactly is “How many meetings do I have today?”?
Is it an english sentence that assist would be able to recognize?

One thing that came in my mind: That would be an easier way to define Intents to be used with LLMs. You don’t need a lot sample sentences or translations here.

You could even use a package merge-based include in your configuration.yaml and define one file with a concersation → intent entry and the corrsponding intent_script entry.

Would be a way cleaner solution.

edit:
Forgot the link to the docs:

Yes, at least it will if you remove the “?”… punctuation marks should be left out of intent sentences (I’ve already submitted a PR to fix the docs).

Yes, you can do that and it works.

1 Like

Thanks a lot for this fast and helpful reply. :slightly_smiling_face: