vespa icon indicating copy to clipboard operation
vespa copied to clipboard

Case statement in ranking expressions

Open bratseth opened this issue 10 months ago • 1 comments

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

bratseth avatar Jan 10 '25 09:01 bratseth

Do only in config model

hmusum avatar Jan 22 '25 13:01 hmusum