mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
b410dc76aa
- Create a new docker-compose file to start an Elasticsearch instance for integration tests. - Add new tests to `test_elasticsearch.py` to verify Elasticsearch functionality. - Include an optional group `test_integration` in the `pyproject.toml` file. This group should contain dependencies for integration tests and can be installed using the command `poetry install --with test_integration`. Any new dependencies should be added by running `poetry add some_new_deps --group "test_integration" ` Note: New tests running in live mode, which involve end-to-end testing of the OpenAI API. In the future, adding `pytest-vcr` to record and replay all API requests would be a nice feature for testing process.More info: https://pytest-vcr.readthedocs.io/en/latest/ Fixes https://github.com/hwchase17/langchain/issues/2386 |
||
---|---|---|
.. | ||
docker-compose | ||
fixtures | ||
__init__.py | ||
fake_embeddings.py | ||
test_atlas.py | ||
test_chroma.py | ||
test_deeplake.py | ||
test_elasticsearch.py | ||
test_faiss.py | ||
test_milvus.py | ||
test_opensearch.py | ||
test_pgvector.py | ||
test_pinecone.py | ||
test_qdrant.py | ||
test_redis.py |