relevanceai.operations_new.vectorize.models.base#

Module Contents#

class relevanceai.operations_new.vectorize.models.base.VectorizeModelBase#

Class for all document utilities. Primarily should be used as a mixin for future functions but can be a standalone. # TODO: Extend to Chunk Doc Reading and Chunk Doc Writing

model_name :str#
has_printed_vector_field_name :dict#
vector_name(self, field, output_field: str = None)#
abstract encode(self, *args, **kwargs)#
abstract bulk_encode(self, *args, **kwargs)#
print_vector_field_name(self, field: str, output_field: str = None)#
encode_documents(self, documents: List[Dict[str, Any]], fields: List[str], output_fields: List = None)#