Skip to content

Commit

Permalink
Increase request_timeout to avoid errors with a cold ML node (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg authored Feb 1, 2024
1 parent 76e68ee commit f4a5f34
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions notebooks/langchain/langchain-vector-store-using-elser.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,7 @@
" index_name=\"workplace_index\",\n",
" strategy=ElasticsearchStore.SparseVectorRetrievalStrategy(model_id=\".elser_model_2\"),\n",
" bulk_kwargs={\n",
" \"chunk_size\": 5,\n",
" \"max_chunk_bytes\": 100000000\n",
" \"request_timeout\": 60,\n",
" }\n",
")"
]
Expand Down

0 comments on commit f4a5f34

Please sign in to comment.