Class EmbeddingSpec (0.11.10)

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

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

Attribute

NameDescription
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.