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)
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:
AUDIOstr - Audio data type.FLOATstr - Floating-point number data type.IMAGEstr - Image data type.INTEGERstr - Integer number data type.LABELstr - Label/category data type.TENSORstr - Tensor/multi-dimensional array data type.TEXTstr - Text data type.VIDEOstr - Video data type.EMBEDDINGstr - Vector embedding data type.NUMBERstr - Generic number data type.FLOAT0 str - Boolean data type.
__str__
def __str__() -> str
Return the string representation of the data type.
Returns:
str- The data type value as a string.