langchain
5b35f077 - [community][fix](DeepInfraEmbeddings): Implement chunking for large batches (#21189)

Commit
1 year ago
[community][fix](DeepInfraEmbeddings): Implement chunking for large batches (#21189) **Description:** This PR introduces chunking logic to the `DeepInfraEmbeddings` class to handle large batch sizes without exceeding maximum batch size of the backend. This enhancement ensures that embedding generation processes large batches by breaking them down into smaller, manageable chunks, each conforming to the maximum batch size limit. **Issue:** Fixes #21189 **Dependencies:** No new dependencies introduced.
Author
Parents
Loading