Skip to content

Commit

Permalink
remove variable
Browse files Browse the repository at this point in the history
  • Loading branch information
maxjakob committed May 17, 2024
1 parent 0a3df6e commit 278bdca
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions notebooks/document-chunking/with-langchain-splitters.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@
" filter: List[dict],\n",
" **kwargs,\n",
" ):\n",
" es_query = {\n",
" return {\n",
" \"knn\": {\n",
" \"inner_hits\": {\"_source\": False, \"fields\": [\"passages.text\"]},\n",
" \"field\": \"passages.vector.predicted_value\",\n",
Expand All @@ -578,8 +578,6 @@
" }\n",
" }\n",
"\n",
" return es_query\n",
"\n",
"\n",
"vector_store = ElasticsearchStore(\n",
" index_name=INDEX_NAME,\n",
Expand Down

0 comments on commit 278bdca

Please sign in to comment.