langchain/embeddings/elasticsearch.py/ElasticsearchEmbeddings/embed_query
class ElasticsearchEmbeddings:    def embed_query(self, text: str) -> List[float]:
        """
        Generate an embedding for a single query text.

        Args:
            text (str): The query text to generate an embedding for.

        Returns:
            List[float]: The embedding for the input query text.
        """
        return self._embedding_func([text])[0]