From a59dc32ef82881007503d3ad00823b08fa33ea8c Mon Sep 17 00:00:00 2001 From: Manolo Santos Date: Wed, 4 Dec 2024 17:52:51 +0100 Subject: [PATCH] Update src/raglite/_eval.py Co-authored-by: Laurent Sorber --- src/raglite/_eval.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/raglite/_eval.py b/src/raglite/_eval.py index 49b36f6..d9481fb 100644 --- a/src/raglite/_eval.py +++ b/src/raglite/_eval.py @@ -227,7 +227,7 @@ def __init__(self, config: RAGLiteConfig): self.config = config or RAGLiteConfig() def embed_query(self, text: str) -> list[float]: - # Embed the query text using RAGLite's embedding function + # Embed the input text with RAGLite's embedding function. embeddings = embed_sentences([text], config=self.config) return embeddings[0].tolist() # type: ignore[no-any-return]