mirror of https://github.com/hwchase17/langchain
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.pull/7692/head
parent
574698a5fb
commit
3874bb256e
Loading…
Reference in New Issue