From 84ddff715c74c00ff40918fe37b21755a1b327ef Mon Sep 17 00:00:00 2001
From: Sherif Abdekarim <sherif.abdelkarim91@gmail.com>
Date: Thu, 7 Mar 2024 12:51:23 -0600
Subject: [PATCH] Update base.py (#11742)

---
 .../llama_index/vector_stores/weaviate/base.py                  | 2 +-
 .../llama-index-vector-stores-weaviate/pyproject.toml           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/llama_index/vector_stores/weaviate/base.py b/llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/llama_index/vector_stores/weaviate/base.py
index 6e11638f7..d2d3a5387 100644
--- a/llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/llama_index/vector_stores/weaviate/base.py
+++ b/llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/llama_index/vector_stores/weaviate/base.py
@@ -73,7 +73,7 @@ def _to_weaviate_filter(standard_filters: MetadataFilters) -> Dict[str, Any]:
             if isinstance(filter.value, float):
                 value_type = "valueNumber"
             elif isinstance(filter.value, int):
-                value_type = "valueNumber"
+                value_type = "valueInt"
             elif isinstance(filter.value, str) and filter.value.isnumeric():
                 filter.value = float(filter.value)
                 value_type = "valueNumber"
diff --git a/llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/pyproject.toml b/llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/pyproject.toml
index a2eec940f..92354b6c1 100644
--- a/llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/pyproject.toml
+++ b/llama-index-integrations/vector_stores/llama-index-vector-stores-weaviate/pyproject.toml
@@ -27,7 +27,7 @@ exclude = ["**/BUILD"]
 license = "MIT"
 name = "llama-index-vector-stores-weaviate"
 readme = "README.md"
-version = "0.1.3"
+version = "0.1.4"
 
 [tool.poetry.dependencies]
 python = ">=3.8.1,<4.0"
-- 
GitLab