Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(embeddings): number of texts in Azure OpenAIEmbeddings batch (lan…
…gchain-ai#10707) This PR addresses the limitation of Azure OpenAI embeddings, which can handle at maximum 16 texts in a batch. This can be solved setting `chunk_size=16`. However, I'd love to have this automated, not to force the user to figure where the issue comes from and how to solve it. Closes langchain-ai#4575. @baskaryan --------- Co-authored-by: Harrison Chase <[email protected]>
- Loading branch information