Clean up notebook to reduce file sizes

This commit is contained in:
lisekarimi
2025-06-07 05:23:09 +02:00
parent e337e0b231
commit 6c25aa5e75

View File

@@ -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
}
}