diff --git a/docs/docs/integrations/vectorstores/astradb.ipynb b/docs/docs/integrations/vectorstores/astradb.ipynb index c614b1f45b4..5f502d7d862 100644 --- a/docs/docs/integrations/vectorstores/astradb.ipynb +++ b/docs/docs/integrations/vectorstores/astradb.ipynb @@ -505,7 +505,7 @@ "source": [ "## API reference\n", "\n", - "For detailed documentation of all `AstraDBVectorStore` features and configurations head to the API reference:https://python.langchain.com/api_reference/astradb/vectorstores/langchain_astradb.vectorstores.AstraDBVectorStore.html" + "For detailed documentation of all `AstraDBVectorStore` features and configurations head to the API reference: https://python.langchain.com/api_reference/astradb/vectorstores/langchain_astradb.vectorstores.AstraDBVectorStore.html" ] } ], diff --git a/docs/docs/integrations/vectorstores/milvus.ipynb b/docs/docs/integrations/vectorstores/milvus.ipynb index af65fee1c23..f2200ac741e 100644 --- a/docs/docs/integrations/vectorstores/milvus.ipynb +++ b/docs/docs/integrations/vectorstores/milvus.ipynb @@ -36,7 +36,7 @@ } ], "source": [ - "%pip install -qU langchain_milvus" + "pip install -qU langchain_milvus" ] }, { diff --git a/docs/docs/integrations/vectorstores/pgvector.ipynb b/docs/docs/integrations/vectorstores/pgvector.ipynb index e6b15ac9184..f02700abb06 100644 --- a/docs/docs/integrations/vectorstores/pgvector.ipynb +++ b/docs/docs/integrations/vectorstores/pgvector.ipynb @@ -113,22 +113,19 @@ }, { "cell_type": "code", - "execution_count": 2, + "execution_count": null, "id": "979a65bd-742f-4b0d-be1e-c0baae245ec6", "metadata": { "tags": [] }, "outputs": [], "source": [ - "from langchain_core.documents import Document\n", "from langchain_postgres import PGVector\n", - "from langchain_postgres.vectorstores import PGVector\n", "\n", "# See docker command above to launch a postgres instance with pgvector enabled.\n", "connection = \"postgresql+psycopg://langchain:langchain@localhost:6024/langchain\" # Uses psycopg3!\n", "collection_name = \"my_docs\"\n", "\n", - "\n", "vector_store = PGVector(\n", " embeddings=embeddings,\n", " collection_name=collection_name,\n", @@ -169,6 +166,8 @@ } ], "source": [ + "from langchain_core.documents import Document\n", + "\n", "docs = [\n", " Document(\n", " page_content=\"there are cats in the pond\",\n", diff --git a/docs/docs/integrations/vectorstores/pinecone.ipynb b/docs/docs/integrations/vectorstores/pinecone.ipynb index af7882dcef0..bea2f5ce3d8 100644 --- a/docs/docs/integrations/vectorstores/pinecone.ipynb +++ b/docs/docs/integrations/vectorstores/pinecone.ipynb @@ -26,7 +26,7 @@ }, "outputs": [], "source": [ - "%pip install -qU langchain-pinecone pinecone-notebooks" + "pip install -qU langchain-pinecone pinecone-notebooks" ] }, { @@ -56,7 +56,6 @@ "source": [ "import getpass\n", "import os\n", - "import time\n", "\n", "from pinecone import Pinecone, ServerlessSpec\n", "\n", diff --git a/docs/docs/integrations/vectorstores/qdrant.ipynb b/docs/docs/integrations/vectorstores/qdrant.ipynb index 3a6c789578d..d4f8acaaedf 100644 --- a/docs/docs/integrations/vectorstores/qdrant.ipynb +++ b/docs/docs/integrations/vectorstores/qdrant.ipynb @@ -32,7 +32,7 @@ }, "outputs": [], "source": [ - "%pip install -qU langchain-qdrant" + "pip install -qU langchain-qdrant" ] }, {