View Source GoogleApi.ContentWarehouse.V1.Model.ReneEmbedding (google_api_content_warehouse v0.4.0)

Message to represent an embedding vector with clusters.

Attributes

  • clusterList (type: GoogleApi.ContentWarehouse.V1.Model.ReneEmbeddingClusterList.t, default: nil) - Token information of the embedding vector if available.
  • compressedValue (type: String.t, default: nil) - Compressed value of the embedding. For example, different versions of starburst signals use different compressor to generate the value.
  • denseFeatureFloatValues (type: list(number()), default: nil) - Optional feature map output from the model. Note: this is not applicable to some models.
  • floatValues (type: list(number()), default: nil) - Values of the embedding vector.
  • floatValuesBeforeProjection (type: list(number()), default: nil) - Optional embedding vector prior to projection. Note: this is not applicable to some models.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.ReneEmbedding{
  clusterList:
    GoogleApi.ContentWarehouse.V1.Model.ReneEmbeddingClusterList.t() | nil,
  compressedValue: String.t() | nil,
  denseFeatureFloatValues: [number()] | nil,
  floatValues: [number()] | nil,
  floatValuesBeforeProjection: [number()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.