Creates a new collection schema.
An object containing the name, vectors, and optional fields.
The name of the collection.
An array of vector schemas, or a single vector schema object.
Optionalfields?: ZVecFieldSchema | ZVecFieldSchema[]An optional array of scalar field schemas, or a single scalar field schema object.
Retrieves a scalar field schema by its name.
The name of the field to retrieve.
The ZVecFieldSchema object.
Retrieves a vector field schema by its name.
The name of the vector field to retrieve.
The ZVecVectorSchema object.
Gets the array of scalar field schemas.
The array of ZVecFieldSchema objects.
Gets the array of vector field schemas.
The array of ZVecVectorSchema objects.
A formatted string representation of the collection schema.
Collection Schema.