File tree 1 file changed +30
-2
lines changed
1 file changed +30
-2
lines changed Original file line number Diff line number Diff line change 3
3
Supported databases/extensions:
4
4
5
5
- [x] [ ` pgvecto.rs ` ] ( https://github.com/tensorchord/pgvecto.rs )
6
- - [ ] [ ` pgvector ` ] ( https://github.com/pgvector/pgvector )
6
+ - [x ] [ ` pgvector ` ] ( https://github.com/pgvector/pgvector )
7
7
- [ ] [ ` qdrant ` ] ( https://github.com/qdrant/qdrant/ )
8
8
9
9
Supported datasets:
10
10
11
11
- [x] random generated
12
12
- [x] GIST 960
13
13
14
-
15
14
## Installation
16
15
17
16
``` bash
@@ -20,6 +19,16 @@ pip install vector_bench
20
19
21
20
## Run
22
21
22
+ ### Server
23
+
24
+ Run the docker compose file under [ ` server ` ] ( server/ ) folder.
25
+
26
+ ``` base
27
+ cd server/pgvecto.rs && docker compose up -d
28
+ ```
29
+
30
+ ### Client
31
+
23
32
``` bash
24
33
# help
25
34
vector_bench --help
@@ -30,3 +39,22 @@ vector_bench --query --url postgresql://postgres:password@localhost:5432/postgre
30
39
# insert and query the data
31
40
vector_bench --insert --query --url postgresql://postgres:password@localhost:5432/postgres -s gist_960_l2
32
41
```
42
+
43
+ ## How to contribute
44
+
45
+ ``` bash
46
+ # install all the necessary dependencies:
47
+ make dev
48
+ # format code
49
+ make format
50
+ # lint
51
+ make lint
52
+ ```
53
+
54
+ ### Add more datasets
55
+
56
+ - Add new ` DatasetConfig ` to ` vector_bench/dataset/source.py `
57
+
58
+ ### Add more clients
59
+
60
+ - Inherit and implement the ` BaseClient ` class in ` vector_bench/client/base.py `
You can’t perform that action at this time.
0 commit comments