langchain
3874bb25 - Weaviate: Batch embed texts (#5903)

Commit
2 years ago
Weaviate: Batch embed texts (#5903) When a custom Embeddings object is set, embed all given texts in a batch instead of passing them through individually. Any code calling add_texts can then appropriately size the chunks of texts that are passed through to take full advantage of the hardware it's running on.
Author
Parents
Loading