langchain/libs/community/tests/unit_tests/embeddings
Mohammad Mohtashim 41b6a86bbe
Community: LlamaCppEmbeddings embed_documents and embed_query (#28827)
- **Description:** `embed_documents` and `embed_query` was throwing off
the error as stated in the issue. The issue was that `Llama` client is
returning the embeddings in a nested list which is not being accounted
for in the current implementation and therefore the stated error is
being raised.
- **Issue:** #28813

---------

Co-authored-by: Chester Curme <chester.curme@gmail.com>
2024-12-23 09:50:22 -05:00
..
__init__.py
test_baichuan.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
test_deterministic_embedding.py
test_edenai.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
test_embaas.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
test_gpt4all.py community: Fix ValidationError on creating GPT4AllEmbeddings with no gpt4all_kwargs (#25124) 2024-08-07 13:34:01 +00:00
test_gradient_ai.py community[patch]: Add missing annotations (#24890) 2024-07-31 18:13:44 +00:00
test_huggingface.py
test_imports.py community: support Hunyuan Embedding (#23160) 2024-12-16 19:27:19 +00:00
test_infinity_local.py multiple: rely on asyncio_mode auto in tests (#27200) 2024-10-15 16:26:38 +00:00
test_infinity.py
test_llamacpp.py Community: LlamaCppEmbeddings embed_documents and embed_query (#28827) 2024-12-23 09:50:22 -05:00
test_llamafile.py
test_llm_rails.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
test_model2vec.py community[minor]: Add support for modle2vec embeddings (#28507) 2024-12-09 02:17:22 +00:00
test_naver.py community: Add Naver chat model & embeddings (#25162) 2024-10-24 20:54:13 +00:00
test_oci_gen_ai_embedding.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
test_ollama.py community[patch]: Add missing annotations (#24890) 2024-07-31 18:13:44 +00:00
test_openai.py
test_ovhcloud.py community: Fix OVHcloud 401 Unauthorized on embedding. (#23260) 2024-06-24 12:58:32 -04:00
test_premai.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
test_sparkllm.py multiple: pydantic 2 compatibility, v0.3 (#26443) 2024-09-13 14:38:45 -07:00
test_vertexai.py infra: update mypy 1.10, ruff 0.5 (#23721) 2024-07-03 10:33:27 -07:00
test_yandex.py comminity[patch]: fix #25575 YandexGPTs for _grpc_metadata (#25617) 2024-08-28 18:48:10 -07:00