langchain/embeddings/tensorflow_hub.py/TensorflowHubEmbeddings/embed_query
class TensorflowHubEmbeddings:    def embed_query(self, text: str) -> List[float]:
        """Compute query embeddings using a TensorflowHub embedding model.

        Args:
            text: The text to embed.

        Returns:
            Embeddings for the text.
        """
        text = text.replace("\n", " ")
        embedding = self.embed([text]).numpy()[0]
        return embedding.tolist()