4 ms·
Use a consistent argument structure and make a simple class or function for each provider that translates that to the specific API calls. They are very similar
by ilaksh 2y ago
Use a consistent argument structure and make a simple class or function for each provider that translates that to the specific API calls. They are very similar APIs. Maybe select the function call based on the model name.