Class RankProfilesEvaluator

java.lang.Object
com.yahoo.component.AbstractComponent
com.yahoo.search.ranking.RankProfilesEvaluator
All Implemented Interfaces:
com.yahoo.component.Component, com.yahoo.component.Deconstructable, Comparable<com.yahoo.component.Component>

public class RankProfilesEvaluator extends com.yahoo.component.AbstractComponent
proxy for model-evaluation components
Author:
arnej
  • Field Summary

    Fields inherited from class com.yahoo.component.AbstractComponent

    isDeconstructable
  • Constructor Summary

    Constructors
    Constructor
    Description
    RankProfilesEvaluator(com.yahoo.vespa.config.search.RankProfilesConfig rankProfilesConfig, com.yahoo.vespa.config.search.core.RankingConstantsConfig constantsConfig, com.yahoo.vespa.config.search.core.RankingExpressionsConfig expressionsConfig, com.yahoo.vespa.config.search.core.OnnxModelsConfig onnxModelsConfig, com.yahoo.filedistribution.fileacquirer.FileAcquirer fileAcquirer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    ai.vespa.models.evaluation.FunctionEvaluator
    evaluatorForFunction(String rankProfile, String functionName)
     
    ai.vespa.models.evaluation.Model
     

    Methods inherited from class com.yahoo.component.AbstractComponent

    clone, compareTo, deconstruct, getClassName, getId, getIdString, hasInitializedId, initId, isDeconstructable, setIsDeconstructable, toString

    Methods inherited from class java.lang.Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • RankProfilesEvaluator

      @Inject public RankProfilesEvaluator(com.yahoo.vespa.config.search.RankProfilesConfig rankProfilesConfig, com.yahoo.vespa.config.search.core.RankingConstantsConfig constantsConfig, com.yahoo.vespa.config.search.core.RankingExpressionsConfig expressionsConfig, com.yahoo.vespa.config.search.core.OnnxModelsConfig onnxModelsConfig, com.yahoo.filedistribution.fileacquirer.FileAcquirer fileAcquirer)
  • Method Details

    • modelForRankProfile

      public ai.vespa.models.evaluation.Model modelForRankProfile(String rankProfile)
    • evaluatorForFunction

      public ai.vespa.models.evaluation.FunctionEvaluator evaluatorForFunction(String rankProfile, String functionName)