What it does
Puts the model in one property: the documentation says to choose the LLM by setting name in the promptTemplating.model configuration, and that the harmonised API behind it lets a different foundation model be used without the client code changing, with a switch shown as an example. An optional version and params sit beside the name for a model's own settings.
Remaining work
Keep that configuration outside the handler if the switch is to be a deployment change rather than a release, and make sure the model named is one the bound resource group has a deployment for. The package is ESM-only, which a CommonJS CAP project has to deal with before any of this.