View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector (google_api_discovery_engine v0.7.0)

Embedding vector.

Attributes

  • fieldPath (type: String.t, default: nil) - Embedding field path in schema.
  • vector (type: list(number()), default: nil) - Query embedding vector.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaSearchRequestEmbeddingSpecEmbeddingVector{
    fieldPath: String.t() | nil,
    vector: [number()] | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.