Repository navigation
Conversation
|
/assign @XuanYang-cn |
64cf546 to
7103c37
Compare
|
Rebased onto Validation: |
… engine)
Telys accelerates FILTERED search by physical layout: the partition key is stored as a
contiguous slice, so `label == X` reads one block instead of scanning + masking the whole
table. The connector talks to a running `telys serve` (TCP) via the public telys SDK
(server-vs-server), partitioning by the label field so the label-filter case (StrEqual)
maps to Telys's single-key contiguous-partition wedge.
- backend/clients/telys/{telys.py,config.py,cli.py,__init__.py}: VectorDB connector + config + CLI
- registered in backend/clients/__init__.py (DB enum + init/config/case-config) and cli/vectordbbench.py
- frontend/config/styles.py: DB_TO_ICON + COLOR_MAP entries
- pyproject.toml: telys extra (pip install vectordb-bench[telys], telys>=0.1.0b3); README table
- supports NonFilter + StrEqual (label==value); NumGE (range) intentionally not declared;
cosine/IP only (need_normalize_cosine) — L2 datasets are rejected loudly
Validated end-to-end through VDBBench's real CaseRunner against a live telys serve:
Cohere-100K (768-d cosine, label-filter 1%) recall 1.0000, ndcg 1.0000, p99 1.5ms,
4099 qps @ concurrency 8; custom fixtures (unfiltered + label filters) recall 1.000.
|
Rebased onto current |
7103c37 to
a3510f4
Compare
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 0xamlab The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
# Conflicts: # vectordb_bench/cli/vectordbbench.py
VectorDBBench has no Telys client, so its standard cases cannot exercise a Telys server. This adds a client for a running
telys serveover TCP, plus its configuration and CLI registration, optionaltelysdependency, README install entry, and frontend styling.Labeled collections are partitioned by
labels, and equality filters become single-keywhereclauses; unfiltered collections use one constantscopepartition. Each concurrent runner opens its own connection. The filter translation is:Only
NonFilterandStrEqualare advertised;NumGEis not implemented. Cosine/IP uses the existing normalization path, while L2 is rejected because Telys ranks raw collections by inner product. A live Telys 0.1.14 insert/optimize/search run returned[0, 1]unfiltered and[0, 2]with the label filter.