How to extract entity roles depending on requested slot without having to hard-code anything in validate_actions?

I am trying to extract two kinds of roles (min and max) from the entity (price). However, the CRFEntityExtractor is assigning the role “min” to any given price, I can solve this by checking in validate_action what the requested slot is but I want a solution that is more dynamic by e.g. automatically considering what the requested slot is before assigning the roles. Any ideas?

Your action can take into consideration what the requested slot was.

@stephens I know and that works fine when I take the recognized entity value with the wrong assigned role and set the requested slot instead of the recognized one. But I rather want to do something that would help the CRFEntityExtractor assigning the correct role considering the requested slot without me interfering in the action code. Is there any way to do that?

Can you attach the training data?