Class Vector (0.1.0)

Vector(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A vector which can be either dense or sparse.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
dense google.cloud.vectorsearch_v1beta.types.DenseVector
A dense vector. This field is a member of oneof_ vector_type.
sparse google.cloud.vectorsearch_v1beta.types.SparseVector
A sparse vector. This field is a member of oneof_ vector_type.
values MutableSequence[float]
The values of the vector.