Package com.redis.om.spring.vectorize
Interface FeatureExtractor
- All Known Implementing Classes:
DefaultFeatureExtractor,NoopFeatureExtractor
public interface FeatureExtractor
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]byte[]byte[]booleanisReady()voidprocessEntity(byte[] redisKey, Object item) voidprocessEntity(Object item)
-
Method Details
-
processEntity
-
getImageEmbeddingsFor
-
getFacialImageEmbeddingsFor
byte[] getFacialImageEmbeddingsFor(InputStream is) throws IOException, ai.djl.translate.TranslateException - Throws:
IOExceptionai.djl.translate.TranslateException
-
getSentenceEmbeddingsFor
-
processEntity
-
isReady
boolean isReady()
-