View Source GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig (google_api_document_ai v0.39.0)

Serving config for chunking.

Attributes

  • breakpointPercentileThreshold (type: integer(), default: nil) - Optional. The percentile of cosine dissimilarity that must be exceeded between a group of tokens and the next. The smaller this number is, the more chunks will be generated.
  • chunkSize (type: integer(), default: nil) - Optional. The chunk sizes to use when splitting documents, in order of level.
  • includeAncestorHeadings (type: boolean(), default: nil) - Optional. Whether or not to include ancestor headings when splitting.
  • semanticChunkingGroupSize (type: boolean(), default: nil) - Optional. The number of tokens to group together when evaluating semantic similarity.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DocumentAI.V1beta3.Model.GoogleCloudDocumentaiV1beta3ProcessOptionsLayoutConfigChunkingConfig{
    breakpointPercentileThreshold: integer() | nil,
    chunkSize: integer() | nil,
    includeAncestorHeadings: boolean() | nil,
    semanticChunkingGroupSize: boolean() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.