Class LLMObsPromptInclude

java.lang.Object
com.datadog.api.client.v2.model.LLMObsPromptInclude

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LLMObsPromptInclude extends Object
Includes messages from a specific version of another prompt. Omitting items includes every message from that version in its original order. When items is present, messages are included in the specified order, including repetitions.
  • Field Details

  • Constructor Details

    • LLMObsPromptInclude

      public LLMObsPromptInclude()
    • LLMObsPromptInclude

      public LLMObsPromptInclude(String promptId, Long version)
  • Method Details

    • items

      public LLMObsPromptInclude items(List<Long> items)
    • addItemsItem

      public LLMObsPromptInclude addItemsItem(Long itemsItem)
    • getItems

      @Nullable public List<Long> getItems()
      Zero-based indexes of messages from the included prompt. For example, [2, 0, 0] includes the third message, followed by the first message twice. Omit this field to include all messages in their original order.
      Returns:
      items
    • setItems

      public void setItems(List<Long> items)
    • promptId

      public LLMObsPromptInclude promptId(String promptId)
    • getPromptId

      public String getPromptId()
      Customer-provided identifier of the included prompt.
      Returns:
      promptId
    • setPromptId

      public void setPromptId(String promptId)
    • version

      public LLMObsPromptInclude version(Long version)
    • getVersion

      public Long getVersion()
      Positive sequential version number of the included prompt. minimum: 1 maximum: 2147483647
      Returns:
      version
    • setVersion

      public void setVersion(Long version)
    • equals

      public boolean equals(Object o)
      Return true if this LLMObsPromptInclude object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object