vectordb-bench 0.0.10__py3-none-any.whl → 0.0.12__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- vectordb_bench/__init__.py +19 -5
- vectordb_bench/backend/assembler.py +1 -1
- vectordb_bench/backend/cases.py +93 -27
- vectordb_bench/backend/clients/__init__.py +14 -0
- vectordb_bench/backend/clients/api.py +1 -1
- vectordb_bench/backend/clients/aws_opensearch/aws_opensearch.py +159 -0
- vectordb_bench/backend/clients/aws_opensearch/cli.py +44 -0
- vectordb_bench/backend/clients/aws_opensearch/config.py +58 -0
- vectordb_bench/backend/clients/aws_opensearch/run.py +125 -0
- vectordb_bench/backend/clients/milvus/cli.py +291 -0
- vectordb_bench/backend/clients/milvus/milvus.py +13 -6
- vectordb_bench/backend/clients/pgvector/cli.py +116 -0
- vectordb_bench/backend/clients/pgvector/config.py +1 -1
- vectordb_bench/backend/clients/pgvector/pgvector.py +7 -4
- vectordb_bench/backend/clients/redis/cli.py +74 -0
- vectordb_bench/backend/clients/test/cli.py +25 -0
- vectordb_bench/backend/clients/test/config.py +18 -0
- vectordb_bench/backend/clients/test/test.py +62 -0
- vectordb_bench/backend/clients/weaviate_cloud/cli.py +41 -0
- vectordb_bench/backend/clients/zilliz_cloud/cli.py +55 -0
- vectordb_bench/backend/dataset.py +27 -5
- vectordb_bench/backend/runner/mp_runner.py +14 -3
- vectordb_bench/backend/runner/serial_runner.py +7 -3
- vectordb_bench/backend/task_runner.py +76 -26
- vectordb_bench/cli/__init__.py +0 -0
- vectordb_bench/cli/cli.py +362 -0
- vectordb_bench/cli/vectordbbench.py +22 -0
- vectordb_bench/config-files/sample_config.yml +17 -0
- vectordb_bench/custom/custom_case.json +18 -0
- vectordb_bench/frontend/components/check_results/charts.py +6 -6
- vectordb_bench/frontend/components/check_results/data.py +23 -20
- vectordb_bench/frontend/components/check_results/expanderStyle.py +1 -1
- vectordb_bench/frontend/components/check_results/filters.py +20 -13
- vectordb_bench/frontend/components/check_results/headerIcon.py +1 -1
- vectordb_bench/frontend/components/check_results/priceTable.py +1 -1
- vectordb_bench/frontend/components/check_results/stPageConfig.py +1 -1
- vectordb_bench/frontend/components/concurrent/charts.py +79 -0
- vectordb_bench/frontend/components/custom/displayCustomCase.py +31 -0
- vectordb_bench/frontend/components/custom/displaypPrams.py +11 -0
- vectordb_bench/frontend/components/custom/getCustomConfig.py +40 -0
- vectordb_bench/frontend/components/custom/initStyle.py +15 -0
- vectordb_bench/frontend/components/run_test/autoRefresh.py +1 -1
- vectordb_bench/frontend/components/run_test/caseSelector.py +40 -28
- vectordb_bench/frontend/components/run_test/dbConfigSetting.py +1 -5
- vectordb_bench/frontend/components/run_test/dbSelector.py +8 -14
- vectordb_bench/frontend/components/run_test/generateTasks.py +3 -5
- vectordb_bench/frontend/components/run_test/initStyle.py +14 -0
- vectordb_bench/frontend/components/run_test/submitTask.py +13 -5
- vectordb_bench/frontend/components/tables/data.py +44 -0
- vectordb_bench/frontend/{const → config}/dbCaseConfigs.py +140 -32
- vectordb_bench/frontend/{const → config}/styles.py +2 -0
- vectordb_bench/frontend/pages/concurrent.py +65 -0
- vectordb_bench/frontend/pages/custom.py +64 -0
- vectordb_bench/frontend/pages/quries_per_dollar.py +5 -5
- vectordb_bench/frontend/pages/run_test.py +4 -0
- vectordb_bench/frontend/pages/tables.py +24 -0
- vectordb_bench/frontend/utils.py +17 -1
- vectordb_bench/frontend/vdb_benchmark.py +3 -3
- vectordb_bench/interface.py +21 -25
- vectordb_bench/metric.py +23 -1
- vectordb_bench/models.py +45 -1
- vectordb_bench/results/getLeaderboardData.py +1 -1
- {vectordb_bench-0.0.10.dist-info → vectordb_bench-0.0.12.dist-info}/METADATA +228 -14
- vectordb_bench-0.0.12.dist-info/RECORD +115 -0
- {vectordb_bench-0.0.10.dist-info → vectordb_bench-0.0.12.dist-info}/WHEEL +1 -1
- {vectordb_bench-0.0.10.dist-info → vectordb_bench-0.0.12.dist-info}/entry_points.txt +1 -0
- vectordb_bench-0.0.10.dist-info/RECORD +0 -88
- /vectordb_bench/frontend/{const → config}/dbPrices.py +0 -0
- {vectordb_bench-0.0.10.dist-info → vectordb_bench-0.0.12.dist-info}/LICENSE +0 -0
- {vectordb_bench-0.0.10.dist-info → vectordb_bench-0.0.12.dist-info}/top_level.txt +0 -0
vectordb_bench/models.py
CHANGED
@@ -17,7 +17,6 @@ from .base import BaseModel
|
|
17
17
|
from . import config
|
18
18
|
from .metric import Metric
|
19
19
|
|
20
|
-
|
21
20
|
log = logging.getLogger(__name__)
|
22
21
|
|
23
22
|
|
@@ -65,15 +64,59 @@ class CaseConfigParamType(Enum):
|
|
65
64
|
maintenance_work_mem = "maintenance_work_mem"
|
66
65
|
max_parallel_workers = "max_parallel_workers"
|
67
66
|
|
67
|
+
|
68
68
|
class CustomizedCase(BaseModel):
|
69
69
|
pass
|
70
70
|
|
71
71
|
|
72
|
+
class ConcurrencySearchConfig(BaseModel):
|
73
|
+
num_concurrency: List[int] = config.NUM_CONCURRENCY
|
74
|
+
concurrency_duration: int = config.CONCURRENCY_DURATION
|
75
|
+
|
76
|
+
|
72
77
|
class CaseConfig(BaseModel):
|
73
78
|
"""cases, dataset, test cases, filter rate, params"""
|
74
79
|
|
75
80
|
case_id: CaseType
|
76
81
|
custom_case: dict | None = None
|
82
|
+
k: int | None = config.K_DEFAULT
|
83
|
+
concurrency_search_config: ConcurrencySearchConfig = ConcurrencySearchConfig()
|
84
|
+
|
85
|
+
'''
|
86
|
+
@property
|
87
|
+
def k(self):
|
88
|
+
"""K search parameter, default is config.K_DEFAULT"""
|
89
|
+
return self._k
|
90
|
+
|
91
|
+
#
|
92
|
+
@k.setter
|
93
|
+
def k(self, value):
|
94
|
+
self._k = value
|
95
|
+
'''
|
96
|
+
|
97
|
+
def __hash__(self) -> int:
|
98
|
+
return hash(self.json())
|
99
|
+
|
100
|
+
|
101
|
+
class TaskStage(StrEnum):
|
102
|
+
"""Enumerations of various stages of the task"""
|
103
|
+
|
104
|
+
DROP_OLD = auto()
|
105
|
+
LOAD = auto()
|
106
|
+
SEARCH_SERIAL = auto()
|
107
|
+
SEARCH_CONCURRENT = auto()
|
108
|
+
|
109
|
+
def __repr__(self) -> str:
|
110
|
+
return str.__repr__(self.value)
|
111
|
+
|
112
|
+
|
113
|
+
# TODO: Add CapacityCase enums and adjust TaskRunner to utilize
|
114
|
+
ALL_TASK_STAGES = [
|
115
|
+
TaskStage.DROP_OLD,
|
116
|
+
TaskStage.LOAD,
|
117
|
+
TaskStage.SEARCH_SERIAL,
|
118
|
+
TaskStage.SEARCH_CONCURRENT,
|
119
|
+
]
|
77
120
|
|
78
121
|
|
79
122
|
class TaskConfig(BaseModel):
|
@@ -81,6 +124,7 @@ class TaskConfig(BaseModel):
|
|
81
124
|
db_config: DBConfig
|
82
125
|
db_case_config: DBCaseConfig
|
83
126
|
case_config: CaseConfig
|
127
|
+
stages: List[TaskStage] = ALL_TASK_STAGES
|
84
128
|
|
85
129
|
@property
|
86
130
|
def db_name(self):
|
@@ -2,7 +2,7 @@ from vectordb_bench import config
|
|
2
2
|
import ujson
|
3
3
|
import pathlib
|
4
4
|
from vectordb_bench.backend.cases import CaseType
|
5
|
-
from vectordb_bench.frontend.
|
5
|
+
from vectordb_bench.frontend.config.dbPrices import DB_DBLABEL_TO_PRICE
|
6
6
|
from vectordb_bench.interface import benchMarkRunner
|
7
7
|
from vectordb_bench.models import CaseResult, ResultLabel, TestResult
|
8
8
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: vectordb-bench
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.12
|
4
4
|
Summary: VectorDBBench is not just an offering of benchmark results for mainstream vector databases and cloud services, it's your go-to tool for the ultimate performance and cost-effectiveness comparison. Designed with ease-of-use in mind, VectorDBBench is devised to help users, even non-professionals, reproduce results or test new systems, making the hunt for the optimal choice amongst a plethora of cloud services and open-source vector databases a breeze.
|
5
5
|
Author-email: XuanYang-cn <xuan.yang@zilliz.com>
|
6
6
|
Project-URL: repository, https://github.com/zilliztech/VectorDBBench
|
@@ -10,6 +10,7 @@ Classifier: Operating System :: OS Independent
|
|
10
10
|
Requires-Python: >=3.11
|
11
11
|
Description-Content-Type: text/markdown
|
12
12
|
License-File: LICENSE
|
13
|
+
Requires-Dist: click
|
13
14
|
Requires-Dist: pytz
|
14
15
|
Requires-Dist: streamlit-autorefresh
|
15
16
|
Requires-Dist: streamlit !=1.34.0
|
@@ -37,6 +38,11 @@ Requires-Dist: redis ; extra == 'all'
|
|
37
38
|
Requires-Dist: chromadb ; extra == 'all'
|
38
39
|
Requires-Dist: psycopg2 ; extra == 'all'
|
39
40
|
Requires-Dist: psycopg ; extra == 'all'
|
41
|
+
Requires-Dist: psycopg-binary ; extra == 'all'
|
42
|
+
Requires-Dist: opensearch-dsl ==2.1.0 ; extra == 'all'
|
43
|
+
Requires-Dist: opensearch-py ==2.6.0 ; extra == 'all'
|
44
|
+
Provides-Extra: awsopensearch
|
45
|
+
Requires-Dist: awsopensearch ; extra == 'awsopensearch'
|
40
46
|
Provides-Extra: chromadb
|
41
47
|
Requires-Dist: chromadb ; extra == 'chromadb'
|
42
48
|
Provides-Extra: elastic
|
@@ -44,8 +50,9 @@ Requires-Dist: elasticsearch ; extra == 'elastic'
|
|
44
50
|
Provides-Extra: pgvecto_rs
|
45
51
|
Requires-Dist: psycopg2 ; extra == 'pgvecto_rs'
|
46
52
|
Provides-Extra: pgvector
|
47
|
-
Requires-Dist: pgvector ; extra == 'pgvector'
|
48
53
|
Requires-Dist: psycopg ; extra == 'pgvector'
|
54
|
+
Requires-Dist: psycopg-binary ; extra == 'pgvector'
|
55
|
+
Requires-Dist: pgvector ; extra == 'pgvector'
|
49
56
|
Provides-Extra: pinecone
|
50
57
|
Requires-Dist: pinecone-client ; extra == 'pinecone'
|
51
58
|
Provides-Extra: qdrant
|
@@ -57,6 +64,7 @@ Requires-Dist: ruff ; extra == 'test'
|
|
57
64
|
Requires-Dist: pytest ; extra == 'test'
|
58
65
|
Provides-Extra: weaviate
|
59
66
|
Requires-Dist: weaviate-client ; extra == 'weaviate'
|
67
|
+
Provides-Extra: zilliz_cloud
|
60
68
|
|
61
69
|
# VectorDBBench: A Benchmark Tool for VectorDB
|
62
70
|
|
@@ -87,24 +95,134 @@ pip install vectordb-bench[pinecone]
|
|
87
95
|
```
|
88
96
|
All the database client supported
|
89
97
|
|
90
|
-
|Optional database client|install command|
|
91
|
-
|
92
|
-
|pymilvus(*default*)
|
93
|
-
|all
|
94
|
-
|qdrant
|
95
|
-
|pinecone
|
96
|
-
|weaviate
|
97
|
-
|elastic
|
98
|
-
|pgvector
|
99
|
-
|pgvecto.rs
|
100
|
-
|redis
|
101
|
-
|chromadb
|
98
|
+
| Optional database client | install command |
|
99
|
+
|--------------------------|---------------------------------------------|
|
100
|
+
| pymilvus(*default*) | `pip install vectordb-bench` |
|
101
|
+
| all | `pip install vectordb-bench[all]` |
|
102
|
+
| qdrant | `pip install vectordb-bench[qdrant]` |
|
103
|
+
| pinecone | `pip install vectordb-bench[pinecone]` |
|
104
|
+
| weaviate | `pip install vectordb-bench[weaviate]` |
|
105
|
+
| elastic | `pip install vectordb-bench[elastic]` |
|
106
|
+
| pgvector | `pip install vectordb-bench[pgvector]` |
|
107
|
+
| pgvecto.rs | `pip install vectordb-bench[pgvecto_rs]` |
|
108
|
+
| redis | `pip install vectordb-bench[redis]` |
|
109
|
+
| chromadb | `pip install vectordb-bench[chromadb]` |
|
110
|
+
| awsopensearch | `pip install vectordb-bench[awsopensearch]` |
|
102
111
|
|
103
112
|
### Run
|
104
113
|
|
105
114
|
``` shell
|
106
115
|
init_bench
|
107
116
|
```
|
117
|
+
|
118
|
+
OR:
|
119
|
+
|
120
|
+
### Run from the command line.
|
121
|
+
|
122
|
+
``` shell
|
123
|
+
vectordbbench [OPTIONS] COMMAND [ARGS]...
|
124
|
+
```
|
125
|
+
To list the clients that are runnable via the commandline option, execute: `vectordbbench --help`
|
126
|
+
``` text
|
127
|
+
$ vectordbbench --help
|
128
|
+
Usage: vectordbbench [OPTIONS] COMMAND [ARGS]...
|
129
|
+
|
130
|
+
Options:
|
131
|
+
--help Show this message and exit.
|
132
|
+
|
133
|
+
Commands:
|
134
|
+
pgvectorhnsw
|
135
|
+
pgvectorivfflat
|
136
|
+
test
|
137
|
+
weaviate
|
138
|
+
```
|
139
|
+
To list the options for each command, execute `vectordbbench [command] --help`
|
140
|
+
|
141
|
+
```text
|
142
|
+
$ vectordbbench pgvectorhnsw --help
|
143
|
+
Usage: vectordbbench pgvectorhnsw [OPTIONS]
|
144
|
+
|
145
|
+
Options:
|
146
|
+
--config-file PATH Read configuration from yaml file
|
147
|
+
--drop-old / --skip-drop-old Drop old or skip [default: drop-old]
|
148
|
+
--load / --skip-load Load or skip [default: load]
|
149
|
+
--search-serial / --skip-search-serial
|
150
|
+
Search serial or skip [default: search-
|
151
|
+
serial]
|
152
|
+
--search-concurrent / --skip-search-concurrent
|
153
|
+
Search concurrent or skip [default: search-
|
154
|
+
concurrent]
|
155
|
+
--case-type [CapacityDim128|CapacityDim960|Performance768D100M|Performance768D10M|Performance768D1M|Performance768D10M1P|Performance768D1M1P|Performance768D10M99P|Performance768D1M99P|Performance1536D500K|Performance1536D5M|Performance1536D500K1P|Performance1536D5M1P|Performance1536D500K99P|Performance1536D5M99P|Performance1536D50K]
|
156
|
+
Case type
|
157
|
+
--db-label TEXT Db label, default: date in ISO format
|
158
|
+
[default: 2024-05-20T20:26:31.113290]
|
159
|
+
--dry-run Print just the configuration and exit
|
160
|
+
without running the tasks
|
161
|
+
--k INTEGER K value for number of nearest neighbors to
|
162
|
+
search [default: 100]
|
163
|
+
--concurrency-duration INTEGER Adjusts the duration in seconds of each
|
164
|
+
concurrency search [default: 30]
|
165
|
+
--num-concurrency TEXT Comma-separated list of concurrency values
|
166
|
+
to test during concurrent search [default:
|
167
|
+
1,10,20]
|
168
|
+
--user-name TEXT Db username [required]
|
169
|
+
--password TEXT Db password [required]
|
170
|
+
--host TEXT Db host [required]
|
171
|
+
--db-name TEXT Db name [required]
|
172
|
+
--maintenance-work-mem TEXT Sets the maximum memory to be used for
|
173
|
+
maintenance operations (index creation). Can
|
174
|
+
be entered as string with unit like '64GB'
|
175
|
+
or as an integer number of KB.This will set
|
176
|
+
the parameters:
|
177
|
+
max_parallel_maintenance_workers,
|
178
|
+
max_parallel_workers &
|
179
|
+
table(parallel_workers)
|
180
|
+
--max-parallel-workers INTEGER Sets the maximum number of parallel
|
181
|
+
processes per maintenance operation (index
|
182
|
+
creation)
|
183
|
+
--m INTEGER hnsw m
|
184
|
+
--ef-construction INTEGER hnsw ef-construction
|
185
|
+
--ef-search INTEGER hnsw ef-search
|
186
|
+
--help Show this message and exit.
|
187
|
+
```
|
188
|
+
#### Using a configuration file.
|
189
|
+
|
190
|
+
The vectordbbench command can optionally read some or all the options from a yaml formatted configuration file.
|
191
|
+
|
192
|
+
By default, configuration files are expected to be in vectordb_bench/config-files/, this can be overridden by setting
|
193
|
+
the environment variable CONFIG_LOCAL_DIR or by passing the full path to the file.
|
194
|
+
|
195
|
+
The required format is:
|
196
|
+
```yaml
|
197
|
+
commandname:
|
198
|
+
parameter_name: parameter_value
|
199
|
+
parameter_name: parameter_value
|
200
|
+
```
|
201
|
+
Example:
|
202
|
+
```yaml
|
203
|
+
pgvectorhnsw:
|
204
|
+
db_label: pgConfigTest
|
205
|
+
user_name: vectordbbench
|
206
|
+
password: vectordbbench
|
207
|
+
db_name: vectordbbench
|
208
|
+
host: localhost
|
209
|
+
m: 16
|
210
|
+
ef_construction: 128
|
211
|
+
ef_search: 128
|
212
|
+
milvushnsw:
|
213
|
+
skip_search_serial: True
|
214
|
+
case_type: Performance1536D50K
|
215
|
+
uri: http://localhost:19530
|
216
|
+
m: 16
|
217
|
+
ef_construction: 128
|
218
|
+
ef_search: 128
|
219
|
+
drop_old: False
|
220
|
+
load: False
|
221
|
+
```
|
222
|
+
> Notes:
|
223
|
+
> - Options passed on the command line will override the configuration file*
|
224
|
+
> - Parameter names use an _ not -
|
225
|
+
|
108
226
|
## What is VectorDBBench
|
109
227
|
VectorDBBench is not just an offering of benchmark results for mainstream vector databases and cloud services, it's your go-to tool for the ultimate performance and cost-effectiveness comparison. Designed with ease-of-use in mind, VectorDBBench is devised to help users, even non-professionals, reproduce results or test new systems, making the hunt for the optimal choice amongst a plethora of cloud services and open-source vector databases a breeze.
|
110
228
|
|
@@ -232,6 +350,24 @@ Case No. | Case Type | Dataset Size | Filtering Rate | Results |
|
|
232
350
|
|
233
351
|
Each case provides an in-depth examination of a vector database's abilities, providing you a comprehensive view of the database's performance.
|
234
352
|
|
353
|
+
#### Custom Dataset for Performance case
|
354
|
+
|
355
|
+
Through the `/custom` page, users can customize their own performance case using local datasets. After saving, the corresponding case can be selected from the `/run_test` page to perform the test.
|
356
|
+
|
357
|
+

|
358
|
+

|
359
|
+
|
360
|
+
We have strict requirements for the data set format, please follow them.
|
361
|
+
- `Folder Path` - The path to the folder containing all the files. Please ensure that all files in the folder are in the `Parquet` format.
|
362
|
+
- Vectors data files: The file must be named `train.parquet` and should have two columns: `id` as an incrementing `int` and `emb` as an array of `float32`.
|
363
|
+
- Query test vectors: The file must be named `test.parquet` and should have two columns: `id` as an incrementing `int` and `emb` as an array of `float32`.
|
364
|
+
- Ground truth file: The file must be named `neighbors.parquet` and should have two columns: `id` corresponding to query vectors and `neighbors_id` as an array of `int`.
|
365
|
+
|
366
|
+
- `Train File Count` - If the vector file is too large, you can consider splitting it into multiple files. The naming format for the split files should be `train-[index]-of-[file_count].parquet`. For example, `train-01-of-10.parquet` represents the second file (0-indexed) among 10 split files.
|
367
|
+
|
368
|
+
- `Use Shuffled Data` - If you check this option, the vector data files need to be modified. VectorDBBench will load the data labeled with `shuffle`. For example, use `shuffle_train.parquet` instead of `train.parquet` and `shuffle_train-04-of-10.parquet` instead of `train-04-of-10.parquet`. The `id` column in the shuffled data can be in any order.
|
369
|
+
|
370
|
+
|
235
371
|
## Goals
|
236
372
|
Our goals of this benchmark are:
|
237
373
|
### Reproducibility & Usability
|
@@ -280,6 +416,7 @@ class NewDBCaseConfig(DBCaseConfig):
|
|
280
416
|
# Implement optional case-specific configuration fields
|
281
417
|
# ...
|
282
418
|
```
|
419
|
+
|
283
420
|
**Step 3: Importing the DB Client and Updating Initialization**
|
284
421
|
|
285
422
|
In this final step, you will import your DB client into clients/__init__.py and update the initialization process.
|
@@ -318,6 +455,83 @@ class DB(Enum):
|
|
318
455
|
return NewClientCaseConfig
|
319
456
|
|
320
457
|
```
|
458
|
+
**Step 4: Implement new_client/cli.py and vectordb_bench/cli/vectordbbench.py**
|
459
|
+
|
460
|
+
In this (optional, but encouraged) step you will enable the test to be run from the command line.
|
461
|
+
1. Navigate to the vectordb_bench/backend/clients/"client" directory.
|
462
|
+
2. Inside the "client" folder, create a cli.py file.
|
463
|
+
Using zilliz as an example cli.py:
|
464
|
+
```python
|
465
|
+
from typing import Annotated, Unpack
|
466
|
+
|
467
|
+
import click
|
468
|
+
import os
|
469
|
+
from pydantic import SecretStr
|
470
|
+
|
471
|
+
from vectordb_bench.cli.cli import (
|
472
|
+
CommonTypedDict,
|
473
|
+
cli,
|
474
|
+
click_parameter_decorators_from_typed_dict,
|
475
|
+
run,
|
476
|
+
)
|
477
|
+
from vectordb_bench.backend.clients import DB
|
478
|
+
|
479
|
+
|
480
|
+
class ZillizTypedDict(CommonTypedDict):
|
481
|
+
uri: Annotated[
|
482
|
+
str, click.option("--uri", type=str, help="uri connection string", required=True)
|
483
|
+
]
|
484
|
+
user_name: Annotated[
|
485
|
+
str, click.option("--user-name", type=str, help="Db username", required=True)
|
486
|
+
]
|
487
|
+
password: Annotated[
|
488
|
+
str,
|
489
|
+
click.option("--password",
|
490
|
+
type=str,
|
491
|
+
help="Zilliz password",
|
492
|
+
default=lambda: os.environ.get("ZILLIZ_PASSWORD", ""),
|
493
|
+
show_default="$ZILLIZ_PASSWORD",
|
494
|
+
),
|
495
|
+
]
|
496
|
+
level: Annotated[
|
497
|
+
str,
|
498
|
+
click.option("--level", type=str, help="Zilliz index level", required=False),
|
499
|
+
]
|
500
|
+
|
501
|
+
|
502
|
+
@cli.command()
|
503
|
+
@click_parameter_decorators_from_typed_dict(ZillizTypedDict)
|
504
|
+
def ZillizAutoIndex(**parameters: Unpack[ZillizTypedDict]):
|
505
|
+
from .config import ZillizCloudConfig, AutoIndexConfig
|
506
|
+
|
507
|
+
run(
|
508
|
+
db=DB.ZillizCloud,
|
509
|
+
db_config=ZillizCloudConfig(
|
510
|
+
db_label=parameters["db_label"],
|
511
|
+
uri=SecretStr(parameters["uri"]),
|
512
|
+
user=parameters["user_name"],
|
513
|
+
password=SecretStr(parameters["password"]),
|
514
|
+
),
|
515
|
+
db_case_config=AutoIndexConfig(
|
516
|
+
params={parameters["level"]},
|
517
|
+
),
|
518
|
+
**parameters,
|
519
|
+
)
|
520
|
+
```
|
521
|
+
3. Update cli by adding:
|
522
|
+
1. Add database specific options as an Annotated TypedDict, see ZillizTypedDict above.
|
523
|
+
2. Add index configuration specific options as an Annotated TypedDict. (example: vectordb_bench/backend/clients/pgvector/cli.py)
|
524
|
+
1. May not be needed if there is only one index config.
|
525
|
+
2. Repeat for each index configuration, nesting them if possible.
|
526
|
+
2. Add a index config specific function for each index type, see Zilliz above. The function name, in lowercase, will be the command name passed to the vectordbbench command.
|
527
|
+
3. Update db_config and db_case_config to match client requirements
|
528
|
+
4. Continue to add new functions for each index config.
|
529
|
+
5. Import the client cli module and command to vectordb_bench/cli/vectordbbench.py (for databases with multiple commands (index configs), this only needs to be done for one command)
|
530
|
+
|
531
|
+
> cli modules with multiple index configs:
|
532
|
+
> - pgvector: vectordb_bench/backend/clients/pgvector/cli.py
|
533
|
+
> - milvus: vectordb_bench/backend/clients/milvus/cli.py
|
534
|
+
|
321
535
|
That's it! You have successfully added a new DB client to the vectordb_bench project.
|
322
536
|
|
323
537
|
## Rules
|
@@ -0,0 +1,115 @@
|
|
1
|
+
vectordb_bench/__init__.py,sha256=ve51Dlz8wzVd9b_07JFYyYJqojOdOZs5OEh7JYiMCu0,2142
|
2
|
+
vectordb_bench/__main__.py,sha256=YJOTn5MlbmLyr3PRsecY6fj7igHLB6_D3y1HwF_sO20,848
|
3
|
+
vectordb_bench/base.py,sha256=d34WCGXZI1u5RGQtqrPHd3HbOF5AmioFrM2j30Aj1sY,130
|
4
|
+
vectordb_bench/interface.py,sha256=ZT3pseyq--TuxtopdP2hRut-6vIInKo62pvAl2zBD10,9708
|
5
|
+
vectordb_bench/log_util.py,sha256=nMnW-sN24WyURcI07t-WA3q2N5R-YIvFgboRsSrNJDg,2906
|
6
|
+
vectordb_bench/metric.py,sha256=osb58NvGGmqs3EKTfFujO7Qq5fAhGO9AOkCsziKgEUs,1976
|
7
|
+
vectordb_bench/models.py,sha256=4gYab91Kt5S-fzB6sw_ZCcNUZDETD5RjNb1axIic_ys,9794
|
8
|
+
vectordb_bench/backend/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
9
|
+
vectordb_bench/backend/assembler.py,sha256=mmoLzWXFSlrpWvaVY41wiRNWNv2IR-LzlANX55MJbYI,2028
|
10
|
+
vectordb_bench/backend/cases.py,sha256=lQ9jgKaJGunj-mJXR3cgGt16wCsrDrvs-GS3ycTDk0U,16169
|
11
|
+
vectordb_bench/backend/data_source.py,sha256=j4-eD0nIe7Y6fSM5WKEij3GfhyU_YOQ3L5Tyl-1GxX0,5446
|
12
|
+
vectordb_bench/backend/dataset.py,sha256=WHHNDIOrO6eyU3LsW4SxDeZT-_u0dMFwKigNB5kWMk0,8764
|
13
|
+
vectordb_bench/backend/result_collector.py,sha256=jdQf5-q1z5y07SKy9Sig1wFROmm-p9x_Y81fId0sjaU,807
|
14
|
+
vectordb_bench/backend/task_runner.py,sha256=Y1HYWvWlIo_4pe0EMLuAN8bWj2xhqfbw59afbCmZeAI,11855
|
15
|
+
vectordb_bench/backend/utils.py,sha256=2UixYyfKvl8zRiashywB1l6hTI3jMtiZhiVm_bXHV1Y,1811
|
16
|
+
vectordb_bench/backend/clients/__init__.py,sha256=sD7Q-T8xhn-TTEZ0rVIrT-Bw6kL-gFsArO8UleoDkgA,5071
|
17
|
+
vectordb_bench/backend/clients/api.py,sha256=YQlvABf8KfXcDpJzFglQKmFN3zmJuFKG4ihabxYIrDU,5634
|
18
|
+
vectordb_bench/backend/clients/aws_opensearch/aws_opensearch.py,sha256=BOPJajcYUjPFjztV2lY1UI-uIoxn94OG-P2eCRcESh8,5687
|
19
|
+
vectordb_bench/backend/clients/aws_opensearch/cli.py,sha256=v1bGoovgokhIGN5tZwb_MrP4af7BfXYQaOpDuy0Ibh0,1327
|
20
|
+
vectordb_bench/backend/clients/aws_opensearch/config.py,sha256=aknkmZDC5Rye8hLDMX-6sKINn6uEL9o4iSKCwFxlSyM,1605
|
21
|
+
vectordb_bench/backend/clients/aws_opensearch/run.py,sha256=X8xHjOM-cEmnX9zJsd6SowEcweC1a2WcE82zLqZ19K0,3561
|
22
|
+
vectordb_bench/backend/clients/chroma/chroma.py,sha256=Rg-GVWSDLdw32XfltJQlS3JHtNX1BJYDHxTSy086tKA,3739
|
23
|
+
vectordb_bench/backend/clients/chroma/config.py,sha256=7Tp_di0cdBsh4kX-IijTLsmFK2JJpcrXP2K6e24OUGc,345
|
24
|
+
vectordb_bench/backend/clients/elastic_cloud/config.py,sha256=xkaBNtsayByelVLda8LiSEwxjQjESpijJ8IFOh03f_0,1598
|
25
|
+
vectordb_bench/backend/clients/elastic_cloud/elastic_cloud.py,sha256=rWHthqGEpYwwka-0bsjyWfCwTAsYKNPvB17qe0Z1VDQ,5709
|
26
|
+
vectordb_bench/backend/clients/milvus/cli.py,sha256=QqzYIOeUSXEvdLH0_YUMhwDHUDJirTNKeUxrJQIqSdw,8506
|
27
|
+
vectordb_bench/backend/clients/milvus/config.py,sha256=AZ4QHoufRIjsX2eVrtnug8SeYnuHeBMna_34OQNFxz0,6847
|
28
|
+
vectordb_bench/backend/clients/milvus/milvus.py,sha256=BzOySmlYCQnNScazK9XBjKPh3X99jZSm0W3-IigRAYY,7653
|
29
|
+
vectordb_bench/backend/clients/pgvecto_rs/config.py,sha256=scdEXN6RT4yGA5j8fXSAooAvB550WQQ1JnN7SBQCUZM,3648
|
30
|
+
vectordb_bench/backend/clients/pgvecto_rs/pgvecto_rs.py,sha256=Od9g1wIhgslXBavEwCV8-LYsclqOJB3OwpeU6ZA265k,6195
|
31
|
+
vectordb_bench/backend/clients/pgvector/cli.py,sha256=4fDweywfb57dzf0HzQuNk_2Xutjo_XKi91mHIuYOBQM,3582
|
32
|
+
vectordb_bench/backend/clients/pgvector/config.py,sha256=jbSPXd2SiFTwuRzEzN_c7oShtb2Fz-hy2VM5lI-bIGw,7202
|
33
|
+
vectordb_bench/backend/clients/pgvector/pgvector.py,sha256=FtCvhjAr8kYnLLyBLHy3jLuMYH14dSJo3zUt6_mT6T0,12500
|
34
|
+
vectordb_bench/backend/clients/pinecone/config.py,sha256=4WvMu-9zxgoGfP5GPb7hpW-PRYEORADhlQvMa8JJh8k,384
|
35
|
+
vectordb_bench/backend/clients/pinecone/pinecone.py,sha256=U31QbXLuTcNPp7PK24glE6LM23-YpbxK_Kj-NmEwoZY,4078
|
36
|
+
vectordb_bench/backend/clients/qdrant_cloud/config.py,sha256=jk6gLcjZnjV0kQlc4RrrcXyekF6qkwzgWOYD3Mm8AOU,1385
|
37
|
+
vectordb_bench/backend/clients/qdrant_cloud/qdrant_cloud.py,sha256=lgMPwP37A-NQWHtxL58qojsUcL68EtrH_0Xk_hrs7OY,5224
|
38
|
+
vectordb_bench/backend/clients/redis/cli.py,sha256=xlbXcQhLyZbsFvt9XhgGehAw4a3BFblnkUt4rBCUvgk,1991
|
39
|
+
vectordb_bench/backend/clients/redis/config.py,sha256=8DBtsMRjuAJ0Vy5wsrKOkt35xcRFA8L-xTYoErk0Bzc,351
|
40
|
+
vectordb_bench/backend/clients/redis/redis.py,sha256=35g9KPL8_zGeo7eYdYRaabq5dlkDXwMQ9TD8YsVser0,5976
|
41
|
+
vectordb_bench/backend/clients/test/cli.py,sha256=8TByn_5OhO_rMyJV1vdRmKYbtsrXXyFK1hh3Ii2QOhw,552
|
42
|
+
vectordb_bench/backend/clients/test/config.py,sha256=1olqOWmkcucyd3EMMSkCT-0lbPyf4v5RHfTsGMuWSvc,412
|
43
|
+
vectordb_bench/backend/clients/test/test.py,sha256=b9-LOih079Lj_CMcZyno1vpKaU_Fooi8lpY3rF-3BsU,1479
|
44
|
+
vectordb_bench/backend/clients/weaviate_cloud/cli.py,sha256=i8evyzTPFEgnevYYe46ZOjpFOYd3IpZ5Q-wVeuh_vgk,1060
|
45
|
+
vectordb_bench/backend/clients/weaviate_cloud/config.py,sha256=jFhZ9cwMRoLxppR4udboSc4EPO-bnv5A5ITR9akevHE,1247
|
46
|
+
vectordb_bench/backend/clients/weaviate_cloud/weaviate_cloud.py,sha256=QWXXSE02iZOOHy2fcBjJPYwGP5d4qnFvh9ha_2FAQZI,4991
|
47
|
+
vectordb_bench/backend/clients/zilliz_cloud/cli.py,sha256=V8XnjrM4IOexqJksQCBgEYyYfQJPXouKeTthEAVRlYU,1569
|
48
|
+
vectordb_bench/backend/clients/zilliz_cloud/config.py,sha256=3Tk7X4r0n2SLzan110xlF63otVGjCKe28CVDfCEI04c,910
|
49
|
+
vectordb_bench/backend/clients/zilliz_cloud/zilliz_cloud.py,sha256=4JcwiVEJcdEykW6n471nfHeIlmhIDa-gOZ7G5H_4krY,681
|
50
|
+
vectordb_bench/backend/runner/__init__.py,sha256=5dZfPky8pY9Bi9HD5GZ3Fge8V2FJWrkGkQUkNL2v1t0,230
|
51
|
+
vectordb_bench/backend/runner/mp_runner.py,sha256=FWhCU6y97cxbJSSBfHWcif7t4ew6SOmP3d94C1vKvfg,5406
|
52
|
+
vectordb_bench/backend/runner/serial_runner.py,sha256=ku1Dtps9JcmwCwZq7eDw0pcP9IN2Zjjg-1VJumXYJpA,9414
|
53
|
+
vectordb_bench/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
54
|
+
vectordb_bench/cli/cli.py,sha256=M6LE3hqmnt7QYrhm2KU2-kFQRpRp86GwkKXHc-XLeHo,10850
|
55
|
+
vectordb_bench/cli/vectordbbench.py,sha256=-C5HwhpPzHLskPJjRGCuOnuZzthFxwdDWy2YAxAPtCY,648
|
56
|
+
vectordb_bench/config-files/sample_config.yml,sha256=yw9ZgHczNi9PedNuTVxZKiOTI6AVoQS1h8INNgoDjPk,340
|
57
|
+
vectordb_bench/custom/custom_case.json,sha256=uKo7NJgXDPPLtf_V6y1uc5w1aIcjLp-GCJEYOCty1As,475
|
58
|
+
vectordb_bench/frontend/utils.py,sha256=jCyfk0QyLl3RLh-1MBRbBy6aep9hO32ScJCDYA2kaZU,489
|
59
|
+
vectordb_bench/frontend/vdb_benchmark.py,sha256=TQqpx111ac2ofuMakfDhNhX2zgFSyFY_IrrIi0H8E7s,1658
|
60
|
+
vectordb_bench/frontend/components/check_results/charts.py,sha256=VDQSmfWxjE80w4DA_KXpDhRsPzK8qOPeR7Krvn0mNMI,5122
|
61
|
+
vectordb_bench/frontend/components/check_results/data.py,sha256=FG7CYvx_4iKCL1VV4WITskzHhKeNwrukgyTwrD_c6FA,3353
|
62
|
+
vectordb_bench/frontend/components/check_results/expanderStyle.py,sha256=XLnJlDai8A8TQhr2iYQpZXIB31YUrrjrmFvLFHT5uOg,1299
|
63
|
+
vectordb_bench/frontend/components/check_results/filters.py,sha256=oJNBLsx4q9tP2-PdsYqZnZTHTBAmrVgV-VWV_mMF5GA,4479
|
64
|
+
vectordb_bench/frontend/components/check_results/footer.py,sha256=Nh1RzorDg-8R5ewp_UGFnUqWaAEZ7xZ1RpqHDew1mGY,395
|
65
|
+
vectordb_bench/frontend/components/check_results/headerIcon.py,sha256=0uvvSe-oroh58iKzyXeNch0z2Xh7n-plKIGRUmwYnH4,434
|
66
|
+
vectordb_bench/frontend/components/check_results/nav.py,sha256=DQl74rujw70ayh37PQaiO4AdtVZ95-OtTMEtw_Ui7hE,685
|
67
|
+
vectordb_bench/frontend/components/check_results/priceTable.py,sha256=n7OLXfG95CECPR9lQuK_7HXd3jjprmuk8EHgJ8hcth4,1309
|
68
|
+
vectordb_bench/frontend/components/check_results/stPageConfig.py,sha256=vHDHS3qwAbOAQ-Zvz3DftUiKJS4Xs109172aWUmzOt0,430
|
69
|
+
vectordb_bench/frontend/components/concurrent/charts.py,sha256=6Y-9Q9tHcfB4ndA0234cfkyvGJIiMGK_a_m1_bPRxpE,2195
|
70
|
+
vectordb_bench/frontend/components/custom/displayCustomCase.py,sha256=oZfvtiCWr3VnHdvXgcf5YoqvtPWsfMN-YOT7KKoIxp4,1613
|
71
|
+
vectordb_bench/frontend/components/custom/displaypPrams.py,sha256=pxpHgnyGItxkwbajI8qIun0YBY23ZZAvsnK5z7_g5p4,1321
|
72
|
+
vectordb_bench/frontend/components/custom/getCustomConfig.py,sha256=P0WCMla2hmzeDcsHju6gFMQrugsBzajAVSYtBZTEwWg,1050
|
73
|
+
vectordb_bench/frontend/components/custom/initStyle.py,sha256=J9aLRHM1hjfgsguxs2b8a5vKtLyEmTMzY0m6M895AMU,433
|
74
|
+
vectordb_bench/frontend/components/get_results/saveAsImage.py,sha256=MdQCqjrX5rQyK34XfTkVykVLOcOouIz4enMR1P5GBiY,1457
|
75
|
+
vectordb_bench/frontend/components/run_test/autoRefresh.py,sha256=mjIa43VQQmNjYPkEbOtKNlJ1UfGPcqRKvc2Jh4kx8U0,289
|
76
|
+
vectordb_bench/frontend/components/run_test/caseSelector.py,sha256=b86Y3AMSrlJuFE-Z0cS22HpTbKlfYZf8CV705ciNJFs,4551
|
77
|
+
vectordb_bench/frontend/components/run_test/dbConfigSetting.py,sha256=eApLpV_E5nmRuj2nJxL-QWHevSswyOpB4ZUlAOwd0oE,1928
|
78
|
+
vectordb_bench/frontend/components/run_test/dbSelector.py,sha256=61eAW3a4RdEEwF4qNxlfb2FLZMfGFO683f3XDVMSNxY,1128
|
79
|
+
vectordb_bench/frontend/components/run_test/generateTasks.py,sha256=52hlpyB2_Sz3kygWc5jV-jfGBvXhUQh0as18t-pkGmw,773
|
80
|
+
vectordb_bench/frontend/components/run_test/hideSidebar.py,sha256=vb5kzIMmbMqWX67qFEHek21X4sGO_tPyn_uPqUEtp3Q,234
|
81
|
+
vectordb_bench/frontend/components/run_test/initStyle.py,sha256=J4slnZNyuAT00u0Ic5O64TdV4RfH_rAiwpWed7Jrhes,516
|
82
|
+
vectordb_bench/frontend/components/run_test/submitTask.py,sha256=NCEXfR3xudAncjVEvsV2iaiov5AatGObe830UI6481M,3341
|
83
|
+
vectordb_bench/frontend/components/tables/data.py,sha256=pVG_hb4bTMLfUt10NUCJSqcFkPmnN7i9jTw9DcWizpI,1364
|
84
|
+
vectordb_bench/frontend/config/dbCaseConfigs.py,sha256=TfzeQDrdZj_d7AEGYdb6VaE8vaCgzlpIgB6qIgwN45Q,21452
|
85
|
+
vectordb_bench/frontend/config/dbPrices.py,sha256=10aBKjVcEg8y7TPSda28opmBM1KmXNrvbU9WM_BsZcE,176
|
86
|
+
vectordb_bench/frontend/config/styles.py,sha256=E2PmwmiewxBKJJ59hQ4ZXatqg8QTN-Z53JlsvWMHM2M,2291
|
87
|
+
vectordb_bench/frontend/pages/concurrent.py,sha256=yK62Tjto8G9ObvLy0JSVLq9fqDMy_D3oAEGZw2Te4gU,1958
|
88
|
+
vectordb_bench/frontend/pages/custom.py,sha256=BYQuWa7_OQz0wnDvh0LiXzjevmDpO2BbSIuF1_Z_39M,2234
|
89
|
+
vectordb_bench/frontend/pages/quries_per_dollar.py,sha256=vAleDCyRK_KWiBjfX6VfvKfped2cZqhOptmFeY3p6qg,2433
|
90
|
+
vectordb_bench/frontend/pages/run_test.py,sha256=b1NoMhFA3MmUyItkofh3xozvo1vAqywXKOsoWdIWmRU,2161
|
91
|
+
vectordb_bench/frontend/pages/tables.py,sha256=VfBzgrgHe68gbSh4MrmVx61l5bQSNOQNrq8xmPlG00c,566
|
92
|
+
vectordb_bench/results/dbPrices.json,sha256=VoaOjqbWyTdEMLXuzerL5xR46QbxOWFmxCf2mPhjJV4,576
|
93
|
+
vectordb_bench/results/getLeaderboardData.py,sha256=cs4OQMjYvyZzUzVIBVJUEZk12C2Vx0ESx0nl4kncd04,1761
|
94
|
+
vectordb_bench/results/leaderboard.json,sha256=N1yPKoiz2GJ8SrGvhV7WDDlBgTxtJ1GpQwq4Kec5ExA,66580
|
95
|
+
vectordb_bench/results/ElasticCloud/result_20230727_standard_elasticcloud.json,sha256=IyJKjHGwTCcqKJAaBgfI_hhvMIGrXMl8S9Z2-19BvEE,5807
|
96
|
+
vectordb_bench/results/ElasticCloud/result_20230808_standard_elasticcloud.json,sha256=sx_B3lbWICcMrePiYqeoJ179pwHD2l78bMf2B880QI0,4431
|
97
|
+
vectordb_bench/results/Milvus/result_20230727_standard_milvus.json,sha256=WjFZDVDiMv9ssypbrsemL27zuxzLGBwULTHXGZDKeyk,15916
|
98
|
+
vectordb_bench/results/Milvus/result_20230808_standard_milvus.json,sha256=d8lwrRV5P3hAfooXj-IECnWAhGMCkWH5_xztFHcb9ys,14647
|
99
|
+
vectordb_bench/results/PgVector/result_20230727_standard_pgvector.json,sha256=gIc05u344PkZf78Dxi8zo0_sjPuKEw9PMXqAOVxzlOo,5686
|
100
|
+
vectordb_bench/results/PgVector/result_20230808_standard_pgvector.json,sha256=vy2wTympKzQae5_fFp7zZ4dsgo607P5phCjqu2lOm3E,4323
|
101
|
+
vectordb_bench/results/Pinecone/result_20230727_standard_pinecone.json,sha256=j9AgPgFwac9IPDnzgfsmiBOcbqM20c9J-OcaRJmf7wo,24938
|
102
|
+
vectordb_bench/results/Pinecone/result_20230808_standard_pinecone.json,sha256=ccQaH5nHcF8MbVb4wOmRtml5PlxRoEOQ-OLEVZ496c4,21387
|
103
|
+
vectordb_bench/results/QdrantCloud/result_20230727_standard_qdrantcloud.json,sha256=2GaPFRiufjLFxx2yekTqLqwJnsga5urNKa16zdZrQng,11187
|
104
|
+
vectordb_bench/results/QdrantCloud/result_20230808_standard_qdrantcloud.json,sha256=tZjJSku1w4IqU-5T0LvxFfDPjf_9e0yCzMG-coiSniM,10241
|
105
|
+
vectordb_bench/results/WeaviateCloud/result_20230727_standard_weaviatecloud.json,sha256=WBlfjmbO3R4G6F4lDuneEigffUyTU7ti1SyWoff3oNI,15497
|
106
|
+
vectordb_bench/results/WeaviateCloud/result_20230808_standard_weaviatecloud.json,sha256=lXjudo-l-6H0EOIemoB5n4GddOOHJnwndrGwCJIH-EY,7865
|
107
|
+
vectordb_bench/results/ZillizCloud/result_20230727_standard_zillizcloud.json,sha256=wzrlCEsqaoy4EujDNeLebCKZIC__aXNe2NhFDEdewKo,17398
|
108
|
+
vectordb_bench/results/ZillizCloud/result_20230808_standard_zillizcloud.json,sha256=G44g4aTJfeC0FyqosPEtaC-iy8JUX-bVpnA6dn0iiYU,14969
|
109
|
+
vectordb_bench/results/ZillizCloud/result_20240105_standard_202401_zillizcloud.json,sha256=5R5PGJheoCOksx9uOXeSu8Z24Zc6Xp9LUkgJ-OzGAtM,41007
|
110
|
+
vectordb_bench-0.0.12.dist-info/LICENSE,sha256=HXbxhrb5u5SegVzeLNF_voVgRsJMavcLaOmD1N0lZkM,1067
|
111
|
+
vectordb_bench-0.0.12.dist-info/METADATA,sha256=w5ai1xAz6vVUJR_sHjMC9KxCLiQj974erhx09gXSXrU,32446
|
112
|
+
vectordb_bench-0.0.12.dist-info/WHEEL,sha256=FZ75kcLy9M91ncbIgG8dnpCncbiKXSRGJ_PFILs6SFg,91
|
113
|
+
vectordb_bench-0.0.12.dist-info/entry_points.txt,sha256=Qzw6gVx96ui8esG21H6yHsI6nboEohRmV424TYhQNrA,113
|
114
|
+
vectordb_bench-0.0.12.dist-info/top_level.txt,sha256=jnhZFZAuKX1J60yt-XOeBZ__ctiZMvoC_s0RFq29lpM,15
|
115
|
+
vectordb_bench-0.0.12.dist-info/RECORD,,
|
@@ -1,88 +0,0 @@
|
|
1
|
-
vectordb_bench/__init__.py,sha256=ERsLye3zn0w1tUyEm-_bpLj4waF7c3P905hG04GOS9w,1669
|
2
|
-
vectordb_bench/__main__.py,sha256=YJOTn5MlbmLyr3PRsecY6fj7igHLB6_D3y1HwF_sO20,848
|
3
|
-
vectordb_bench/base.py,sha256=d34WCGXZI1u5RGQtqrPHd3HbOF5AmioFrM2j30Aj1sY,130
|
4
|
-
vectordb_bench/interface.py,sha256=7-nIr9oSDRfkbFDLJW0iZHCa7ItFG9O2TQAS7wHvWfk,9645
|
5
|
-
vectordb_bench/log_util.py,sha256=nMnW-sN24WyURcI07t-WA3q2N5R-YIvFgboRsSrNJDg,2906
|
6
|
-
vectordb_bench/metric.py,sha256=-SAcUm2m0OkHcph2QZusx-wZh8wCTrrHMy1Kv0WWL2w,1332
|
7
|
-
vectordb_bench/models.py,sha256=MOxNLVaU-5GZ-2_X2fCNEyLEKVCLuqNQJNLgjzDOvYI,8755
|
8
|
-
vectordb_bench/backend/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
9
|
-
vectordb_bench/backend/assembler.py,sha256=W03o8xaOoa5CTBr5586nIzm4sEJ4a-85sfcEG-d60VY,2000
|
10
|
-
vectordb_bench/backend/cases.py,sha256=3Ektg8VzU9FESgkwoh0tz6JYDIjhGarnKhIcaMczu5k,13570
|
11
|
-
vectordb_bench/backend/data_source.py,sha256=j4-eD0nIe7Y6fSM5WKEij3GfhyU_YOQ3L5Tyl-1GxX0,5446
|
12
|
-
vectordb_bench/backend/dataset.py,sha256=E-ZdYNXwCN3Fa4b_9rvhbiJgPLiKXQmi_fqZk0r7AHk,8295
|
13
|
-
vectordb_bench/backend/result_collector.py,sha256=jdQf5-q1z5y07SKy9Sig1wFROmm-p9x_Y81fId0sjaU,807
|
14
|
-
vectordb_bench/backend/task_runner.py,sha256=LLfnsIDDXGTbHKtQlsjWWJop6ouFEFMQuZsqurLDkMI,9526
|
15
|
-
vectordb_bench/backend/utils.py,sha256=2UixYyfKvl8zRiashywB1l6hTI3jMtiZhiVm_bXHV1Y,1811
|
16
|
-
vectordb_bench/backend/clients/__init__.py,sha256=vYN2PZo1-zeO2kN-WRndxo2-BzmpOTLSGw8nUXTXvxI,4582
|
17
|
-
vectordb_bench/backend/clients/api.py,sha256=U4jdrwkZpiOvvOc5BSylbnvc1n-O1bn5ucYIrGIKBuM,5640
|
18
|
-
vectordb_bench/backend/clients/chroma/chroma.py,sha256=Rg-GVWSDLdw32XfltJQlS3JHtNX1BJYDHxTSy086tKA,3739
|
19
|
-
vectordb_bench/backend/clients/chroma/config.py,sha256=7Tp_di0cdBsh4kX-IijTLsmFK2JJpcrXP2K6e24OUGc,345
|
20
|
-
vectordb_bench/backend/clients/elastic_cloud/config.py,sha256=xkaBNtsayByelVLda8LiSEwxjQjESpijJ8IFOh03f_0,1598
|
21
|
-
vectordb_bench/backend/clients/elastic_cloud/elastic_cloud.py,sha256=rWHthqGEpYwwka-0bsjyWfCwTAsYKNPvB17qe0Z1VDQ,5709
|
22
|
-
vectordb_bench/backend/clients/milvus/config.py,sha256=AZ4QHoufRIjsX2eVrtnug8SeYnuHeBMna_34OQNFxz0,6847
|
23
|
-
vectordb_bench/backend/clients/milvus/milvus.py,sha256=rQ2SFtix0RCzIQ-0v07un9I2O8TqR2JNTX0QgakI2Wk,7235
|
24
|
-
vectordb_bench/backend/clients/pgvecto_rs/config.py,sha256=scdEXN6RT4yGA5j8fXSAooAvB550WQQ1JnN7SBQCUZM,3648
|
25
|
-
vectordb_bench/backend/clients/pgvecto_rs/pgvecto_rs.py,sha256=Od9g1wIhgslXBavEwCV8-LYsclqOJB3OwpeU6ZA265k,6195
|
26
|
-
vectordb_bench/backend/clients/pgvector/config.py,sha256=p4Dlp9PXXSCY3gtSTzZzQO8-PAl7kixp_wID9Nu4CNs,7206
|
27
|
-
vectordb_bench/backend/clients/pgvector/pgvector.py,sha256=MAGmnMmP_LYRYs3zVjHezeOBEod1XiOuS45nqWtOgvo,12496
|
28
|
-
vectordb_bench/backend/clients/pinecone/config.py,sha256=4WvMu-9zxgoGfP5GPb7hpW-PRYEORADhlQvMa8JJh8k,384
|
29
|
-
vectordb_bench/backend/clients/pinecone/pinecone.py,sha256=U31QbXLuTcNPp7PK24glE6LM23-YpbxK_Kj-NmEwoZY,4078
|
30
|
-
vectordb_bench/backend/clients/qdrant_cloud/config.py,sha256=jk6gLcjZnjV0kQlc4RrrcXyekF6qkwzgWOYD3Mm8AOU,1385
|
31
|
-
vectordb_bench/backend/clients/qdrant_cloud/qdrant_cloud.py,sha256=lgMPwP37A-NQWHtxL58qojsUcL68EtrH_0Xk_hrs7OY,5224
|
32
|
-
vectordb_bench/backend/clients/redis/config.py,sha256=8DBtsMRjuAJ0Vy5wsrKOkt35xcRFA8L-xTYoErk0Bzc,351
|
33
|
-
vectordb_bench/backend/clients/redis/redis.py,sha256=35g9KPL8_zGeo7eYdYRaabq5dlkDXwMQ9TD8YsVser0,5976
|
34
|
-
vectordb_bench/backend/clients/weaviate_cloud/config.py,sha256=jFhZ9cwMRoLxppR4udboSc4EPO-bnv5A5ITR9akevHE,1247
|
35
|
-
vectordb_bench/backend/clients/weaviate_cloud/weaviate_cloud.py,sha256=QWXXSE02iZOOHy2fcBjJPYwGP5d4qnFvh9ha_2FAQZI,4991
|
36
|
-
vectordb_bench/backend/clients/zilliz_cloud/config.py,sha256=3Tk7X4r0n2SLzan110xlF63otVGjCKe28CVDfCEI04c,910
|
37
|
-
vectordb_bench/backend/clients/zilliz_cloud/zilliz_cloud.py,sha256=4JcwiVEJcdEykW6n471nfHeIlmhIDa-gOZ7G5H_4krY,681
|
38
|
-
vectordb_bench/backend/runner/__init__.py,sha256=5dZfPky8pY9Bi9HD5GZ3Fge8V2FJWrkGkQUkNL2v1t0,230
|
39
|
-
vectordb_bench/backend/runner/mp_runner.py,sha256=NEyDeim_lRbSNBbseUHZQzt12DwLMibCD1N4od6zQe0,4809
|
40
|
-
vectordb_bench/backend/runner/serial_runner.py,sha256=LVmhv2qIuCU_v85CrWWiKKVfZUx5wmB0__HbO8HeQgo,9168
|
41
|
-
vectordb_bench/frontend/utils.py,sha256=BzKR1kMX1ErlXAzkFUb06O2mIcxBbquRzJtxoHgRnKs,162
|
42
|
-
vectordb_bench/frontend/vdb_benchmark.py,sha256=z9VCsMp2Ra43J-oFXRsX98Ww3Xq_koUpZ9PEZoU5qws,1649
|
43
|
-
vectordb_bench/frontend/components/check_results/charts.py,sha256=zbtEyUSk2FJbSlaGw1LH4boSljFXfhVZlC8rrIgVw_4,5113
|
44
|
-
vectordb_bench/frontend/components/check_results/data.py,sha256=cuCvXTarZzh_7XZ1SWUJd4gLAo78Yn9RBJ4VZpQRkFQ,3192
|
45
|
-
vectordb_bench/frontend/components/check_results/expanderStyle.py,sha256=dETG2-smcWntQTARUXzbSv90Py5yN74mGXoBGn4loow,1295
|
46
|
-
vectordb_bench/frontend/components/check_results/filters.py,sha256=41KXtVyC1BMGRXh3OoHodMXNw3eZLQHSzNZ91eviIk4,4225
|
47
|
-
vectordb_bench/frontend/components/check_results/footer.py,sha256=Nh1RzorDg-8R5ewp_UGFnUqWaAEZ7xZ1RpqHDew1mGY,395
|
48
|
-
vectordb_bench/frontend/components/check_results/headerIcon.py,sha256=Q0mbnav2FWaRkEb8QT2ACjiJjSoyioRZPfv-StQ4DVk,433
|
49
|
-
vectordb_bench/frontend/components/check_results/nav.py,sha256=DQl74rujw70ayh37PQaiO4AdtVZ95-OtTMEtw_Ui7hE,685
|
50
|
-
vectordb_bench/frontend/components/check_results/priceTable.py,sha256=E7sxhSCjkBOMlQFHe6zFizhQLsJ-mUcXUbNj4FpqSUE,1308
|
51
|
-
vectordb_bench/frontend/components/check_results/stPageConfig.py,sha256=rAL2prWx0hT7Q3QWz6ALyKUMNladX6U48GlKvVq3DFA,429
|
52
|
-
vectordb_bench/frontend/components/get_results/saveAsImage.py,sha256=MdQCqjrX5rQyK34XfTkVykVLOcOouIz4enMR1P5GBiY,1457
|
53
|
-
vectordb_bench/frontend/components/run_test/autoRefresh.py,sha256=ofsl2sdmBd2y9O_xaJDr58NPycJsDwCdf2rEyE_f6e8,288
|
54
|
-
vectordb_bench/frontend/components/run_test/caseSelector.py,sha256=B1rtbSDlzPHbdPK52mxFf3FbF4qYs1J9YNYdSnTxCRg,3945
|
55
|
-
vectordb_bench/frontend/components/run_test/dbConfigSetting.py,sha256=hoelDzXP-J2EmzvgGh6Euk7uBfu9iw0YGM7lxjo0cb8,2074
|
56
|
-
vectordb_bench/frontend/components/run_test/dbSelector.py,sha256=r8ABYpu6aWA94FiQxB0g75n7jU_mOFY5nYcHkKQ8e8g,1242
|
57
|
-
vectordb_bench/frontend/components/run_test/generateTasks.py,sha256=9r1vb03FMSJ_vG4px_wHMKMB_RWaKv6ttv0FptsytgA,812
|
58
|
-
vectordb_bench/frontend/components/run_test/hideSidebar.py,sha256=vb5kzIMmbMqWX67qFEHek21X4sGO_tPyn_uPqUEtp3Q,234
|
59
|
-
vectordb_bench/frontend/components/run_test/submitTask.py,sha256=4W-wvrnwPZjEAyHjeLtahLE8-Ekjw2wYNX5aAXZbark,3050
|
60
|
-
vectordb_bench/frontend/const/dbCaseConfigs.py,sha256=dxKTrLeKXoizTu7dKxOZjH4ZdhHr-YuDYp6Xvbe652A,18345
|
61
|
-
vectordb_bench/frontend/const/dbPrices.py,sha256=10aBKjVcEg8y7TPSda28opmBM1KmXNrvbU9WM_BsZcE,176
|
62
|
-
vectordb_bench/frontend/const/styles.py,sha256=B2ycRJ6CHBzew8B2P7z9nnzY-20W5SlggXLI2olfxac,2174
|
63
|
-
vectordb_bench/frontend/pages/quries_per_dollar.py,sha256=SpXwKwdarwPz7RtF_qxyODfwARBb3VI9iKElYtnwEVs,2422
|
64
|
-
vectordb_bench/frontend/pages/run_test.py,sha256=nkXTVBauuCgkJ6WRSQ_-qa83RAmc0Z3VH2uTDrNCQL8,2045
|
65
|
-
vectordb_bench/results/dbPrices.json,sha256=VoaOjqbWyTdEMLXuzerL5xR46QbxOWFmxCf2mPhjJV4,576
|
66
|
-
vectordb_bench/results/getLeaderboardData.py,sha256=viQ4iSDwI5BM0eNGy9p2kEuXsmGhW3oaUo0eK9F087s,1760
|
67
|
-
vectordb_bench/results/leaderboard.json,sha256=N1yPKoiz2GJ8SrGvhV7WDDlBgTxtJ1GpQwq4Kec5ExA,66580
|
68
|
-
vectordb_bench/results/ElasticCloud/result_20230727_standard_elasticcloud.json,sha256=IyJKjHGwTCcqKJAaBgfI_hhvMIGrXMl8S9Z2-19BvEE,5807
|
69
|
-
vectordb_bench/results/ElasticCloud/result_20230808_standard_elasticcloud.json,sha256=sx_B3lbWICcMrePiYqeoJ179pwHD2l78bMf2B880QI0,4431
|
70
|
-
vectordb_bench/results/Milvus/result_20230727_standard_milvus.json,sha256=WjFZDVDiMv9ssypbrsemL27zuxzLGBwULTHXGZDKeyk,15916
|
71
|
-
vectordb_bench/results/Milvus/result_20230808_standard_milvus.json,sha256=d8lwrRV5P3hAfooXj-IECnWAhGMCkWH5_xztFHcb9ys,14647
|
72
|
-
vectordb_bench/results/PgVector/result_20230727_standard_pgvector.json,sha256=gIc05u344PkZf78Dxi8zo0_sjPuKEw9PMXqAOVxzlOo,5686
|
73
|
-
vectordb_bench/results/PgVector/result_20230808_standard_pgvector.json,sha256=vy2wTympKzQae5_fFp7zZ4dsgo607P5phCjqu2lOm3E,4323
|
74
|
-
vectordb_bench/results/Pinecone/result_20230727_standard_pinecone.json,sha256=j9AgPgFwac9IPDnzgfsmiBOcbqM20c9J-OcaRJmf7wo,24938
|
75
|
-
vectordb_bench/results/Pinecone/result_20230808_standard_pinecone.json,sha256=ccQaH5nHcF8MbVb4wOmRtml5PlxRoEOQ-OLEVZ496c4,21387
|
76
|
-
vectordb_bench/results/QdrantCloud/result_20230727_standard_qdrantcloud.json,sha256=2GaPFRiufjLFxx2yekTqLqwJnsga5urNKa16zdZrQng,11187
|
77
|
-
vectordb_bench/results/QdrantCloud/result_20230808_standard_qdrantcloud.json,sha256=tZjJSku1w4IqU-5T0LvxFfDPjf_9e0yCzMG-coiSniM,10241
|
78
|
-
vectordb_bench/results/WeaviateCloud/result_20230727_standard_weaviatecloud.json,sha256=WBlfjmbO3R4G6F4lDuneEigffUyTU7ti1SyWoff3oNI,15497
|
79
|
-
vectordb_bench/results/WeaviateCloud/result_20230808_standard_weaviatecloud.json,sha256=lXjudo-l-6H0EOIemoB5n4GddOOHJnwndrGwCJIH-EY,7865
|
80
|
-
vectordb_bench/results/ZillizCloud/result_20230727_standard_zillizcloud.json,sha256=wzrlCEsqaoy4EujDNeLebCKZIC__aXNe2NhFDEdewKo,17398
|
81
|
-
vectordb_bench/results/ZillizCloud/result_20230808_standard_zillizcloud.json,sha256=G44g4aTJfeC0FyqosPEtaC-iy8JUX-bVpnA6dn0iiYU,14969
|
82
|
-
vectordb_bench/results/ZillizCloud/result_20240105_standard_202401_zillizcloud.json,sha256=5R5PGJheoCOksx9uOXeSu8Z24Zc6Xp9LUkgJ-OzGAtM,41007
|
83
|
-
vectordb_bench-0.0.10.dist-info/LICENSE,sha256=HXbxhrb5u5SegVzeLNF_voVgRsJMavcLaOmD1N0lZkM,1067
|
84
|
-
vectordb_bench-0.0.10.dist-info/METADATA,sha256=Cz5WR3qFzuwIsE-iF-clmc6ScH_Uzg0FlZOk3eBAobg,22682
|
85
|
-
vectordb_bench-0.0.10.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
86
|
-
vectordb_bench-0.0.10.dist-info/entry_points.txt,sha256=RVG6ppvzIsstAM199pDqeKu8lnxntjwYapn0smVQY7A,60
|
87
|
-
vectordb_bench-0.0.10.dist-info/top_level.txt,sha256=jnhZFZAuKX1J60yt-XOeBZ__ctiZMvoC_s0RFq29lpM,15
|
88
|
-
vectordb_bench-0.0.10.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|