langchain/tests/integration_tests
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
..
chains Google Search API integration with serper.dev (wrapper, tests, docs, … (#909) 2023-02-15 22:47:17 -08:00
embeddings Fixed openai embeddings to be safe by batching them based on token size calculation. (#991) 2023-02-15 23:02:32 -08:00
examples Harrison/format agent instructions (#973) 2023-02-10 10:07:26 -08:00
llms Enable streaming for OpenAI LLM (#986) 2023-02-14 15:06:14 -08:00
vectorstores [Integration Tests] Cast fake embeddings to ALL float values (#1102) 2023-02-17 15:18:09 -08: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_pdf_pagesplitter.py Harrison/format agent instructions (#973) 2023-02-10 10:07:26 -08:00
test_serpapi.py move search to not be a chain (#226) 2022-11-29 20:07:44 -08:00
test_text_splitter.py Add alternative token-based text splitter (#816) 2023-02-02 19:55:13 -08:00
test_wolfram_alpha_api.py Harrison/wolfram alpha (#579) 2023-01-11 05:52:19 -08:00