langchain/embeddings/sagemaker_endpoint.py/SagemakerEndpointEmbeddings/embed_query
class SagemakerEndpointEmbeddings:    def embed_query(self, text: str) -> List[float]:
        """Compute query embeddings using a SageMaker inference endpoint.

        Args:
            text: The text to embed.

        Returns:
            Embeddings for the text.
        """
        return self._embedding_func([text])[0]