From 09a0ecd000e1266c401489ab8b29181cc179e60b Mon Sep 17 00:00:00 2001 From: Tomaz Bratanic Date: Wed, 3 Apr 2024 18:44:14 +0200 Subject: [PATCH] langchain[minor]: Tests update metadata filtering examples of documents (#19963) Removing metadata properties that are dicts as some databases don't support that, and those properties aren't used in tests anyhow.. --- .../vectorstores/fixtures/filtering_test_cases.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/libs/community/tests/integration_tests/vectorstores/fixtures/filtering_test_cases.py b/libs/community/tests/integration_tests/vectorstores/fixtures/filtering_test_cases.py index de04ee7eb8..9da65078a6 100644 --- a/libs/community/tests/integration_tests/vectorstores/fixtures/filtering_test_cases.py +++ b/libs/community/tests/integration_tests/vectorstores/fixtures/filtering_test_cases.py @@ -10,7 +10,6 @@ metadatas = [ "is_active": True, "tags": ["a", "b"], "location": [1.0, 2.0], - "info": {"address": "123 main st", "phone": "123-456-7890"}, "id": 1, "height": 10.0, # Float column "happiness": 0.9, # Float column @@ -23,7 +22,6 @@ metadatas = [ "is_active": False, "tags": ["b", "c"], "location": [2.0, 3.0], - "info": {"address": "456 main st", "phone": "123-456-7890"}, "id": 2, "height": 5.7, # Float column "happiness": 0.8, # Float column @@ -36,7 +34,6 @@ metadatas = [ "is_active": True, "tags": ["b", "d"], "location": [3.0, 4.0], - "info": {"address": "789 main st", "phone": "123-456-7890"}, "id": 3, "height": 2.4, # Float column "happiness": None,