|
24 | 24 | "name": "stdout",
|
25 | 25 | "output_type": "stream",
|
26 | 26 | "text": [
|
27 |
| - "\u001b[32m20:09:02\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m RedisVL version 0.0.7\n" |
| 27 | + "\u001b[32m09:00:12\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m RedisVL version 0.1.1\n" |
28 | 28 | ]
|
29 | 29 | }
|
30 | 30 | ],
|
|
39 | 39 | "source": [
|
40 | 40 | "# Index\n",
|
41 | 41 | "\n",
|
42 |
| - "The ``rvl index`` command is can be used for a number of tasks related to creating and managing vector indices. Wether you are working in Python or another language, this cli tool can still be useful for managing and inspecting your indices.\n", |
| 42 | + "The ``rvl index`` command is can be used for a number of tasks related to creating and managing indices. Wether you are working in Python or another language, this cli tool can still be useful for managing and inspecting your indices.\n", |
43 | 43 | "\n",
|
44 |
| - "first, we will create an index from a yaml schema that looks like the following\n", |
| 44 | + "First, we will create an index from a yaml schema that looks like the following:\n" |
| 45 | + ] |
| 46 | + }, |
| 47 | + { |
| 48 | + "cell_type": "code", |
| 49 | + "execution_count": 2, |
| 50 | + "metadata": {}, |
| 51 | + "outputs": [ |
| 52 | + { |
| 53 | + "name": "stdout", |
| 54 | + "output_type": "stream", |
| 55 | + "text": [ |
| 56 | + "Writing schema.yaml\n" |
| 57 | + ] |
| 58 | + } |
| 59 | + ], |
| 60 | + "source": [ |
| 61 | + "%%writefile schema.yaml\n", |
45 | 62 | "\n",
|
46 |
| - "```yaml\n", |
47 | 63 | "version: '0.1.0'\n",
|
48 | 64 | "\n",
|
49 | 65 | "index:\n",
|
|
59 | 75 | " attrs:\n",
|
60 | 76 | " dims: 768\n",
|
61 | 77 | " algorithm: flat\n",
|
62 |
| - " distance_metric: cosine\n", |
63 |
| - "```" |
| 78 | + " distance_metric: cosine" |
64 | 79 | ]
|
65 | 80 | },
|
66 | 81 | {
|
67 | 82 | "cell_type": "code",
|
68 |
| - "execution_count": 2, |
| 83 | + "execution_count": 3, |
69 | 84 | "metadata": {},
|
70 | 85 | "outputs": [
|
71 | 86 | {
|
72 | 87 | "name": "stdout",
|
73 | 88 | "output_type": "stream",
|
74 | 89 | "text": [
|
75 |
| - "\u001b[32m20:09:04\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m Index created successfully\n" |
| 90 | + "\u001b[32m09:00:13\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m Index created successfully\n" |
76 | 91 | ]
|
77 | 92 | }
|
78 | 93 | ],
|
|
83 | 98 | },
|
84 | 99 | {
|
85 | 100 | "cell_type": "code",
|
86 |
| - "execution_count": 3, |
| 101 | + "execution_count": 4, |
87 | 102 | "metadata": {},
|
88 | 103 | "outputs": [
|
89 | 104 | {
|
90 | 105 | "name": "stdout",
|
91 | 106 | "output_type": "stream",
|
92 | 107 | "text": [
|
93 |
| - "\u001b[32m20:09:05\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m Indices:\n", |
94 |
| - "\u001b[32m20:09:05\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m 1. vectorizers\n" |
| 108 | + "\u001b[32m09:00:15\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m Indices:\n", |
| 109 | + "\u001b[32m09:00:15\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m 1. vectorizers\n" |
95 | 110 | ]
|
96 | 111 | }
|
97 | 112 | ],
|
|
102 | 117 | },
|
103 | 118 | {
|
104 | 119 | "cell_type": "code",
|
105 |
| - "execution_count": 4, |
| 120 | + "execution_count": 5, |
106 | 121 | "metadata": {},
|
107 | 122 | "outputs": [
|
108 | 123 | {
|
|
134 | 149 | },
|
135 | 150 | {
|
136 | 151 | "cell_type": "code",
|
137 |
| - "execution_count": 5, |
| 152 | + "execution_count": 6, |
138 | 153 | "metadata": {},
|
139 | 154 | "outputs": [
|
140 | 155 | {
|
141 | 156 | "name": "stdout",
|
142 | 157 | "output_type": "stream",
|
143 | 158 | "text": [
|
144 |
| - "\u001b[32m20:09:09\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m Index deleted successfully\n" |
| 159 | + "\u001b[32m09:00:18\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m Index deleted successfully\n" |
145 | 160 | ]
|
146 | 161 | }
|
147 | 162 | ],
|
|
152 | 167 | },
|
153 | 168 | {
|
154 | 169 | "cell_type": "code",
|
155 |
| - "execution_count": 6, |
| 170 | + "execution_count": 7, |
156 | 171 | "metadata": {},
|
157 | 172 | "outputs": [
|
158 | 173 | {
|
159 | 174 | "name": "stdout",
|
160 | 175 | "output_type": "stream",
|
161 | 176 | "text": [
|
162 |
| - "\u001b[32m20:09:11\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m Indices:\n" |
| 177 | + "\u001b[32m09:00:20\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m Indices:\n" |
163 | 178 | ]
|
164 | 179 | }
|
165 | 180 | ],
|
|
179 | 194 | },
|
180 | 195 | {
|
181 | 196 | "cell_type": "code",
|
182 |
| - "execution_count": 7, |
| 197 | + "execution_count": 8, |
183 | 198 | "metadata": {},
|
184 | 199 | "outputs": [
|
185 | 200 | {
|
186 | 201 | "name": "stdout",
|
187 | 202 | "output_type": "stream",
|
188 | 203 | "text": [
|
189 |
| - "\u001b[32m20:09:12\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m Index created successfully\n" |
| 204 | + "\u001b[32m09:00:22\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m Index created successfully\n" |
190 | 205 | ]
|
191 | 206 | }
|
192 | 207 | ],
|
|
197 | 212 | },
|
198 | 213 | {
|
199 | 214 | "cell_type": "code",
|
200 |
| - "execution_count": 8, |
| 215 | + "execution_count": 9, |
201 | 216 | "metadata": {},
|
202 | 217 | "outputs": [
|
203 | 218 | {
|
204 | 219 | "name": "stdout",
|
205 | 220 | "output_type": "stream",
|
206 | 221 | "text": [
|
207 |
| - "\u001b[32m20:09:14\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m Indices:\n", |
208 |
| - "\u001b[32m20:09:14\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m 1. vectorizers\n" |
| 222 | + "\u001b[32m09:00:23\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m Indices:\n", |
| 223 | + "\u001b[32m09:00:23\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m 1. vectorizers\n" |
209 | 224 | ]
|
210 | 225 | }
|
211 | 226 | ],
|
|
216 | 231 | },
|
217 | 232 | {
|
218 | 233 | "cell_type": "code",
|
219 |
| - "execution_count": 9, |
| 234 | + "execution_count": 10, |
220 | 235 | "metadata": {},
|
221 | 236 | "outputs": [
|
222 | 237 | {
|
|
265 | 280 | "name": "stdout",
|
266 | 281 | "output_type": "stream",
|
267 | 282 | "text": [
|
268 |
| - "\u001b[32m20:09:33\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m Index deleted successfully\n" |
| 283 | + "\u001b[32m09:00:27\u001b[0m \u001b[34m[RedisVL]\u001b[0m \u001b[1;30mINFO\u001b[0m Index deleted successfully\n" |
269 | 284 | ]
|
270 | 285 | }
|
271 | 286 | ],
|
|
0 commit comments