langchain/embeddings/huggingface_hub.py/HuggingFaceHubEmbeddings/embed_query
class HuggingFaceHubEmbeddings:    def embed_query(self, text: str) -> List[float]:
        """Call out to HuggingFaceHub's embedding endpoint for embedding query text.

        Args:
            text: The text to embed.

        Returns:
            Embeddings for the text.
        """
        response = self.embed_documents([text])[0]
        return response