From e42ac0076e50583da6760d883d5bcf939f36b23b Mon Sep 17 00:00:00 2001 From: Manolo Santos Date: Wed, 4 Dec 2024 17:53:47 +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 0523cc6..eb4832a 100644 --- a/src/raglite/_eval.py +++ b/src/raglite/_eval.py @@ -233,7 +233,7 @@ def embed_query(self, text: str) -> list[float]: return embeddings[0].tolist() # type: ignore[no-any-return] def embed_documents(self, texts: list[str]) -> list[list[float]]: - # Embed a list of documents using RAGLite's embedding function + # Embed a list of documents with RAGLite's embedding function. embeddings = embed_sentences(texts, config=self.config) return embeddings.tolist() # type: ignore[no-any-return]