View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1CheckGroundingResponseFactChunk (google_api_discovery_engine v0.20.0)

Fact chunk for grounding check.

Attributes

  • chunkText (type: String.t, default: nil) - Text content of the fact chunk. Can be at most 10K characters long.
  • source (type: String.t, default: nil) - Source from which this fact chunk was retrieved. For a fact chunk retrieved from inline facts, this field will contain the index of the specific fact from which this chunk was retrieved.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1CheckGroundingResponseFactChunk{
    chunkText: String.t() | nil,
    source: String.t() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.