Skip to content

Commit f4a5f34

Browse files
Increase request_timeout to avoid errors with a cold ML node (#174)
1 parent 76e68ee commit f4a5f34

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

notebooks/langchain/langchain-vector-store-using-elser.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,7 @@
156156
" index_name=\"workplace_index\",\n",
157157
" strategy=ElasticsearchStore.SparseVectorRetrievalStrategy(model_id=\".elser_model_2\"),\n",
158158
" bulk_kwargs={\n",
159-
" \"chunk_size\": 5,\n",
160-
" \"max_chunk_bytes\": 100000000\n",
159+
" \"request_timeout\": 60,\n",
161160
" }\n",
162161
")"
163162
]

0 commit comments

Comments
 (0)