mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
d718f3b6d0
Since it seems like #6111 will be blocked for a bit, I've forked @tyree731's fork and implemented the requested changes. This change adds support to the base Embeddings class for two methods, aembed_query and aembed_documents, those two methods supporting async equivalents of embed_query and embed_documents respectively. This ever so slightly rounds out async support within langchain, with an initial implementation of this functionality being implemented for openai. Implements https://github.com/hwchase17/langchain/issues/6109 --------- Co-authored-by: Stephen Tyree <tyree731@gmail.com> |
||
---|---|---|
.. | ||
__init__.py | ||
test_cohere.py | ||
test_dashscope.py | ||
test_deepinfra.py | ||
test_elasticsearch.py | ||
test_embaas.py | ||
test_google_palm.py | ||
test_huggingface_hub.py | ||
test_huggingface.py | ||
test_jina.py | ||
test_llamacpp.py | ||
test_modelscope_hub.py | ||
test_mosaicml.py | ||
test_openai.py | ||
test_self_hosted.py | ||
test_sentence_transformer.py | ||
test_tensorflow_hub.py | ||
test_vertexai.py |