Skip to main content
Version: 1.0

aixplain.enums.data_type

__author__

Copyright 2023 The aiXplain SDK authors

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Author: aiXplain team Date: March 20th 2023 Description: Data Type Enum

DataType Objects

class DataType(str, Enum)

[view_source]

Enumeration of supported data types in the aiXplain system.

This enum defines all the data types that can be processed by the system, including various media types and basic data types.

Attributes:

  • AUDIO str - Audio data type.
  • FLOAT str - Floating-point number data type.
  • IMAGE str - Image data type.
  • INTEGER str - Integer number data type.
  • LABEL str - Label/category data type.
  • TENSOR str - Tensor/multi-dimensional array data type.
  • TEXT str - Text data type.
  • VIDEO str - Video data type.
  • EMBEDDING str - Vector embedding data type.
  • NUMBER str - Generic number data type.
  • FLOAT0 str - Boolean data type.

__str__

def __str__() -> str

[view_source]

Return the string representation of the data type.

Returns:

  • str - The data type value as a string.