minor change

This commit is contained in:
root
2024-03-18 01:14:37 -07:00
parent 3e37b3a500
commit 37c1b8cc90

View File

@@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 126,
"execution_count": 1,
"id": "f0ed1d29",
"metadata": {},
"outputs": [],
@@ -28,7 +28,7 @@
},
{
"cell_type": "code",
"execution_count": 127,
"execution_count": 2,
"id": "763d7ad7",
"metadata": {},
"outputs": [],
@@ -46,7 +46,7 @@
},
{
"cell_type": "code",
"execution_count": 130,
"execution_count": 3,
"id": "43772231",
"metadata": {},
"outputs": [],
@@ -65,7 +65,7 @@
},
{
"cell_type": "code",
"execution_count": 131,
"execution_count": 7,
"id": "611fee8c",
"metadata": {},
"outputs": [],
@@ -74,7 +74,7 @@
" load_dotenv(os.path.join(os.path.expanduser('~'), '.spoke_neo4j_config.env'))\n",
" username = os.environ.get('NEO4J_USER')\n",
" password = os.environ.get('NEO4J_PSW')\n",
" url = os.environ.get('NEO4J_URI')\n",
" url = os.environ.get('NEO4J_URL')\n",
" database = os.environ.get('NEO4J_DB')\n",
"\n",
" graph = Neo4jGraph(\n",
@@ -118,29 +118,10 @@
},
{
"cell_type": "code",
"execution_count": 132,
"execution_count": null,
"id": "29b40370",
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"WARNING! engine is not default parameter.\n",
" engine was transferred to model_kwargs.\n",
" Please confirm that engine is what you intended.\n",
"Failed to write data to connection IPv4Address(('spoke.cgl.ucsf.edu', 7687)) (ResolvedIPv4Address(('169.230.27.11', 7687)))\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"CPU times: user 70.5 ms, sys: 11.6 ms, total: 82.1 ms\n",
"Wall time: 1min\n"
]
}
],
"outputs": [],
"source": [
"%%time\n",
"neo4j_rag_chain = get_neo4j_cypher_rag_chain()\n"