Get Person names as entity from user input

One option here is to include the SpacyEntityExtractor in your NLU pipeline. This will leverage Spacy’s pre-trained entity extractors for extracting entities like names that could improve the accuracy extracting names from user messages.

This blog post explains how you can implement SpacyEntityExtractor with your bot:

Using Custom spaCy Components in Rasa