Milvus
Zilliz
< Docs
  • Python

DataType

This is an enumeration that provides the following constants.

Constants

  • BOOL

    Sets the data type to Boolean.

  • INT8

    Sets the data type to Int8.

  • INT16

    Sets the data type to Int16.

  • INT32

    Sets the data type to Int32.

  • INT64

    Sets the data type to Int64.

  • FLOAT

    Sets the data type to Float.

  • DOUBLE

    Sets the data type to Double.

  • VARCHAR

    Sets the data type to Varchar.

  • ARRAY

    Sets the data type to Array.

  • JSON

    Sets the data type to JSON.

  • GEOMETRY

    Sets the datatype to Geometry.

  • STRUCT

    Sets the data type of the elements in an Array field to Struct.

  • FLOAT_VECTOR

    Sets the data type to Float Vector.

  • BINARY_VECTOR

    Sets the data type to Binary Vector.

  • FLOAT16_VECTOR

    Sets the data type to Float16 Vector.

  • BFLOAT16_VECTOR

    Sets the data type to BFloat16 Vector.

  • INT8_VECTOR

    Sets the data type to Int8 Vector. This data type is designed for quantized deep learning models (e.g., ResNet, EfficientNet), which reduces model size and speeds up inference with minimal precision loss.

  • SPARSE_FLOAT_VECTOR

    Sets the data type to Sparse Vector.

Try Managed Milvus for Free

Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.

Get Started
Feedback

Was this page helpful?