mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-01 20:49:17 +00:00
docs: Update body_func to hybrid_query in ElasticsearchRetriever (#20498)
This commit is contained in:
parent
27370b679e
commit
6f0d4f3f09
@ -366,7 +366,7 @@
|
||||
"\n",
|
||||
"hybrid_retriever = ElasticsearchRetriever.from_es_params(\n",
|
||||
" index_name=index_name,\n",
|
||||
" body_func=bm25_query,\n",
|
||||
" body_func=hybrid_query,\n",
|
||||
" content_field=text_field,\n",
|
||||
" url=es_url,\n",
|
||||
")\n",
|
||||
|
Loading…
Reference in New Issue
Block a user