relevanceai.utils.decorators.vectors#

Module Contents#

relevanceai.utils.decorators.vectors.catch_errors(func)#

Decorate function and avoid vector errors. .. rubric:: Example

class A:

@catch_vector_errors def encode(self):

return [1, 2, 3]