From d3624eaba1888330c43459a6a7a099e57f214dd3 Mon Sep 17 00:00:00 2001 From: fzowl <160063452+fzowl@users.noreply.github.com> Date: Sat, 18 May 2024 14:57:17 +0200 Subject: [PATCH] partners: Remove unnecessary print from voyageai embeddings (#21865) Thank you for contributing to LangChain! Remove unnecessary print from voyageai embeddings - [x] **Lint and test**: Run `make format`, `make lint` and `make test` from the root of the package(s) you've modified. See contribution guidelines for more: https://python.langchain.com/docs/contributing/ If no one reviews your PR within a few days, please @-mention one of baskaryan, efriis, eyurtsev, hwchase17. --- libs/partners/voyageai/langchain_voyageai/embeddings.py | 1 - 1 file changed, 1 deletion(-) diff --git a/libs/partners/voyageai/langchain_voyageai/embeddings.py b/libs/partners/voyageai/langchain_voyageai/embeddings.py index b39ad1cd1e8..68b5c7b6889 100644 --- a/libs/partners/voyageai/langchain_voyageai/embeddings.py +++ b/libs/partners/voyageai/langchain_voyageai/embeddings.py @@ -45,7 +45,6 @@ class VoyageAIEmbeddings(BaseModel, Embeddings): model = values.get("model") batch_size = values.get("batch_size") if batch_size is None: - print("batch size", batch_size) values["batch_size"] = 72 if model in ["voyage-2", "voyage-02"] else 7 return values