Skip to content

Commit 48b4906

Browse files
authored
chore: update readme (#4)
Signed-off-by: Keming <[email protected]>
1 parent c842fbe commit 48b4906

File tree

1 file changed

+30
-2
lines changed

1 file changed

+30
-2
lines changed

README.md

+30-2
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,14 @@
33
Supported databases/extensions:
44

55
- [x] [`pgvecto.rs`](https://github.com/tensorchord/pgvecto.rs)
6-
- [ ] [`pgvector`](https://github.com/pgvector/pgvector)
6+
- [x] [`pgvector`](https://github.com/pgvector/pgvector)
77
- [ ] [`qdrant`](https://github.com/qdrant/qdrant/)
88

99
Supported datasets:
1010

1111
- [x] random generated
1212
- [x] GIST 960
1313

14-
1514
## Installation
1615

1716
```bash
@@ -20,6 +19,16 @@ pip install vector_bench
2019

2120
## Run
2221

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+
2332
```bash
2433
# help
2534
vector_bench --help
@@ -30,3 +39,22 @@ vector_bench --query --url postgresql://postgres:password@localhost:5432/postgre
3039
# insert and query the data
3140
vector_bench --insert --query --url postgresql://postgres:password@localhost:5432/postgres -s gist_960_l2
3241
```
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`

0 commit comments

Comments
 (0)