View Source GoogleApi.AIPlatform.V1.Model.LearningGenaiRootPerRequestProcessorDebugMetadataFactualityDebugMetadata (google_api_ai_platform v0.6.0)

Attributes

  • factRetrievalMillisecondsByProvider (type: map(), default: nil) - Latency spent on fact retrievals. There might be multiple retrievals from different fact providers.
  • prompt2queryMilliseconds (type: String.t, default: nil) - Latency spent on prompt2query. The procedure generates a search-friendly query given the original prompt.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.AIPlatform.V1.Model.LearningGenaiRootPerRequestProcessorDebugMetadataFactualityDebugMetadata{
    factRetrievalMillisecondsByProvider: map() | nil,
    prompt2queryMilliseconds: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.