mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-20 05:43:55 +00:00
fix baiducloud_vector_search document typo (#12976)
**Issue:** fix baiducloud_vector_search document typo --------- Co-authored-by: wemysschen <root@icoding-cwx.bcc-szzj.baidu.com>
This commit is contained in:
parent
fceae456b9
commit
e76ff63125
@ -5,7 +5,7 @@
|
|||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"# Biadu Cloud ElasticSearch VectorSearch\n",
|
"# Baidu Cloud ElasticSearch VectorSearch\n",
|
||||||
"\n",
|
"\n",
|
||||||
">[Baidu Cloud VectorSearch](https://cloud.baidu.com/doc/BES/index.html?from=productToDoc) is a fully managed, enterprise-level distributed search and analysis service which is 100% compatible to open source. Baidu Cloud VectorSearch provides low-cost, high-performance, and reliable retrieval and analysis platform level product services for structured/unstructured data. As a vector database , it supports multiple index types and similarity distance methods. \n",
|
">[Baidu Cloud VectorSearch](https://cloud.baidu.com/doc/BES/index.html?from=productToDoc) is a fully managed, enterprise-level distributed search and analysis service which is 100% compatible to open source. Baidu Cloud VectorSearch provides low-cost, high-performance, and reliable retrieval and analysis platform level product services for structured/unstructured data. As a vector database , it supports multiple index types and similarity distance methods. \n",
|
||||||
"\n",
|
"\n",
|
||||||
@ -105,12 +105,8 @@
|
|||||||
"source": [
|
"source": [
|
||||||
"# Create a bes instance and index docs.\n",
|
"# Create a bes instance and index docs.\n",
|
||||||
"from langchain.vectorstores import BESVectorStore\n",
|
"from langchain.vectorstores import BESVectorStore\n",
|
||||||
"\n",
|
|
||||||
"bes = BESVectorStore.from_documents(\n",
|
"bes = BESVectorStore.from_documents(\n",
|
||||||
" documents=docs,\n",
|
" documents=docs, embedding=embeddings, bes_url=\"your bes cluster url\", index_name=\"your vector index\"\n",
|
||||||
" embedding=embeddings,\n",
|
|
||||||
" bes_url=\"your bes cluster url\",\n",
|
|
||||||
" index_name=\"your vector index\",\n",
|
|
||||||
")\n",
|
")\n",
|
||||||
"bes.client.indices.refresh(index=\"your vector index\")"
|
"bes.client.indices.refresh(index=\"your vector index\")"
|
||||||
]
|
]
|
||||||
@ -139,7 +135,7 @@
|
|||||||
"cell_type": "markdown",
|
"cell_type": "markdown",
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"source": [
|
"source": [
|
||||||
"Please feel free to contact <liuboyao@baidu.com> if you encounter any problems during use, and we will do our best to support you."
|
"Please feel free to contact <liuboyao@baidu.com> or <chenweixu01@baidu.com> if you encounter any problems during use, and we will do our best to support you."
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user