Package com.datadog.api.client.v2.model
Class LLMObsPromptSDKDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.LLMObsPromptSDKDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsPromptSDKDataAttributes
extends Object
Attributes of a flattened prompt version returned for SDK consumption. Exactly one of
template and chat_template is returned. Empty config is omitted
when configuration authoring is disabled for the organization. Non-empty saved configuration is
always returned.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddChatTemplateItem(LLMObsPromptChatMessage chatTemplateItem) addLabelsItem(String labelsItem) chatTemplate(List<LLMObsPromptChatMessage> chatTemplate) booleanReturn true if this LLMObsPromptSDKDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Chat template for this prompt version, as a list of role and content messages.Versioned prompt configuration is in Preview.Deprecated.Customer-provided identifier of the prompt.Unique identifier of this prompt version.Text template for this prompt version.Version identifier for this prompt version.inthashCode()promptVersionUuid(String promptVersionUuid) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putConfigItem(String key, Object configItem) voidsetChatTemplate(List<LLMObsPromptChatMessage> chatTemplate) voidvoidDeprecated.voidsetPromptId(String promptId) voidsetPromptVersionUuid(String promptVersionUuid) voidsetTemplate(String template) voidsetVersion(String version) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CHAT_TEMPLATE
- See Also:
-
JSON_PROPERTY_CONFIG
- See Also:
-
JSON_PROPERTY_LABELS
- See Also:
-
JSON_PROPERTY_PROMPT_ID
- See Also:
-
JSON_PROPERTY_PROMPT_VERSION_UUID
- See Also:
-
JSON_PROPERTY_TEMPLATE
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
-
Constructor Details
-
LLMObsPromptSDKDataAttributes
public LLMObsPromptSDKDataAttributes()
-
-
Method Details
-
chatTemplate
-
addChatTemplateItem
-
getChatTemplate
Chat template for this prompt version, as a list of role and content messages. Omitted for text templates.- Returns:
- chatTemplate
-
setChatTemplate
-
config
-
putConfigItem
-
getConfig
Versioned prompt configuration is in Preview. To request access, contact Datadog Support or your Customer Success Manager. Customer-owned configuration delivered with a prompt version. Datadog stores and returns the object without interpolating it, validating provider-specific keys, or applying it to model calls. Do not include secrets.- Returns:
- config
-
setConfig
-
labels
-
addLabelsItem
-
getLabels
Deprecated.Labels attached to the selected version.- Returns:
- labels
-
setLabels
Deprecated. -
promptId
-
getPromptId
Customer-provided identifier of the prompt.- Returns:
- promptId
-
setPromptId
-
promptVersionUuid
-
getPromptVersionUuid
Unique identifier of this prompt version.- Returns:
- promptVersionUuid
-
setPromptVersionUuid
-
template
-
getTemplate
Text template for this prompt version. Omitted for chat templates.- Returns:
- template
-
setTemplate
-
version
-
getVersion
Version identifier for this prompt version. This is the sequential version number unless a user-supplied version identifier was set, in which case that identifier is used instead.- Returns:
- version
-
setVersion
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- LLMObsPromptSDKDataAttributes
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this LLMObsPromptSDKDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-