diff --git a/all_rag_techniques/retrieval_with_feedback_loop.ipynb b/all_rag_techniques/retrieval_with_feedback_loop.ipynb index b81e8d5..f9df8b8 100644 --- a/all_rag_techniques/retrieval_with_feedback_loop.ipynb +++ b/all_rag_techniques/retrieval_with_feedback_loop.ipynb @@ -192,7 +192,7 @@ "outputs": [], "source": [ "def store_feedback(feedback):\n", - " with open(\"feedback_data.json\", \"a\") as f:\n", + " with open(\"../data/feedback_data.json\", \"a\") as f:\n", " json.dump(feedback, f)\n", " f.write(\"\\n\")" ] @@ -213,7 +213,7 @@ "def load_feedback_data():\n", " feedback_data = []\n", " try:\n", - " with open(\"feedback_data.json\", \"r\") as f:\n", + " with open(\"../data/feedback_data.json\", \"r\") as f:\n", " for line in f:\n", " feedback_data.append(json.loads(line.strip()))\n", " except FileNotFoundError:\n",