From 6c25aa5e752822740efe5ce7dbb4c2d32d42c4f6 Mon Sep 17 00:00:00 2001 From: lisekarimi Date: Sat, 7 Jun 2025 05:23:09 +0200 Subject: [PATCH] Clean up notebook to reduce file sizes --- .../08_rag_qa_assistant.ipynb | 41 ++++++++++++------- 1 file changed, 27 insertions(+), 14 deletions(-) diff --git a/week5/community-contributions/08_rag_qa_assistant.ipynb b/week5/community-contributions/08_rag_qa_assistant.ipynb index 6c44496..2d0affb 100644 --- a/week5/community-contributions/08_rag_qa_assistant.ipynb +++ b/week5/community-contributions/08_rag_qa_assistant.ipynb @@ -51,7 +51,8 @@ "\n", "---\n", "📢 Find more LLM notebooks on my [GitHub repository](https://github.com/lisekarimi/lexo)" - ] + ], + "outputs": [] }, { "cell_type": "markdown", @@ -59,7 +60,8 @@ "metadata": {}, "source": [ "## 📥 Imports" - ] + ], + "outputs": [] }, { "cell_type": "code", @@ -103,7 +105,8 @@ "metadata": {}, "source": [ "## 🔐 Load env variables and configuration" - ] + ], + "outputs": [] }, { "cell_type": "code", @@ -132,7 +135,8 @@ "metadata": {}, "source": [ "## 📄 Load files as Document objects into memory" - ] + ], + "outputs": [] }, { "cell_type": "code", @@ -181,7 +185,8 @@ "metadata": {}, "source": [ "## ✂️ Splitting documents into chunks" - ] + ], + "outputs": [] }, { "cell_type": "code", @@ -239,7 +244,8 @@ "metadata": {}, "source": [ "## 🧠 Chuncks Embedding" - ] + ], + "outputs": [] }, { "cell_type": "code", @@ -258,7 +264,8 @@ "metadata": {}, "source": [ "## 💾 Save embedded chunks to Chroma database" - ] + ], + "outputs": [] }, { "cell_type": "code", @@ -303,7 +310,8 @@ "metadata": {}, "source": [ "## 📊 Visualizing the Vector Store" - ] + ], + "outputs": [] }, { "cell_type": "code", @@ -372,7 +380,8 @@ "metadata": {}, "source": [ "![image.png](attachment:image.png)" - ] + ], + "outputs": [] }, { "cell_type": "code", @@ -426,7 +435,8 @@ "metadata": {}, "source": [ "![image.png](attachment:image.png)" - ] + ], + "outputs": [] }, { "cell_type": "markdown", @@ -434,7 +444,8 @@ "metadata": {}, "source": [ "## 🔍 Query Chroma" - ] + ], + "outputs": [] }, { "cell_type": "code", @@ -492,7 +503,8 @@ "metadata": {}, "source": [ "## 🗣️ LLM and answers" - ] + ], + "outputs": [] }, { "cell_type": "code", @@ -581,7 +593,8 @@ "metadata": {}, "source": [ "## 🎛️ Gradio interface" - ] + ], + "outputs": [] }, { "cell_type": "code", @@ -694,4 +707,4 @@ }, "nbformat": 4, "nbformat_minor": 5 -} +} \ No newline at end of file