Is there a way in which I can access my current intent and the phrases given below it (present in nlu.md) from my custom action in actions.py?
Hi @sanjay1983
You may find [Solved]Extracting the current intent from a custom action useful.
intent= tracker.latest_message[‘intent’].get(‘name’)
Thanks, this is for the intent name. How do I access the training sentences that I specified under each intent?
Thanks, this is for the intent name. How do I access the training sentences that I specified under each intent?
yes
No, the name is fine. What about the training sentences under each intent in the nlu.md file? How do I access that with a tracker?
Can someone please help me with this asap? Thank you.