Suppose instead of a fixed entity , let’s say book name, we have dynamic book names.
How get_slot for entity name which are dynamic?
What I mean by that is:
Let’s say user says: I want to know what is name of author of Harry Pottar.
This book name cannot be fixed as number of book in db increases each day.
Now I have created API which based on book’s name, will give response of author name which I am fetching from actions.py.
So since my bot is not trained upon dynamic name, how can it recognize that it needs to pick book name - Harry Pottar and set slot Harry Pottar and fetch API, get response from API and provide response to user in bot.
If anyone needs any further information please let me know.