Intent Matching to be affected by Entity Extracted

Does it work for chitchat?

So I need to have custom actions for anywhere that I want to do this? Utterance or retrieval actions wont work?

Can you check @erohmensing’s response on this thread Small talk using Response selector - random responses?

And also, can you provide the source code that you used for testing it?