View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec (google_api_discovery_engine v0.27.0)

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

Attributes

  • embeddingVectors (type: list(GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector.t), default: nil) - The embedding vector used for retrieval. Limit to 1.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec{
    embeddingVectors:
      [
        GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector.t()
      ]
      | nil
  }

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.