Package com.sap.ai.sdk.orchestration.model

# Interface Template.Builder

Enclosing class:
  `Template`

public static interface Template.Builder
Builder helper class.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `default Template`
  `template(ChatMessage... template)`
  Set the template of this `Template` instance.
  `Template`
  `template(List<ChatMessage> template)`
  Set the template of this `Template` instance.

- ## Method Details

  - ### template

    Template template(@Nonnull List<ChatMessage> template)
    Set the template of this `Template` instance.
    Parameters:
      `template` - A chat message array to be formatted with values from placeholder_values. Both role and content can be templated. If messages_history is provided, the templated messages will be appended.
    Returns:
      The Template instance.

  - ### template

    default Template template(@Nonnull ChatMessage... template)
    Set the template of this `Template` instance.
    Parameters:
      `template` - A chat message array to be formatted with values from placeholder_values. Both role and content can be templated. If messages_history is provided, the templated messages will be appended.
    Returns:
      The Template instance.