Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddItemsItem(Long itemsItem) booleanReturn true if this LLMObsPromptInclude object is equal to o.getItems()Zero-based indexes of messages from the included prompt.Customer-provided identifier of the included prompt.Positive sequential version number of the included prompt.inthashCode()voidvoidsetPromptId(String promptId) voidsetVersion(Long version) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ITEMS
- See Also:
-
JSON_PROPERTY_PROMPT_ID
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
-
Constructor Details
-
LLMObsPromptInclude
public LLMObsPromptInclude() -
LLMObsPromptInclude
-
-
Method Details
-
items
-
addItemsItem
-
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
-
promptId
-
getPromptId
Customer-provided identifier of the included prompt.- Returns:
- promptId
-
setPromptId
-
version
-
getVersion
Positive sequential version number of the included prompt. minimum: 1 maximum: 2147483647- Returns:
- version
-
setVersion
-
equals
Return true if this LLMObsPromptInclude object is equal to o. -
hashCode
public int hashCode() -
toString
-