VectorsConfig

@Serializable(with = VectorsConfigSerializer::class)
sealed interface VectorsConfig

The vectors config of a collection, which Qdrant represents in two shapes:

Both shapes are unified behind this sealed type; the serializer emits the correct JSON form.

Inheritors

Types

Link copied to clipboard
object Companion
Link copied to clipboard
data class Named(val vectors: Map<String, VectorParams>) : VectorsConfig
Link copied to clipboard
data class Single(val params: VectorParams) : VectorsConfig