View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfo (google_api_discovery_engine v0.7.0)

Chunk information.

Attributes

  • chunk (type: String.t, default: nil) - Chunk resource name.
  • content (type: String.t, default: nil) - Chunk textual content.
  • documentMetadata (type: GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfoDocumentMetadata.t, default: nil) - Document metadata.
  • relevanceScore (type: number(), default: nil) - Relevance score.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfo{
    chunk: String.t() | nil,
    content: String.t() | nil,
    documentMetadata:
      GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaAnswerReferenceChunkInfoDocumentMetadata.t()
      | nil,
    relevanceScore: number() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.