You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs
Devin Dahoon Kim 32da0a4d71
langchain[patch]: use async_embed_with_retry in _aget_len_safe_embeddings (#14110)
**Description**

`embed_with_retry` is for sync operations and not for async operations.
Use `async_embed_with_retry` for appropriate async operations.


I'm using `OpenAIEmbedding(http_client=httpx.AsyncClient())` with only
async operations.
However, I got an error when I use `embedding.aembed_documents` because
`embed_with_retry` uses sync OpenAI client with async http client.
10 months ago
..
cli Library Licenses (#13300) 10 months ago
core Update Prompt Format Error (#14044) 10 months ago
experimental langchain[patch], experimental[minor]: Adds OllamaFunctions wrapper (#13330) 10 months ago
langchain langchain[patch]: use async_embed_with_retry in _aget_len_safe_embeddings (#14110) 10 months ago