mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
2324f19c85
Hello 1) Passing `embedding_function` as a callable seems to be outdated and the common interface is to pass `Embeddings` instance 2) At the moment `Qdrant.add_texts` is designed to be used with `embeddings.embed_query`, which is 1) slow 2) causes ambiguity due to 1. It should be used with `embeddings.embed_documents` This PR solves both problems and also provides some new tests |
||
---|---|---|
.. | ||
cassettes | ||
docker-compose | ||
fixtures | ||
__init__.py | ||
conftest.py | ||
fake_embeddings.py | ||
test_analyticdb.py | ||
test_annoy.py | ||
test_atlas.py | ||
test_chroma.py | ||
test_deeplake.py | ||
test_elasticsearch.py | ||
test_faiss.py | ||
test_lancedb.py | ||
test_milvus.py | ||
test_myscale.py | ||
test_opensearch.py | ||
test_pgvector.py | ||
test_pinecone.py | ||
test_qdrant.py | ||
test_redis.py | ||
test_tair.py | ||
test_weaviate.py | ||
test_zilliz.py |