vespa
vespa copied to clipboard
Case statement in ranking expressions
From a user that wants to parametrize which model to use:
I can do this:
expression: if(query(l2_rel_model) == "model_name", xgboost("model_name.json"), 0)
but we have a dozen of models and that would be a real mess
Do only in config model