Skip to content

Commit 0f26fb5

Browse files
Update package to 0.1.1 (#122)
1 parent 96998ec commit 0f26fb5

File tree

13 files changed

+144
-105
lines changed

13 files changed

+144
-105
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,6 @@ Choose from multiple Redis deployment options:
8080

8181
[Load a schema](https://www.redisvl.com/user_guide/getting_started_01.html#example-schema-creation) from a [YAML file](schemas/schema.yaml):
8282
```yaml
83-
version: '0.1.0'
84-
8583
index:
8684
name: user-index-v1
8785
prefix: user
@@ -231,7 +229,7 @@ embedding = co.embed(
231229
232230
embeddings = co.embed_many(
233231
texts=["my document chunk content", "my other document chunk content"],
234-
search_type="search_documents"
232+
input_type="search_document"
235233
)
236234
```
237235

docs/_static/version_names.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
[
22
{
3-
"name": "0.1.0 (stable)",
4-
"version": "0.1.0",
3+
"name": "0.1.1 (stable)",
4+
"version": "0.1.1",
55
"url": "/",
66
"preferred": true
77
},
8+
{
9+
"name": "0.1.0",
10+
"version": "0.1.0",
11+
"url": "/0.1.0/"
12+
},
813
{
914
"name": "0.0.7",
1015
"version": "0.0.7",

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
project = 'RedisVL'
2020
copyright = '2024, Redis Inc.'
2121
author = 'RedisVentures'
22-
version = "0.1.0"
22+
version = "0.1.1"
2323

2424
# The full version, including alpha/beta/rc tags
2525
release = version

docs/overview/cli.ipynb

Lines changed: 38 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"name": "stdout",
2525
"output_type": "stream",
2626
"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"
2828
]
2929
}
3030
],
@@ -39,11 +39,27 @@
3939
"source": [
4040
"# Index\n",
4141
"\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",
4343
"\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",
4562
"\n",
46-
"```yaml\n",
4763
"version: '0.1.0'\n",
4864
"\n",
4965
"index:\n",
@@ -59,20 +75,19 @@
5975
" attrs:\n",
6076
" dims: 768\n",
6177
" algorithm: flat\n",
62-
" distance_metric: cosine\n",
63-
"```"
78+
" distance_metric: cosine"
6479
]
6580
},
6681
{
6782
"cell_type": "code",
68-
"execution_count": 2,
83+
"execution_count": 3,
6984
"metadata": {},
7085
"outputs": [
7186
{
7287
"name": "stdout",
7388
"output_type": "stream",
7489
"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"
7691
]
7792
}
7893
],
@@ -83,15 +98,15 @@
8398
},
8499
{
85100
"cell_type": "code",
86-
"execution_count": 3,
101+
"execution_count": 4,
87102
"metadata": {},
88103
"outputs": [
89104
{
90105
"name": "stdout",
91106
"output_type": "stream",
92107
"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"
95110
]
96111
}
97112
],
@@ -102,7 +117,7 @@
102117
},
103118
{
104119
"cell_type": "code",
105-
"execution_count": 4,
120+
"execution_count": 5,
106121
"metadata": {},
107122
"outputs": [
108123
{
@@ -134,14 +149,14 @@
134149
},
135150
{
136151
"cell_type": "code",
137-
"execution_count": 5,
152+
"execution_count": 6,
138153
"metadata": {},
139154
"outputs": [
140155
{
141156
"name": "stdout",
142157
"output_type": "stream",
143158
"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"
145160
]
146161
}
147162
],
@@ -152,14 +167,14 @@
152167
},
153168
{
154169
"cell_type": "code",
155-
"execution_count": 6,
170+
"execution_count": 7,
156171
"metadata": {},
157172
"outputs": [
158173
{
159174
"name": "stdout",
160175
"output_type": "stream",
161176
"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"
163178
]
164179
}
165180
],
@@ -179,14 +194,14 @@
179194
},
180195
{
181196
"cell_type": "code",
182-
"execution_count": 7,
197+
"execution_count": 8,
183198
"metadata": {},
184199
"outputs": [
185200
{
186201
"name": "stdout",
187202
"output_type": "stream",
188203
"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"
190205
]
191206
}
192207
],
@@ -197,15 +212,15 @@
197212
},
198213
{
199214
"cell_type": "code",
200-
"execution_count": 8,
215+
"execution_count": 9,
201216
"metadata": {},
202217
"outputs": [
203218
{
204219
"name": "stdout",
205220
"output_type": "stream",
206221
"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"
209224
]
210225
}
211226
],
@@ -216,7 +231,7 @@
216231
},
217232
{
218233
"cell_type": "code",
219-
"execution_count": 9,
234+
"execution_count": 10,
220235
"metadata": {},
221236
"outputs": [
222237
{
@@ -265,7 +280,7 @@
265280
"name": "stdout",
266281
"output_type": "stream",
267282
"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"
269284
]
270285
}
271286
],

docs/overview/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ There are a few ways to install RedisVL. The easiest way is to use pip.
1414
Install `redisvl` into your Python (>=3.8) environment using `pip`:
1515

1616
```bash
17-
$ pip install redisvl
17+
$ pip install -U redisvl
1818
```
1919

2020
RedisVL comes with a few dependencies that are automatically installed, however, a few dependencies

docs/overview/schema.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
version: '0.1.0'
3+
4+
index:
5+
name: vectorizers
6+
prefix: doc
7+
storage_type: hash
8+
9+
fields:
10+
- name: sentence
11+
type: text
12+
- name: embedding
13+
type: vector
14+
attrs:
15+
dims: 768
16+
algorithm: flat
17+
distance_metric: cosine

0 commit comments

Comments
 (0)