Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.48 KB

File metadata and controls

34 lines (25 loc) · 1.48 KB

CollectionFeatureDescriptor

Descriptor for a collection's available feature using existing models/keys.

Properties

Name Type Description Notes
feature_address str Fully qualified feature address
feature_extractor_name str Extractor name
version str Extractor version
vector_index VectorIndex Vector index configuration (name, dimensions, type, distance, inference_name)
primary bool True if this is the primary output (short address allowed) [optional] [default to False]

Example

from mixpeek.models.collection_feature_descriptor import CollectionFeatureDescriptor

# TODO update the JSON string below
json = "{}"
# create an instance of CollectionFeatureDescriptor from a JSON string
collection_feature_descriptor_instance = CollectionFeatureDescriptor.from_json(json)
# print the JSON string representation of the object
print(CollectionFeatureDescriptor.to_json())

# convert the object into a dict
collection_feature_descriptor_dict = collection_feature_descriptor_instance.to_dict()
# create an instance of CollectionFeatureDescriptor from a dict
collection_feature_descriptor_from_dict = CollectionFeatureDescriptor.from_dict(collection_feature_descriptor_dict)

[Back to Model list] [Back to API list] [Back to README]