
Qdrant CreateCollection
CertifiedCreate a collection in Qdrant
Qdrant CreateCollection
Create a collection in Qdrant
Creates a new single-vector collection with specified vector dimension and distance metric. Collections with multiple named vectors should be created via the Qdrant API or CLI.
type: io.kestra.plugin.qdrant.CreateCollectionExamples
Create a Qdrant collection with 1536 dimensions and Cosine distance
id: qdrant_create_collection
namespace: company.team
tasks:
- id: create_collection
type: io.kestra.plugin.qdrant.CreateCollection
host: "{{ secret('QDRANT_HOST') }}"
apiKey: "{{ secret('QDRANT_API_KEY') }}"
tlsEnabled: true
collectionName: docs
vectorSize: 1536
distance: COSINE
Properties
collectionName *string
Collection name
The name of the collection to create.
distance *string
COSINECOSINEDOTEUCLIDMANHATTANDistance metric
The distance metric to use for vector comparisons (default: COSINE).
host *string
The host of the Qdrant instance
The hostname or IP address of the Qdrant gRPC endpoint.
vectorSize *integerstring
Vector dimension size
The dimension size of vectors to be stored in the collection.
apiKey string
API key
The API key for authentication with Qdrant.
assets
Assets this task consumes as inputs or produces as outputs, for lineage tracking and the asset graph (Enterprise Edition). A flow declaring this property on a task is rejected in the open-source edition.
io.kestra.core.models.assets.AssetsDeclaration
IGNOREFAILWARNAsset failure behavior
Behavior applied to the task state when a declared asset fails to render, emit, or be persisted (e.g. a lock conflict): FAIL escalates it to FAILED, WARN (default) warns it if it would otherwise succeed, IGNORE leaves the state untouched.
Whether to auto-register assets referenced dynamically at runtime that are not statically declared in inputs or outputs.
The assets consumed as inputs.
io.kestra.core.models.assets.AssetIdentifier
1The assets produced as outputs.
io.kestra.plugin.ee.assets.Dataset
1150{}1150io.kestra.plugin.ee.assets.File
1150{}1150io.kestra.plugin.ee.assets.Table
1150{}1150io.kestra.plugin.ee.assets.VM
1150{}1150io.kestra.core.models.assets.External
1150{}1150io.kestra.core.models.assets.Custom
11501Custom asset type
{}1150onDiskVectors booleanstring
falseStore vectors on disk
Whether to store vector embeddings on disk (mmap) rather than keeping them entirely in RAM (default: false).
payloadMemory string
COLDCACHEDPINNEDPayload memory storage policy
Storage memory tier for metadata payload: COLD (on disk/mmap), CACHED (on disk with memory page cache), or PINNED (pinned in RAM). Default: null (server default).
port integerstring
6334The port of the Qdrant instance
The gRPC port of the Qdrant instance (default 6334).
tlsEnabled booleanstring
falseEnable TLS
Whether to use TLS/SSL for secure gRPC connection.
Outputs
collectionName string
Collection name
The name of the collection that was created.
success boolean
Success status
Whether the collection was created successfully.