View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1alphaDocumentProcessingConfigChunkingConfigLayoutBasedChunkingConfig (google_api_discovery_engine v0.15.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

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

Functions

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

Unwrap a decoded JSON object into its complex fields.