View Source GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig (google_api_discovery_engine v0.27.0)

Configuration for the layout based chunking.

Attributes

  • chunkSize (type: integer(), default: nil) - The token size limit for each chunk. Supported values: 100-500 (inclusive). Default value: 500.
  • includeAncestorHeadings (type: boolean(), default: nil) - Whether to include appending different levels of headings to chunks from the middle of the document to prevent context loss. Default value: False.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DiscoveryEngine.V1.Model.GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig{
    chunkSize: integer() | nil,
    includeAncestorHeadings: boolean() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.