Skip to content

Commit

Permalink
partners: Remove unnecessary print from voyageai embeddings (#21865)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
fzowl committed May 18, 2024
1 parent 61ebe79 commit d3624ea
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion libs/partners/voyageai/langchain_voyageai/embeddings.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ def default_values(cls, values: dict) -> dict:
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

Expand Down

0 comments on commit d3624ea

Please sign in to comment.