mirror of
https://github.com/hwchase17/langchain.git
synced 2026-02-21 06:33:41 +00:00
docs: Update body_func to hybrid_query in ElasticsearchRetriever (#20498)
This commit is contained in:
committed by
William Fu-Hinthorn
parent
50a9a8c277
commit
1e131c1fcb
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user