Skip to content

Commit

Permalink
Update use_ColPali_with_milvus.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
wxywb authored Dec 3, 2024
1 parent b83a27a commit e3f6696
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bootcamp/tutorials/quickstart/use_ColPali_with_milvus.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@
" # Rerank a single document by retrieving its embeddings and calculating the similarity with the query.\n",
" doc_colbert_vecs = client.query(\n",
" collection_name=collection_name,\n",
" filter=f\"doc_id in [{doc_id}, {doc_id + 1}]\",\n",
" filter=f\"doc_id in [{doc_id}]\",\n",
" output_fields=[\"seq_id\", \"vector\", \"doc\"],\n",
" limit=1000,\n",
" )\n",
Expand Down Expand Up @@ -472,4 +472,4 @@
},
"nbformat": 4,
"nbformat_minor": 2
}
}

0 comments on commit e3f6696

Please sign in to comment.