From 754284cc9ca85582c256c44e1bf1f3e5977e0d2b Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Tue, 18 Jun 2024 15:39:55 +0200 Subject: [PATCH] ML/LLM: Fix notebook `cratedb-vectorstore-rag-openai-sql.ipynb` It still used dialect's `patch_inspector` while it is no longer there. --- .../llm-langchain/cratedb-vectorstore-rag-openai-sql.ipynb | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/topic/machine-learning/llm-langchain/cratedb-vectorstore-rag-openai-sql.ipynb b/topic/machine-learning/llm-langchain/cratedb-vectorstore-rag-openai-sql.ipynb index 9a57f2a9..f5da77ba 100644 --- a/topic/machine-learning/llm-langchain/cratedb-vectorstore-rag-openai-sql.ipynb +++ b/topic/machine-learning/llm-langchain/cratedb-vectorstore-rag-openai-sql.ipynb @@ -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" ] }, {