mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +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 |
||
---|---|---|
.. | ||
chains | ||
chat_models | ||
document_loaders | ||
embeddings | ||
examples | ||
llms | ||
memory | ||
vectorstores | ||
__init__.py | ||
test_googlesearch_api.py | ||
test_googleserper_api.py | ||
test_ngram_overlap_example_selector.py | ||
test_nlp_text_splitters.py | ||
test_openweathermap.py | ||
test_pdf_pagesplitter.py | ||
test_serpapi.py | ||
test_text_splitter.py | ||
test_wikipedia_api.py | ||
test_wolfram_alpha_api.py |