Skip to content

Commit 67e58fd

Browse files
authored
docs[patch]: Fix diffbot docs (#22584)
1 parent 6b8963a commit 67e58fd

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

docs/docs/integrations/graphs/diffbot.ipynb

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"\n",
1010
">[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",
1111
">\n",
12-
">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.",
13-
"\n",
12+
">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",
1413
"[![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",
1514
"\n",
1615
"## Use case\n",
@@ -70,8 +69,8 @@
7069
"source": [
7170
"from langchain_experimental.graph_transformers.diffbot import DiffbotGraphTransformer\n",
7271
"\n",
73-
"diffbot_api_token = \"DIFFBOT_API_TOKEN\"\n",
74-
"diffbot_nlp = DiffbotGraphTransformer(diffbot_api_token=diffbot_api_token)"
72+
"diffbot_api_key = \"DIFFBOT_KEY\"\n",
73+
"diffbot_nlp = DiffbotGraphTransformer(diffbot_api_key=diffbot_api_key)"
7574
]
7675
},
7776
{
@@ -111,7 +110,7 @@
111110
" --name neo4j \\\n",
112111
" -p 7474:7474 -p 7687:7687 \\\n",
113112
" -d \\\n",
114-
" -e NEO4J_AUTH=neo4j/pleaseletmein \\\n",
113+
" -e NEO4J_AUTH=neo4j/password \\\n",
115114
" -e NEO4J_PLUGINS=\\[\\\"apoc\\\"\\] \\\n",
116115
" neo4j:latest\n",
117116
"``` \n",
@@ -129,7 +128,7 @@
129128
"\n",
130129
"url = \"bolt://localhost:7687\"\n",
131130
"username = \"neo4j\"\n",
132-
"password = \"pleaseletmein\"\n",
131+
"password = \"password\"\n",
133132
"\n",
134133
"graph = Neo4jGraph(url=url, username=username, password=password)"
135134
]
@@ -296,7 +295,7 @@
296295
"name": "python",
297296
"nbconvert_exporter": "python",
298297
"pygments_lexer": "ipython3",
299-
"version": "3.10.12"
298+
"version": "3.9.18"
300299
}
301300
},
302301
"nbformat": 4,

0 commit comments

Comments
 (0)