diff --git a/scripts/run_rag_pipeline.py b/scripts/run_rag_pipeline.py index 2c620e5..97d0fb2 100644 --- a/scripts/run_rag_pipeline.py +++ b/scripts/run_rag_pipeline.py @@ -1,7 +1,9 @@ import shutil from argparse import ArgumentParser from typing import Any, Dict, List, Tuple - +__import__("pysqlite3") +import sys +sys.modules["sqlite3"] = sys.modules.pop("pysqlite3") import pandas as pd from haystack import Pipeline from haystack.components.builders import PromptBuilder