Skip to content

Commit 3040253

Browse files
authored
Clean up Azure PostgreSQL notebook (#19985)
1 parent 740d4ec commit 3040253

File tree

1 file changed

+2
-48
lines changed

1 file changed

+2
-48
lines changed

docs/examples/vector_stores/azurepostgresql.ipynb

Lines changed: 2 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -23,46 +23,9 @@
2323
{
2424
"cell_type": "code",
2525
"execution_count": null,
26-
"id": "cf3bb9df",
26+
"id": "c95fd172",
2727
"metadata": {},
28-
"outputs": [
29-
{
30-
"data": {
31-
"text/html": [
32-
"<span style=\"None\">Tip: You may define configurations in /home/kislalorhan/workspace/llama_index/docs/pyproject.toml or /home/kislalorhan/.jupysql/config. </span>"
33-
],
34-
"text/plain": [
35-
"Tip: You may define configurations in /home/kislalorhan/workspace/llama_index/docs/pyproject.toml or /home/kislalorhan/.jupysql/config. "
36-
]
37-
},
38-
"metadata": {},
39-
"output_type": "display_data"
40-
},
41-
{
42-
"data": {
43-
"text/html": [
44-
"Please review our <a href='https://jupysql.ploomber.io/en/latest/api/configuration.html#loading-from-a-file'>configuration guideline</a>."
45-
],
46-
"text/plain": [
47-
"<IPython.core.display.HTML object>"
48-
]
49-
},
50-
"metadata": {},
51-
"output_type": "display_data"
52-
},
53-
{
54-
"data": {
55-
"text/html": [
56-
"<span style=\"None\">Did not find user configurations in /home/kislalorhan/workspace/llama_index/docs/pyproject.toml.</span>"
57-
],
58-
"text/plain": [
59-
"Did not find user configurations in /home/kislalorhan/workspace/llama_index/docs/pyproject.toml."
60-
]
61-
},
62-
"metadata": {},
63-
"output_type": "display_data"
64-
}
65-
],
28+
"outputs": [],
6629
"source": [
6730
"%load_ext sql"
6831
]
@@ -178,15 +141,6 @@
178141
"import sys\n",
179142
"import os\n",
180143
"\n",
181-
"# TODO: This is necessary for now to use the package without building it. Once the PR is merged: remove this step.\n",
182-
"# Add the azurepostgresql integration path to Python path\n",
183-
"azurepostgresql_path = os.path.join(\n",
184-
" \"../../../../\",\n",
185-
" \"llama-index-integrations/vector_stores/llama-index-vector-stores-azurepostgresql/\",\n",
186-
")\n",
187-
"if azurepostgresql_path not in sys.path:\n",
188-
" sys.path.insert(0, azurepostgresql_path)\n",
189-
"\n",
190144
"# Uncomment to see debug logs\n",
191145
"# logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)\n",
192146
"# logging.getLogger().addHandler(logging.StreamHandler(stream=sys.stdout))\n",

0 commit comments

Comments
 (0)