mirror of
https://github.com/hwchase17/langchain.git
synced 2025-05-30 11:39:03 +00:00
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.
This commit is contained in:
parent
61ebe7991c
commit
d3624eaba1
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user