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

Grounding chunk.

Attributes

  • retrievedContext (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GroundingChunkRetrievedContext.t, default: nil) - Grounding chunk from context retrieved by the retrieval tools.
  • web (type: GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GroundingChunkWeb.t, default: nil) - Grounding chunk from the web.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GroundingChunk{
  retrievedContext:
    GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GroundingChunkRetrievedContext.t()
    | nil,
  web:
    GoogleApi.AIPlatform.V1.Model.GoogleCloudAiplatformV1GroundingChunkWeb.t()
    | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.