langchain/libs
Massimiliano Pronesti f0198354d9
fix(embeddings): number of texts in Azure OpenAIEmbeddings batch (#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 #4575. 

@baskaryan

---------

Co-authored-by: Harrison Chase <hw.chase.17@gmail.com>
2023-09-19 21:50:39 -07:00
..
experimental Synthetic data generation (#9759) 2023-09-19 16:29:50 -07:00
langchain fix(embeddings): number of texts in Azure OpenAIEmbeddings batch (#10707) 2023-09-19 21:50:39 -07:00