docs: def guess_labels(self, doc):
          """
          return a prediction of label names
          """
          doc = doc.clone()  # make sure it can be serialized safely
          return self.index.guess_labels(doc)