View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpec (google_api_discovery_engine v0.22.0)

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

Attributes

  • embeddingVectors (type: list(GoogleApi.DiscoveryEngine.V1.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

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

Functions

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

Unwrap a decoded JSON object into its complex fields.