@@ -30,7 +30,7 @@ Or check out some examples:
3030- [ Sentence embeddings] ( https://github.com/pgvector/pgvector-python/blob/master/examples/sentence_embeddings.py ) with SentenceTransformers
3131- [ Hybrid search] ( https://github.com/pgvector/pgvector-python/blob/master/examples/hybrid_search_rrf.py ) with SentenceTransformers (Reciprocal Rank Fusion)
3232- [ Hybrid search] ( https://github.com/pgvector/pgvector-python/blob/master/examples/hybrid_search.py ) with SentenceTransformers (cross-encoder)
33- - [ Sparse search] ( https://github.com/pgvector/pgvector-python/blob/master/examples/sparse_search.py ) with Transformers (unreleased)
33+ - [ Sparse search] ( https://github.com/pgvector/pgvector-python/blob/master/examples/sparse_search.py ) with Transformers
3434- [ Image search] ( https://github.com/pgvector/pgvector-python/blob/master/examples/pytorch_image_search.py ) with PyTorch
3535- [ Image search] ( https://github.com/pgvector/pgvector-python/blob/master/examples/hash_image_search.py ) with perceptual hashing
3636- [ Implicit feedback recommendations] ( https://github.com/pgvector/pgvector-python/blob/master/examples/implicit_recs.py ) with Implicit
@@ -61,7 +61,7 @@ class Item(models.Model):
6161 embedding = VectorField(dimensions = 3 )
6262```
6363
64- Also supports ` HalfVectorField ` (unreleased) , ` BitField ` (unreleased) , and ` SparseVectorField ` (unreleased)
64+ Also supports ` HalfVectorField ` , ` BitField ` , and ` SparseVectorField `
6565
6666Insert a vector
6767
@@ -78,7 +78,7 @@ from pgvector.django import L2Distance
7878Item.objects.order_by(L2Distance(' embedding' , [3 , 1 , 2 ]))[:5 ]
7979```
8080
81- Also supports ` MaxInnerProduct ` , ` CosineDistance ` , ` L1Distance ` (unreleased) , ` HammingDistance ` (unreleased) , and ` JaccardDistance ` (unreleased)
81+ Also supports ` MaxInnerProduct ` , ` CosineDistance ` , ` L1Distance ` , ` HammingDistance ` , and ` JaccardDistance `
8282
8383Get the distance
8484
@@ -146,7 +146,7 @@ class Item(Base):
146146 embedding = mapped_column(Vector(3 ))
147147```
148148
149- Also supports ` HALFVEC ` (unreleased) , ` BIT ` (unreleased) , and ` SPARSEVEC ` (unreleased)
149+ Also supports ` HALFVEC ` , ` BIT ` , and ` SPARSEVEC `
150150
151151Insert a vector
152152
@@ -162,7 +162,7 @@ Get the nearest neighbors to a vector
162162session.scalars(select(Item).order_by(Item.embedding.l2_distance([3 , 1 , 2 ])).limit(5 ))
163163```
164164
165- Also supports ` max_inner_product ` , ` cosine_distance ` , ` l1_distance ` (unreleased) , ` hamming_distance ` (unreleased) , and ` jaccard_distance ` (unreleased)
165+ Also supports ` max_inner_product ` , ` cosine_distance ` , ` l1_distance ` , ` hamming_distance ` , and ` jaccard_distance `
166166
167167Get the distance
168168
@@ -228,7 +228,7 @@ class Item(SQLModel, table=True):
228228 embedding: Any = Field(sa_column = Column(Vector(3 )))
229229```
230230
231- Also supports ` HALFVEC ` (unreleased) , ` BIT ` (unreleased) , and ` SPARSEVEC ` (unreleased)
231+ Also supports ` HALFVEC ` , ` BIT ` , and ` SPARSEVEC `
232232
233233Insert a vector
234234
@@ -244,7 +244,7 @@ Get the nearest neighbors to a vector
244244session.exec(select(Item).order_by(Item.embedding.l2_distance([3 , 1 , 2 ])).limit(5 ))
245245```
246246
247- Also supports ` max_inner_product ` , ` cosine_distance ` , ` l1_distance ` (unreleased) , ` hamming_distance ` (unreleased) , and ` jaccard_distance ` (unreleased)
247+ Also supports ` max_inner_product ` , ` cosine_distance ` , ` l1_distance ` , ` hamming_distance ` , and ` jaccard_distance `
248248
249249Get the distance
250250
@@ -459,7 +459,7 @@ class Item(BaseModel):
459459 embedding = VectorField(dimensions = 3 )
460460```
461461
462- Also supports ` HalfVectorField ` (unreleased) , ` FixedBitField ` (unreleased) , and ` SparseVectorField ` (unreleased)
462+ Also supports ` HalfVectorField ` , ` FixedBitField ` , and ` SparseVectorField `
463463
464464Insert a vector
465465
@@ -473,7 +473,7 @@ Get the nearest neighbors to a vector
473473Item.select().order_by(Item.embedding.l2_distance([3 , 1 , 2 ])).limit(5 )
474474```
475475
476- Also supports ` max_inner_product ` , ` cosine_distance ` , ` l1_distance ` (unreleased) , ` hamming_distance ` (unreleased) , and ` jaccard_distance ` (unreleased)
476+ Also supports ` max_inner_product ` , ` cosine_distance ` , ` l1_distance ` , ` hamming_distance ` , and ` jaccard_distance `
477477
478478Get the distance
479479
0 commit comments