langchain/tests/integration_tests/vectorstores
Noah Gundotra 8c5fbab72d
[Integration Tests] Cast fake embeddings to ALL float values (#1102)
Pydantic validation breaks tests for example (`test_qdrant.py`) because
fake embeddings contain an integer.

This PR casts the embeddings array to all floats.

Now the `qdrant` test passes, `poetry run pytest
tests/integration_tests/vectorstores/test_qdrant.py`
2023-02-17 15:18:09 -08:00
..
__init__.py add few shot example (#148) 2022-11-19 20:32:45 -08:00
fake_embeddings.py [Integration Tests] Cast fake embeddings to ALL float values (#1102) 2023-02-17 15:18:09 -08:00
test_chroma.py Chroma persistence (#1028) 2023-02-13 21:09:06 -08:00
test_elasticsearch.py Harrison/milvus (#856) 2023-02-02 22:05:47 -08:00
test_faiss.py Support similarity search by vector (in FAISS) (#961) 2023-02-15 22:50:00 -08:00
test_milvus.py Harrison/milvus (#856) 2023-02-02 22:05:47 -08:00
test_pinecone.py Add pinecone integration test (#911) 2023-02-06 18:13:35 -08:00
test_qdrant.py Harrison/milvus (#856) 2023-02-02 22:05:47 -08:00