CollectionConfig
API model for collection configuration - uses VectorConfig.
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| vectors | List[VectorConfig] | List of vector configurations for this collection | |
| store_content | bool | Whether to store document content in the database. | [optional] [default to True] |
| metadata_indexes | List[MetadataIndex] | List of metadata fields to index for filtering and sorting | [optional] |
Example
from amgix_client.models.collection_config import CollectionConfig
# TODO update the JSON string below
json = "{}"
# create an instance of CollectionConfig from a JSON string
collection_config_instance = CollectionConfig.from_json(json)
# print the JSON string representation of the object
print(CollectionConfig.to_json())
# convert the object into a dict
collection_config_dict = collection_config_instance.to_dict()
# create an instance of CollectionConfig from a dict
collection_config_from_dict = CollectionConfig.from_dict(collection_config_dict)