This namespace includes all the backup methods available to you when backing up a collection in Weaviate.
This namespace includes all the CRUD methods available to you when modifying the configuration of the collection in Weaviate.
This namespace includes all the CUD methods available to you when modifying the data of the collection in Weaviate.
Use this method to check if the collection exists in Weaviate.
A promise that resolves to true
if the collection exists, and false
otherwise.
This namespace includes the methods by which you can create the FilterValue<V>
values for use when filtering queries over your collection.
This namespace includes all the querying methods available to you when using Weaviate's generative capabilities.
Use this method to return an iterator over the objects in the collection.
This iterator keeps a record of the last object that it returned to be used in each subsequent call to Weaviate. Once the collection is exhausted, the iterator exits.
An iterator over the objects in the collection as an async generator.
If return_properties
is not provided, all the properties of each object will be
requested from Weaviate except for its vector as this is an expensive operation. Specify include_vector
to request the vector back as well. In addition, if return_references=None
then none of the references
are returned. Use wvc.QueryReference
to specify which references to return.
Use this method to return the total number of objects in the collection.
This is a short-hand for calling collection.aggregate.overAll().then(({ totalCount }) => totalCount)
.
This namespace includes the methods by which you can create the MetricsX
values for use when aggregating over your collection.
This namespaces includes the methods by which you cna create the MultiTargetVectorJoin
values for use when performing multi-target vector searches over your collection.
The name of the collection.
This namespace includes all the querying methods available to you when using Weaviate's standard query capabilities.
This namespaces includes the methods by which you can create the Sorting<T>
values for use when sorting queries over your collection.
This namespace includes all the CRUD methods available to you when modifying the tenants of a multi-tenancy-enabled collection in Weaviate.
Use this method to return a collection object specific to a single consistency level.
If replication is not configured for this collection then Weaviate will throw an error.
This method does not send a request to Weaviate. It only returns a new collection object that is specific to the consistency level you specify.
The consistency level to use.
A new collection object specific to the consistency level you specified.
Use this method to return a collection object specific to a single tenant.
If multi-tenancy is not configured for this collection then Weaviate will throw an error.
This method does not send a request to Weaviate. It only returns a new collection object that is specific to the tenant you specify.
The tenant name or tenant object to use.
A new collection object specific to the tenant you specified.
This namespace includes all the querying methods available to you when using Weaviate's standard aggregation capabilities.