Skip to content

Commit

Permalink
Fixes sqlite version error in rag script
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewcoole committed Nov 14, 2024
1 parent bb843b1 commit 62c5b2d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/run_rag_pipeline.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 62c5b2d

Please sign in to comment.