|
23 | 23 | {
|
24 | 24 | "cell_type": "code",
|
25 | 25 | "execution_count": null,
|
26 |
| - "id": "cf3bb9df", |
| 26 | + "id": "c95fd172", |
27 | 27 | "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": [], |
66 | 29 | "source": [
|
67 | 30 | "%load_ext sql"
|
68 | 31 | ]
|
|
178 | 141 | "import sys\n",
|
179 | 142 | "import os\n",
|
180 | 143 | "\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", |
190 | 144 | "# Uncomment to see debug logs\n",
|
191 | 145 | "# logging.basicConfig(stream=sys.stdout, level=logging.DEBUG)\n",
|
192 | 146 | "# logging.getLogger().addHandler(logging.StreamHandler(stream=sys.stdout))\n",
|
|
0 commit comments