🚀 Try Zilliz Cloud, the fully managed Milvus, for free—experience 10x faster performance! Try Now>>

Milvus
Zilliz
< Docs
  • Python

DataType

This is an enumeration that provides the following constants.

Constants

  • NONE Sets the data type to NoneType.

  • 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.

  • 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.

  • UNKNOWN Sets the data type to Unknown.

Try Managed Milvus for Free

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

Get Started
Feedback

Was this page helpful?