mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-27 08:58:48 +00:00
community[patch]: update documentation on jaguar vector store (#16346)
- **Description:** update documentation on jaguar vector store: Instruction for setting up jaguar server and usage of text_tag. - **Issue:** - **Dependencies:** - **Twitter handle:** --------- Co-authored-by: JY <jyjy@jaguardb>
This commit is contained in:
parent
8569b8f680
commit
7ecd2f22ac
@ -28,6 +28,9 @@
|
|||||||
"1. You must install and set up the JaguarDB server and its HTTP gateway server.\n",
|
"1. You must install and set up the JaguarDB server and its HTTP gateway server.\n",
|
||||||
" Please refer to the instructions in:\n",
|
" Please refer to the instructions in:\n",
|
||||||
" [www.jaguardb.com](http://www.jaguardb.com)\n",
|
" [www.jaguardb.com](http://www.jaguardb.com)\n",
|
||||||
|
" For quick setup in docker environment:\n",
|
||||||
|
" docker pull jaguardb/jaguardb_with_http\n",
|
||||||
|
" docker run -d -p 8888:8888 -p 8080:8080 --name jaguardb_with_http jaguardb/jaguardb_with_http\n",
|
||||||
"\n",
|
"\n",
|
||||||
"2. You must install the http client package for JaguarDB:\n",
|
"2. You must install the http client package for JaguarDB:\n",
|
||||||
" ```\n",
|
" ```\n",
|
||||||
@ -126,6 +129,8 @@
|
|||||||
"Add the texts from the text splitter to our vectorstore\n",
|
"Add the texts from the text splitter to our vectorstore\n",
|
||||||
"\"\"\"\n",
|
"\"\"\"\n",
|
||||||
"vectorstore.add_documents(docs)\n",
|
"vectorstore.add_documents(docs)\n",
|
||||||
|
"# or tag the documents:\n",
|
||||||
|
"# vectorstore.add_documents(more_docs, text_tag=\"tags to these documents\")\n",
|
||||||
"\n",
|
"\n",
|
||||||
"\"\"\" Get the retriever object \"\"\"\n",
|
"\"\"\" Get the retriever object \"\"\"\n",
|
||||||
"retriever = vectorstore.as_retriever()\n",
|
"retriever = vectorstore.as_retriever()\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user