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

# Interface Document.Builder1

Enclosing class:
  `Document`

public static interface Document.Builder1
Builder helper class.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `default Document`
  `chunks(RetrievalChunk... chunks)`
  Set the chunks of this `Document` instance.
  `Document`
  `chunks(List<RetrievalChunk> chunks)`
  Set the chunks of this `Document` instance.

- ## Method Details

  - ### chunks

    Document chunks(@Nonnull List<RetrievalChunk> chunks)
    Set the chunks of this `Document` instance.
    Parameters:
      `chunks` - The chunks of this `Document`
    Returns:
      The Document instance.

  - ### chunks

    default Document chunks(@Nonnull RetrievalChunk... chunks)
    Set the chunks of this `Document` instance.
    Parameters:
      `chunks` - The chunks of this `Document`
    Returns:
      The Document instance.