Package com.sap.ai.sdk.grounding.model

# Interface DocumentsChunk.Builder2

Enclosing class:
  `DocumentsChunk`

public static interface DocumentsChunk.Builder2
Builder helper class.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `default DocumentsChunk`
  `documents(DocumentOutput... documents)`
  Set the documents of this `DocumentsChunk` instance.
  `DocumentsChunk`
  `documents(List<DocumentOutput> documents)`
  Set the documents of this `DocumentsChunk` instance.

- ## Method Details

  - ### documents

    DocumentsChunk documents(@Nonnull List<DocumentOutput> documents)
    Set the documents of this `DocumentsChunk` instance.
    Parameters:
      `documents` - The documents of this `DocumentsChunk`
    Returns:
      The DocumentsChunk instance.

  - ### documents

    default DocumentsChunk documents(@Nonnull DocumentOutput... documents)
    Set the documents of this `DocumentsChunk` instance.
    Parameters:
      `documents` - The documents of this `DocumentsChunk`
    Returns:
      The DocumentsChunk instance.