mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-05 04:38:26 +00:00
docs: add pre_filter usage in similarity_search_with_score (Azure Cosmos DB No SQL) (#30508)
`pre_filter` should be passed in the `Hybrid Search with filtering` example. Otherwise, it is just an unused variable.
This commit is contained in:
parent
64f97e707e
commit
4419340039
@ -643,9 +643,7 @@
|
||||
"}\n",
|
||||
"\n",
|
||||
"results = vector_search.similarity_search_with_score(\n",
|
||||
" query=query,\n",
|
||||
" k=5,\n",
|
||||
" query_type=CosmosDBQueryType.HYBRID,\n",
|
||||
" query=query, k=5, query_type=CosmosDBQueryType.HYBRID, pre_filter=pre_filter\n",
|
||||
")\n",
|
||||
"\n",
|
||||
"# Display results\n",
|
||||
|
Loading…
Reference in New Issue
Block a user