File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,7 @@ def featurize(
126126 :param model: An Encoder model.
127127 :return: The embeddings of the records.
128128 :raises ValueError: If a column is missing from one or more records.
129+ :raises TypeError: If encoding fails due to incompatible data types.
129130 """
130131 # Extract the embeddings for each column across all records
131132 embeddings_per_col = []
@@ -141,7 +142,7 @@ def featurize(
141142 raise TypeError (
142143 f"Failed to encode column '{ col } ' (data type: { sample_type } ). "
143144 f"If encoding non-text data, provide a compatible encoder via the `model` parameter. "
144- f"See our documentation for more info."
145+ f"See the SemHash documentation for more info."
145146 ) from e
146147 embeddings_per_col .append (np .asarray (col_emb ))
147148
You can’t perform that action at this time.
0 commit comments