Reference documentation and code samples for the Vector Search V1 API class Google::Cloud::VectorSearch::V1::Vector.
A vector which can be either dense or sparse.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#dense
def dense() -> ::Google::Cloud::VectorSearch::V1::DenseVector-
(::Google::Cloud::VectorSearch::V1::DenseVector) — A dense vector.
Note: The following fields are mutually exclusive:
dense,sparse. If a field in that set is populated, all other fields in the set will automatically be cleared.
#dense=
def dense=(value) -> ::Google::Cloud::VectorSearch::V1::DenseVector-
value (::Google::Cloud::VectorSearch::V1::DenseVector) — A dense vector.
Note: The following fields are mutually exclusive:
dense,sparse. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VectorSearch::V1::DenseVector) — A dense vector.
Note: The following fields are mutually exclusive:
dense,sparse. If a field in that set is populated, all other fields in the set will automatically be cleared.
#sparse
def sparse() -> ::Google::Cloud::VectorSearch::V1::SparseVector-
(::Google::Cloud::VectorSearch::V1::SparseVector) — A sparse vector.
Note: The following fields are mutually exclusive:
sparse,dense. If a field in that set is populated, all other fields in the set will automatically be cleared.
#sparse=
def sparse=(value) -> ::Google::Cloud::VectorSearch::V1::SparseVector-
value (::Google::Cloud::VectorSearch::V1::SparseVector) — A sparse vector.
Note: The following fields are mutually exclusive:
sparse,dense. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VectorSearch::V1::SparseVector) — A sparse vector.
Note: The following fields are mutually exclusive:
sparse,dense. If a field in that set is populated, all other fields in the set will automatically be cleared.