I have create custom component for check voice quality that i placed at first in rasa pipeline if the voice quality of user not good then it display in user-bot conversation. is there any method to display bot utterances through custom component
I have create custom component for check voice quality
I wouldn’t use an NLU component for this. I’m not sure how you are determining the voice quality but typically information like this would be passed as metadata in the rest or socket channel and the metadata would be read in
action_session_start or another custom action to set a
is there any method to display bot utterances through custom component
No, you typically wouldn’t do that in an NLU component. You can respond based on setting of a
voice_quality slot or an intent.
i am calling an API in custom component that check the voice quality i cant create custom action for voice quality check because custom action trigger by the intent in stories where i will call custom action if bot not able understand the intent how it will trigger the action through stories therefore i have only option to create custom nlu component
I would use
action_session_start which is automatically triggered at the start of a conversation and also call it as an NLU fallback action.