Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.31 KB

File metadata and controls

32 lines (23 loc) · 1.31 KB

CreateVectorCollectionRequest

Properties

Name Type Description Notes
name str Collection name (used for reference)
description str [optional]
embedding_model str Embedding model to use (default: amazon.titan-embed-text-v2:0) [optional]
dimensions int Embedding dimensions (default: 1024) [optional]

Example

from quantcdn.models.create_vector_collection_request import CreateVectorCollectionRequest

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

# convert the object into a dict
create_vector_collection_request_dict = create_vector_collection_request_instance.to_dict()
# create an instance of CreateVectorCollectionRequest from a dict
create_vector_collection_request_from_dict = CreateVectorCollectionRequest.from_dict(create_vector_collection_request_dict)

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