Is it possible to access to the configuration of endpoints from a pipeline component


I have a custom entity recognition system in a service apart from rasa infrastructure. To access to this service I’ve created a pipeline component that integrates the results of this service in the rasa results. The problem is that I need to give the url to this service to the component and it must be dynamic, that means, with the same model I can use different ER services, and for this reason I cannot use the pipeline configuration of config.yml. Currently, I’m using environment variables but I think it should be better if I can use the endpoints.yml file to configure them. Is there any way to access to the endpoint configuration from a pipeline component?

Thanks, Leto