Class LTRFeatureLoggerTransformerFactory

  • All Implemented Interfaces:
    NamedListInitializedPlugin

    public class LTRFeatureLoggerTransformerFactory
    extends TransformerFactory
    This transformer will take care to generate and append in the response the features declared in the feature store of the current reranking model, or a specified feature store. Ex. fl=id,[features store=myStore efi.user_text="ibm"]

    Parameters

    store - The feature store to extract features from. If not provided it will default to the features used by your reranking model.
    efi.* - External feature information variables required by the features you are extracting.
    format - The format you want the features to be returned in. Supports (dense|sparse). Defaults to dense.
    • Constructor Detail

      • LTRFeatureLoggerTransformerFactory

        public LTRFeatureLoggerTransformerFactory()
    • Method Detail

      • setFvCacheName

        public void setFvCacheName​(String fvCacheName)
      • setLoggingModelName

        public void setLoggingModelName​(String loggingModelName)
      • setDefaultStore

        public void setDefaultStore​(String defaultStore)
      • setDefaultFormat

        public void setDefaultFormat​(String defaultFormat)
      • setCsvKeyValueDelimiter

        public void setCsvKeyValueDelimiter​(String csvKeyValueDelimiter)
      • setCsvFeatureSeparator

        public void setCsvFeatureSeparator​(String csvFeatureSeparator)