Hello. I’m trying to call redisai from RedisGears using the built-in redisAI library, but this error
['Traceback (most recent call last):\n', ' File "<string>", line 4, in <module>\n', 'spam.error: RedisAI is not loaded, it is not possible to use AI interface.\n']
I saw the use of the redisAI library in your examples https://github.com/RedisGears/AnimalRecognitionDemo.
Here is the command I’m trying to call from the gear
img_ba = bytearray(np_img.tobytes()) image_tensor = redisAI.createTensorFromBlob('FLOAT', [1, im_height, im_width, 3], img_ba)
Why the error says that the ’ redis AI module is not loaded’?
To work with the redis modules, I took this docker image - https://github.com/RedisLabs/redismod