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

# Interface DocumentResponse.Builder

Enclosing class:
  `DocumentResponse`

public static interface DocumentResponse.Builder
Builder helper class.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `default DocumentResponse.Builder1`
  `chunks(TextOnlyBaseChunk... chunks)`
  Set the chunks of this `DocumentResponse` instance.
  `DocumentResponse.Builder1`
  `chunks(List<TextOnlyBaseChunk> chunks)`
  Set the chunks of this `DocumentResponse` instance.

- ## Method Details

  - ### chunks

    DocumentResponse.Builder1 chunks(@Nonnull List<TextOnlyBaseChunk> chunks)
    Set the chunks of this `DocumentResponse` instance.
    Parameters:
      `chunks` - The chunks of this `DocumentResponse`
    Returns:
      The DocumentResponse builder.

  - ### chunks

    default DocumentResponse.Builder1 chunks(@Nonnull TextOnlyBaseChunk... chunks)
    Set the chunks of this `DocumentResponse` instance.
    Parameters:
      `chunks` - The chunks of this `DocumentResponse`
    Returns:
      The DocumentResponse builder.