View Source GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GroundingMetadata (google_api_ai_platform v0.13.0)

Metadata returned to client when grounding is enabled.

Attributes

  • groundingChunks (type: list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GroundingChunk.t), default: nil) - List of supporting references retrieved from specified grounding source.
  • groundingSupports (type: list(GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GroundingSupport.t), default: nil) - Optional. List of grounding support.
  • searchEntryPoint (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SearchEntryPoint.t, default: nil) - Optional. Google search entry for the following-up web searches.
  • webSearchQueries (type: list(String.t), default: nil) - Optional. Web search queries for the following-up web search.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GroundingMetadata{
  groundingChunks:
    [GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GroundingChunk.t()]
    | nil,
  groundingSupports:
    [GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GroundingSupport.t()]
    | nil,
  searchEntryPoint:
    GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1SearchEntryPoint.t()
    | nil,
  webSearchQueries: [String.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.