vector_chem
Tanimoto distance for binary-valued pgvector vectors.
pgvector_chem · Tanimoto distance for binary-valued pgvector vectors.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102071 | vector_chem | pgvector_chem | 0.1.0 | RAG | PostgreSQL | C |
| Relationships | |
|---|---|
| Requires | vector |
Usage
Sources:
vector_chem adds Tanimoto/Jaccard distance to the pgvector type for dichotomous values. It exposes the <^> operator and tanimoto_distance function.
Core Workflow
Operational Boundaries
Install the matching pgvector library and enable vector first; the SQL uses its type even though the control omits the dependency. Installation requires superuser privileges. No preload is documented. Continuous-valued vectors and approximate-nearest-neighbor indexing are not supported by this extension; it is a scalar distance implementation.