Skip to contents

This function checks if different objects are based on the same text embedding model. This is necessary to ensure that classifiers are used only with data generated through compatible embedding models.

Usage

check_embedding_models(object_list, same_class = FALSE)

Arguments

object_list

list of object of class EmbeddedText or TextEmbeddingClassifierNeuralNet.

same_class

bool TRUE if all object must be from the same class.

Value

Returns TRUE if all objects refer to the same text embedding model. FALSE in all other cases.