Package com.redis.om.spring.vectorize
Class NoopFeatureExtractor
java.lang.Object
com.redis.om.spring.vectorize.NoopFeatureExtractor
- All Implemented Interfaces:
FeatureExtractor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]byte[]byte[]booleanisReady()voidprocessEntity(byte[] redisKey, Object item) voidprocessEntity(Object item)
-
Constructor Details
-
NoopFeatureExtractor
public NoopFeatureExtractor()
-
-
Method Details
-
processEntity
- Specified by:
processEntityin interfaceFeatureExtractor
-
getImageEmbeddingsFor
- Specified by:
getImageEmbeddingsForin interfaceFeatureExtractor
-
getFacialImageEmbeddingsFor
public byte[] getFacialImageEmbeddingsFor(InputStream is) throws IOException, ai.djl.translate.TranslateException - Specified by:
getFacialImageEmbeddingsForin interfaceFeatureExtractor- Throws:
IOExceptionai.djl.translate.TranslateException
-
getSentenceEmbeddingsFor
- Specified by:
getSentenceEmbeddingsForin interfaceFeatureExtractor
-
processEntity
- Specified by:
processEntityin interfaceFeatureExtractor
-
isReady
public boolean isReady()- Specified by:
isReadyin interfaceFeatureExtractor
-