mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-28 23:48:31 +02:00
ColBERT FastEmbed docs revamp + a couple of fixes
This commit is contained in:
@@ -633,7 +633,7 @@ And additionally, sparse vectors and dense vectors must have different names wit
|
||||
PUT /collections/{collection_name}
|
||||
{
|
||||
"sparse_vectors": {
|
||||
"text": { },
|
||||
"text": { }
|
||||
}
|
||||
}
|
||||
```
|
||||
@@ -656,6 +656,7 @@ client = QdrantClient(url="http://localhost:6333")
|
||||
|
||||
client.create_collection(
|
||||
collection_name="{collection_name}",
|
||||
vectors_config={},
|
||||
sparse_vectors_config={
|
||||
"text": models.SparseVectorParams(),
|
||||
},
|
||||
|
||||
@@ -534,7 +534,7 @@ client.create_collection(
|
||||
collection_name="{collection_name}",
|
||||
vectors_config=models.VectorParams(
|
||||
size=128,
|
||||
distance=models.Distance.Cosine,
|
||||
distance=models.Distance.COSINE,
|
||||
multivector_config=models.MultiVectorConfig(
|
||||
comparator=models.MultiVectorComparator.MAX_SIM
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user