Skip to content

The agent engineering platform.

docs(docs): update Docker to ClickHouse 25.7 with vector_similarity support (#32659)

Shahroz Ahmad1819c73d1007
diff --git a/docs/docs/integrations/vectorstores/clickhouse.ipynb b/docs/docs/integrations/vectorstores/clickhouse.ipynb
index 2498a16a5c..429830810f 100644
--- a/docs/docs/integrations/vectorstores/clickhouse.ipynb
+++ b/docs/docs/integrations/vectorstores/clickhouse.ipynb
@@ -23,7 +23,7 @@
"metadata": {},
"outputs": [],
"source": [
- "! docker run -d -p 8123:8123 -p9000:9000 --name langchain-clickhouse-server --ulimit nofile=262144:262144 clickhouse/clickhouse-server:24.7.6.8"
+ "! docker run -d -p 8123:8123 -p 9000:9000 --name langchain-clickhouse-server --ulimit nofile=262144:262144 -e CLICKHOUSE_SKIP_USER_SETUP=1 clickhouse/clickhouse-server:25.7"
]
},
{
@@ -310,7 +310,8 @@
" where_str=f\"{meta}.source = 'tweet'\",\n",
")\n",
"for res in results:\n",
- " print(f\"* {res.page_content} [{res.metadata}]\")"
+ " page_content, metadata = res\n",
+ " print(f\"* {page_content} [{metadata}]\")"
]
},
{