langchain/embeddings/llamacpp.py/LlamaCppEmbeddings/embed_query
class LlamaCppEmbeddings:    def embed_query(self, text: str) -> List[float]:
        """Embed a query using the Llama model.

        Args:
            text: The text to embed.

        Returns:
            Embeddings for the text.
        """
        embedding = self.client.embed(text)
        return list(map(float, embedding))