langchain/tests/integration_tests
sergerdn b410dc76aa
fix: elasticsearch (#2402)
- 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
2023-04-05 06:51:32 -07:00
..
chains Add support for intermediate steps to SQLDatabaseSequentialChain (#1583) (#1601) 2023-03-11 15:44:41 -08:00
chat_models (ChatOpenAI) Add model_name to LLMResult.llm_output (#1960) 2023-03-24 08:51:16 -07:00
document_loaders Harrison/msg files (#2375) 2023-04-04 06:48:34 -07:00
embeddings Harrison/llama (#2314) 2023-04-02 14:57:45 -07:00
examples Harrison/msg files (#2375) 2023-04-04 06:48:34 -07:00
llms Harrison/gpt4all (#2366) 2023-04-04 06:49:17 -07:00
memory Harrison/memory base (#2122) 2023-03-29 10:10:09 -07:00
vectorstores fix: elasticsearch (#2402) 2023-04-05 06:51:32 -07:00
__init__.py initial commit 2022-10-24 14:51:15 -07:00
test_googlesearch_api.py Fix a bug that shows "KeyError 'items'" (#1118) 2023-02-17 13:04:02 -08:00
test_googleserper_api.py Google Search API integration with serper.dev (wrapper, tests, docs, … (#909) 2023-02-15 22:47:17 -08:00
test_ngram_overlap_example_selector.py Harrison/ngram example (#846) 2023-02-02 09:44:42 -08:00
test_nlp_text_splitters.py OptimizedPrompt -- k-shot example choice backed by semantic search (#91) 2022-11-09 21:15:42 -08:00
test_openweathermap.py Add OpenWeatherMap API Tool (#2083) 2023-03-28 12:02:14 -07:00
test_pdf_pagesplitter.py cleanup: unify 3 different pdf loaders, rename PagedPDFSplitter (#1615) 2023-03-13 23:06:50 -07:00
test_serpapi.py move serpapi wrapper (#1199) 2023-02-20 21:15:45 -08:00
test_text_splitter.py Add alternative token-based text splitter (#816) 2023-02-02 19:55:13 -08:00
test_wikipedia_api.py Modify output for wikipedia api wrapper (#2287) 2023-04-02 14:00:27 -07:00
test_wolfram_alpha_api.py Harrison/wolfram alpha (#579) 2023-01-11 05:52:19 -08:00