Created using Colab
Browse files
notebooks/03-RAG_with_LlamaIndex.ipynb
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
"metadata": {
|
5 |
"colab": {
|
6 |
"provenance": [],
|
7 |
-
"authorship_tag": "
|
8 |
"include_colab_link": true
|
9 |
},
|
10 |
"kernelspec": {
|
@@ -37,7 +37,7 @@
|
|
37 |
},
|
38 |
{
|
39 |
"cell_type": "code",
|
40 |
-
"execution_count":
|
41 |
"metadata": {
|
42 |
"colab": {
|
43 |
"base_uri": "https://localhost:8080/"
|
@@ -69,7 +69,7 @@
|
|
69 |
}
|
70 |
],
|
71 |
"source": [
|
72 |
-
"!pip install -q llama-index==0.10.
|
73 |
]
|
74 |
},
|
75 |
{
|
@@ -83,7 +83,7 @@
|
|
83 |
"metadata": {
|
84 |
"id": "XuzgSNqcABpV"
|
85 |
},
|
86 |
-
"execution_count":
|
87 |
"outputs": []
|
88 |
},
|
89 |
{
|
@@ -125,7 +125,7 @@
|
|
125 |
"id": "3ImRCP7pACaI",
|
126 |
"outputId": "c782f06a-5fcb-4134-e197-e2a9c3193ce9"
|
127 |
},
|
128 |
-
"execution_count":
|
129 |
"outputs": [
|
130 |
{
|
131 |
"output_type": "stream",
|
@@ -180,7 +180,7 @@
|
|
180 |
"id": "miUqycqAEfr7",
|
181 |
"outputId": "911985c6-6884-48ff-fa24-869d44a1a012"
|
182 |
},
|
183 |
-
"execution_count":
|
184 |
"outputs": [
|
185 |
{
|
186 |
"output_type": "stream",
|
@@ -211,7 +211,7 @@
|
|
211 |
"metadata": {
|
212 |
"id": "iXrr5-tnEfm9"
|
213 |
},
|
214 |
-
"execution_count":
|
215 |
"outputs": []
|
216 |
},
|
217 |
{
|
@@ -229,7 +229,7 @@
|
|
229 |
"metadata": {
|
230 |
"id": "Bsa7Q-DoNWBk"
|
231 |
},
|
232 |
-
"execution_count":
|
233 |
"outputs": []
|
234 |
},
|
235 |
{
|
@@ -241,7 +241,7 @@
|
|
241 |
"metadata": {
|
242 |
"id": "xxB0A9ZYM-OD"
|
243 |
},
|
244 |
-
"execution_count":
|
245 |
"outputs": []
|
246 |
},
|
247 |
{
|
@@ -263,7 +263,7 @@
|
|
263 |
"metadata": {
|
264 |
"id": "bUaNH97dEfh9"
|
265 |
},
|
266 |
-
"execution_count":
|
267 |
"outputs": []
|
268 |
},
|
269 |
{
|
@@ -281,7 +281,7 @@
|
|
281 |
"id": "KHK4V_GRR6ZG",
|
282 |
"outputId": "8d656836-622a-4261-e24a-9cadf857b376"
|
283 |
},
|
284 |
-
"execution_count":
|
285 |
"outputs": [
|
286 |
{
|
287 |
"output_type": "stream",
|
@@ -307,7 +307,7 @@
|
|
307 |
"base_uri": "https://localhost:8080/"
|
308 |
}
|
309 |
},
|
310 |
-
"execution_count":
|
311 |
"outputs": [
|
312 |
{
|
313 |
"output_type": "stream",
|
|
|
4 |
"metadata": {
|
5 |
"colab": {
|
6 |
"provenance": [],
|
7 |
+
"authorship_tag": "ABX9TyO9EXKHngvJa9fUydE3Tlen",
|
8 |
"include_colab_link": true
|
9 |
},
|
10 |
"kernelspec": {
|
|
|
37 |
},
|
38 |
{
|
39 |
"cell_type": "code",
|
40 |
+
"execution_count": null,
|
41 |
"metadata": {
|
42 |
"colab": {
|
43 |
"base_uri": "https://localhost:8080/"
|
|
|
69 |
}
|
70 |
],
|
71 |
"source": [
|
72 |
+
"!pip install -q llama-index==0.10.30 openai==1.12.0 cohere==4.47 tiktoken==0.6.0"
|
73 |
]
|
74 |
},
|
75 |
{
|
|
|
83 |
"metadata": {
|
84 |
"id": "XuzgSNqcABpV"
|
85 |
},
|
86 |
+
"execution_count": null,
|
87 |
"outputs": []
|
88 |
},
|
89 |
{
|
|
|
125 |
"id": "3ImRCP7pACaI",
|
126 |
"outputId": "c782f06a-5fcb-4134-e197-e2a9c3193ce9"
|
127 |
},
|
128 |
+
"execution_count": null,
|
129 |
"outputs": [
|
130 |
{
|
131 |
"output_type": "stream",
|
|
|
180 |
"id": "miUqycqAEfr7",
|
181 |
"outputId": "911985c6-6884-48ff-fa24-869d44a1a012"
|
182 |
},
|
183 |
+
"execution_count": null,
|
184 |
"outputs": [
|
185 |
{
|
186 |
"output_type": "stream",
|
|
|
211 |
"metadata": {
|
212 |
"id": "iXrr5-tnEfm9"
|
213 |
},
|
214 |
+
"execution_count": null,
|
215 |
"outputs": []
|
216 |
},
|
217 |
{
|
|
|
229 |
"metadata": {
|
230 |
"id": "Bsa7Q-DoNWBk"
|
231 |
},
|
232 |
+
"execution_count": null,
|
233 |
"outputs": []
|
234 |
},
|
235 |
{
|
|
|
241 |
"metadata": {
|
242 |
"id": "xxB0A9ZYM-OD"
|
243 |
},
|
244 |
+
"execution_count": null,
|
245 |
"outputs": []
|
246 |
},
|
247 |
{
|
|
|
263 |
"metadata": {
|
264 |
"id": "bUaNH97dEfh9"
|
265 |
},
|
266 |
+
"execution_count": null,
|
267 |
"outputs": []
|
268 |
},
|
269 |
{
|
|
|
281 |
"id": "KHK4V_GRR6ZG",
|
282 |
"outputId": "8d656836-622a-4261-e24a-9cadf857b376"
|
283 |
},
|
284 |
+
"execution_count": null,
|
285 |
"outputs": [
|
286 |
{
|
287 |
"output_type": "stream",
|
|
|
307 |
"base_uri": "https://localhost:8080/"
|
308 |
}
|
309 |
},
|
310 |
+
"execution_count": null,
|
311 |
"outputs": [
|
312 |
{
|
313 |
"output_type": "stream",
|