Hi,
I am working on a project where we use an external Machine Learning model to process user data. This ML model provides specific values (such as predicted clusters or weights) that need to be fed into the GraphHopper backend.
Currently, I am having trouble identifying exactly which part of the GraphHopper backend source code I should modify to inject these processed values.
Specifically, I would like to know:
-
Integration Point: Where is the best place in the backend logic to intercept the request and inject the ML model’s output before the routing or clustering begins?
-
File References: Which classes or files are typically responsible for handling external data inputs in the
graphhopper-weborcoremodules? -
Best Practice: Should I handle this at the API/Controller level, or is there a more idiomatic way to customize the
Cluster APIorMatrix APIlogic to account for these external values?
I’m a bit lost on where to start modifying the code. Any guidance on which files to look into would be greatly appreciated!
Best regards,