Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
chore: Bump weaviate-client to latest v3 version (#25096)
Davide Delbiancocdf9b674dc45
diff --git a/api/core/rag/datasource/vdb/weaviate/weaviate_vector.py b/api/core/rag/datasource/vdb/weaviate/weaviate_vector.pyindex b3fe013e706..bc237b591a1 100644--- a/api/core/rag/datasource/vdb/weaviate/weaviate_vector.py+++ b/api/core/rag/datasource/vdb/weaviate/weaviate_vector.py@@ -41,13 +41,6 @@ class WeaviateVector(BaseVector):weaviate.connect.connection.has_grpc = False # ty: ignore [unresolved-attribute]- # Fix to minimize the performance impact of the deprecation check in weaviate-client 3.24.0,- # by changing the connection timeout to pypi.org from 1 second to 0.001 seconds.- # TODO: This can be removed once weaviate-client is updated to 3.26.7 or higher,- # which does not contain the deprecation check.- if hasattr(weaviate.connect.connection, "PYPI_TIMEOUT"): # ty: ignore [unresolved-attribute]- weaviate.connect.connection.PYPI_TIMEOUT = 0.001 # ty: ignore [unresolved-attribute]-try:client = weaviate.Client(url=config.endpoint, auth_client_secret=auth_config, timeout_config=(5, 60), startup_period=Nonediff --git a/api/pyproject.toml b/api/pyproject.tomlindex a0c108cd2cb..7416380fdb0 100644--- a/api/pyproject.toml+++ b/api/pyproject.toml@@ -214,7 +214,7 @@ vdb = ["tidb-vector==0.0.9","upstash-vector==0.6.0","volcengine-compat~=1.0.0",- "weaviate-client~=3.24.0",+ "weaviate-client~=3.26.7","xinference-client~=1.2.2","mo-vector~=0.1.13",]diff --git a/api/uv.lock b/api/uv.lockindex 7e67a84ce2c..987dc7243d6 100644--- a/api/uv.lock+++ b/api/uv.lock@@ -1637,7 +1637,7 @@ vdb = [{ name = "tidb-vector", specifier = "==0.0.9" },{ name = "upstash-vector", specifier = "==0.6.0" },{ name = "volcengine-compat", specifier = "~=1.0.0" },- { name = "weaviate-client", specifier = "~=3.24.0" },+ { name = "weaviate-client", specifier = "~=3.26.7" },{ name = "xinference-client", specifier = "~=1.2.2" },]@@ -6642,16 +6642,16 @@ wheels = [[[package]]name = "weaviate-client"-version = "3.24.2"+version = "3.26.7"source = { registry = "https://pypi.org/simple" }dependencies = [{ name = "authlib" },{ name = "requests" },{ name = "validators" },]-sdist = { url = "https://files.pythonhosted.org/packages/1f/c1/3285a21d8885f2b09aabb65edb9a8e062a35c2d7175e1bb024fa096582ab/weaviate-client-3.24.2.tar.gz", hash = "sha256:6914c48c9a7e5ad0be9399271f9cb85d6f59ab77476c6d4e56a3925bf149edaa", size = 199332, upload-time = "2023-10-04T08:37:54.26Z" }+sdist = { url = "https://files.pythonhosted.org/packages/f8/2e/9588bae34c1d67d05ccc07d74a4f5d73cce342b916f79ab3a9114c6607bb/weaviate_client-3.26.7.tar.gz", hash = "sha256:ea538437800abc6edba21acf213accaf8a82065584ee8b914bae4a4ad4ef6b70", size = 210480, upload-time = "2024-08-15T13:27:02.431Z" }wheels = [- { url = "https://files.pythonhosted.org/packages/ab/98/3136d05f93e30cf29e1db280eaadf766df18d812dfe7994bcced653b2340/weaviate_client-3.24.2-py3-none-any.whl", hash = "sha256:bc50ca5fcebcd48de0d00f66700b0cf7c31a97c4cd3d29b4036d77c5d1d9479b", size = 107968, upload-time = "2023-10-04T08:37:52.511Z" },+ { url = "https://files.pythonhosted.org/packages/2a/95/fb326052bc1d73cb3c19fcfaf6ebb477f896af68de07eaa1337e27ee57fa/weaviate_client-3.26.7-py3-none-any.whl", hash = "sha256:48b8d4b71df881b4e5e15964d7ac339434338ccee73779e3af7eab698a92083b", size = 120051, upload-time = "2024-08-15T13:27:00.212Z" },][[package]]