Skip to content

Commit

Permalink
ML/LLM: Fix notebook cratedb-vectorstore-rag-openai-sql.ipynb
Browse files Browse the repository at this point in the history
It still used dialect's `patch_inspector` while it is no longer there.
  • Loading branch information
amotl committed Jun 18, 2024
1 parent b7b5eb7 commit 754284c
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,9 @@
"import pandas as pd\n",
"import sqlalchemy as sa\n",
"\n",
"# TODO: Bring this into the `crate-python` driver.\n",
"from cratedb_toolkit.sqlalchemy.patch import patch_inspector\n",
"from langchain_community.document_loaders import PyPDFLoader\n",
"from langchain_text_splitters import RecursiveCharacterTextSplitter\n",
"from langchain_openai import OpenAIEmbeddings\n",
"\n",
"patch_inspector()"
"from langchain_openai import OpenAIEmbeddings"
]
},
{
Expand Down

0 comments on commit 754284c

Please sign in to comment.