@ -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",