Skip to content

Commit 574026c

Browse files
remove wget call
1 parent da6d825 commit 574026c

File tree

1 file changed

+2
-51
lines changed

1 file changed

+2
-51
lines changed

python-recipes/RAG/07_user_role_based_rag.ipynb

Lines changed: 2 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
},
106106
{
107107
"cell_type": "code",
108-
"execution_count": 2,
108+
"execution_count": null,
109109
"id": "48971c52",
110110
"metadata": {
111111
"colab": {
@@ -114,22 +114,7 @@
114114
"id": "48971c52",
115115
"outputId": "e17d146a-43be-41fb-b029-f330d79f1a65"
116116
},
117-
"outputs": [
118-
{
119-
"name": "stdout",
120-
"output_type": "stream",
121-
"text": [
122-
"Cloning into 'temp_repo'...\n",
123-
"remote: Enumerating objects: 458, done.\u001b[K\n",
124-
"remote: Counting objects: 100% (210/210), done.\u001b[K\n",
125-
"remote: Compressing objects: 100% (130/130), done.\u001b[K\n",
126-
"remote: Total 458 (delta 138), reused 107 (delta 77), pack-reused 248 (from 2)\u001b[K\n",
127-
"Receiving objects: 100% (458/458), 25.78 MiB | 14.38 MiB/s, done.\n",
128-
"Resolving deltas: 100% (204/204), done.\n",
129-
"mv: cannot stat 'temp_repo/python-recipes/RAG/resources/2022-chevrolet-colorado-ebrochure.pdf': No such file or directory\n"
130-
]
131-
}
132-
],
117+
"outputs": [],
133118
"source": [
134119
"# NBVAL_SKIP\n",
135120
"!git clone https://github.com/redis-developer/redis-ai-resources.git temp_repo\n",
@@ -139,40 +124,6 @@
139124
"!rm -rf temp_repo"
140125
]
141126
},
142-
{
143-
"cell_type": "code",
144-
"execution_count": 3,
145-
"id": "1EcEWpNtw3PD",
146-
"metadata": {
147-
"colab": {
148-
"base_uri": "https://localhost:8080/"
149-
},
150-
"id": "1EcEWpNtw3PD",
151-
"outputId": "cba664d3-f301-47ed-ebe2-470af3e27cef"
152-
},
153-
"outputs": [
154-
{
155-
"name": "stdout",
156-
"output_type": "stream",
157-
"text": [
158-
"--2025-01-23 21:09:22-- https://raw.githubusercontent.com/redis-developer/LLM-Document-Chat/main/docs/2022-chevrolet-colorado-ebrochure.pdf\n",
159-
"Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...\n",
160-
"Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|185.199.108.133|:443... connected.\n",
161-
"HTTP request sent, awaiting response... 200 OK\n",
162-
"Length: 3566101 (3.4M) [application/octet-stream]\n",
163-
"Saving to: ‘resources/2022-chevy-colorado-ebrochure.pdf’\n",
164-
"\n",
165-
"resources/2022-chev 100%[===================>] 3.40M --.-KB/s in 0.05s \n",
166-
"\n",
167-
"2025-01-23 21:09:23 (63.2 MB/s) - ‘resources/2022-chevy-colorado-ebrochure.pdf’ saved [3566101/3566101]\n",
168-
"\n"
169-
]
170-
}
171-
],
172-
"source": [
173-
"!wget 'https://raw.githubusercontent.com/redis-developer/LLM-Document-Chat/main/docs/2022-chevrolet-colorado-ebrochure.pdf' -O 'resources/2022-chevy-colorado-ebrochure.pdf'\n"
174-
]
175-
},
176127
{
177128
"cell_type": "markdown",
178129
"id": "993371a2",

0 commit comments

Comments
 (0)