View Source Qdrant (Qdrant v0.0.6)
Documentation for Qdrant.
Link to this section Summary
Functions
Returns information about a collection with the given name.
Creates a collection with the given name and body.
Body must be a map with the key vectors
, example
Deletes a collection with the given name.
Returns a list of all collections.
Perform insert + updates on points. If point with given ID already exists - it will be overwritten.
Link to this section Functions
Returns information about a collection with the given name.
Creates a collection with the given name and body.
Body must be a map with the key vectors
, example:
%{
vectors: %{
size: 42,
distance: "Cosine"
}
}
For full documentation check: Qdrant Create Collection
Deletes a collection with the given name.
Returns a list of all collections.
upsert_point(collection_name, body, wait \\ false, ordering \\ nil)
View SourcePerform insert + updates on points. If point with given ID already exists - it will be overwritten.
Body must be a map with the key points
or batch
, example:
%{
points: [
%{
id: 1,
vector: vector1
},
%{
id: 2,
vector: vector2
}
]
}
Or batch:
%{
batch: %{
ids: [1, 2],
vectors: [vector1, vector2]
}
}
For full documentation check: Qdrant Upsert Points