Skip to content

The agent engineering platform.

docs[patch]: Fix diffbot docs (#22584)

Tomaz Bratanic67e58fdc2e8e
diff --git a/docs/docs/integrations/graphs/diffbot.ipynb b/docs/docs/integrations/graphs/diffbot.ipynb
index 7beb4b026a..06a8ed4e21 100644
--- a/docs/docs/integrations/graphs/diffbot.ipynb
+++ b/docs/docs/integrations/graphs/diffbot.ipynb
@@ -9,8 +9,7 @@
"\n",
">[Diffbot](https://docs.diffbot.com/docs/getting-started-with-diffbot) is a suite of ML-based products that make it easy to structure web data.\n",
">\n",
- ">Diffbot's [Natural Language Processing API](https://www.diffbot.com/products/natural-language/) allows for the extraction of entities, relationships, and semantic meaning from unstructured text data.",
- "\n",
+ ">Diffbot's [Natural Language Processing API](https://www.diffbot.com/products/natural-language/) allows for the extraction of entities, relationships, and semantic meaning from unstructured text data.\n",
"[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/langchain-ai/langchain/blob/master/docs/docs/integrations/graphs/diffbot.ipynb)\n",
"\n",
"## Use case\n",
@@ -70,8 +69,8 @@
"source": [
"from langchain_experimental.graph_transformers.diffbot import DiffbotGraphTransformer\n",
"\n",
- "diffbot_api_token = \"DIFFBOT_API_TOKEN\"\n",
- "diffbot_nlp = DiffbotGraphTransformer(diffbot_api_token=diffbot_api_token)"
+ "diffbot_api_key = \"DIFFBOT_KEY\"\n",
+ "diffbot_nlp = DiffbotGraphTransformer(diffbot_api_key=diffbot_api_key)"
]
},
{
@@ -111,7 +110,7 @@
" --name neo4j \\\n",
" -p 7474:7474 -p 7687:7687 \\\n",
" -d \\\n",
- " -e NEO4J_AUTH=neo4j/pleaseletmein \\\n",
+ " -e NEO4J_AUTH=neo4j/password \\\n",
" -e NEO4J_PLUGINS=\\[\\\"apoc\\\"\\] \\\n",
" neo4j:latest\n",
"``` \n",
@@ -129,7 +128,7 @@
"\n",
"url = \"bolt://localhost:7687\"\n",
"username = \"neo4j\"\n",
- "password = \"pleaseletmein\"\n",
+ "password = \"password\"\n",
"\n",
"graph = Neo4jGraph(url=url, username=username, password=password)"
]
@@ -296,7 +295,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
- "version": "3.10.12"
+ "version": "3.9.18"
}
},
"nbformat": 4,