Class EmbeddingSpec (0.13.5)

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

The specification that uses customized query embedding vector to do semantic document retrieval.

Attribute

Name Description
embedding_vectors MutableSequence[google.cloud.discoveryengine_v1beta.types.SearchRequest.EmbeddingSpec.EmbeddingVector]
The embedding vector used for retrieval. Limit to 1.

Classes

EmbeddingVector

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

Embedding vector.