collection, err := client.Collections.Create(ctx, datasetID, "My-collection", )
func (collectionClient) Create( ctx context.Context, datasetID uuid.UUID, collectionName string, ) (*datasets.Collection, error)
Create a collection in the dataset.
The id of the dataset
The name of the collection
The created collection object.
Was this page helpful?