View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaFactChunk (google_api_discovery_engine v0.27.0)

Fact Chunk.

Attributes

  • chunkText (type: String.t, default: nil) - Text content of the fact chunk. Can be at most 10K characters long.
  • index (type: integer(), default: nil) - The index of this chunk. Currently, only used for the streaming mode.
  • source (type: String.t, default: nil) - Source from which this fact chunk was retrieved. If it was retrieved from the GroundingFacts provided in the request then this field will contain the index of the specific fact from which this chunk was retrieved.
  • sourceMetadata (type: map(), default: nil) - More fine-grained information for the source reference.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaFactChunk{
    chunkText: String.t() | nil,
    index: integer() | nil,
    source: String.t() | nil,
    sourceMetadata: map() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.