Package com.datadog.api.client.v2.model
Class LLMObsPromptVersionDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.LLMObsPromptVersionDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsPromptVersionDataAttributes
extends Object
Attributes of a specific version of an Agent Observability prompt. For a composed version,
authoring_template contains its pinned include-bearing source; ordinary versions omit that
attribute. Empty config is omitted when configuration authoring is disabled for the
organization. Non-empty saved configuration is always returned.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
ConstructorsConstructorDescriptionLLMObsPromptVersionDataAttributes(String promptId, String promptUuid, LLMObsPromptTemplate template, Long version) -
Method Summary
Modifier and TypeMethodDescriptionaddDatasetsItem(LLMObsPromptDataset datasetsItem) addLabelsItem(String labelsItem) addMlAppsItem(String mlAppsItem) addTagsItem(String tagsItem) authoringTemplate(LLMObsPromptTemplate authoringTemplate) createdAt(OffsetDateTime createdAt) datasets(List<LLMObsPromptDataset> datasets) description(String description) booleanReturn true if this LLMObsPromptVersionDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.UUID of the user who authored this version.A text template, a list of chat messages, or an authored chat object.Versioned prompt configuration is in Preview.Timestamp stored on this prompt version.Datasets observed in runs associated with this prompt version.Description of this version.Deprecated.Timestamp of the most recent observed run of this prompt version.getMlApp()The ML application this prompt is associated with.ML applications observed running this prompt version.Customer-provided identifier of the parent prompt.Unique identifier of the parent prompt.getTags()Tags observed on runs of this prompt version.A text template, a list of chat messages, or an authored chat object.User-supplied identifier for this version.Sequential version number.Timestamp when this version was created.inthashCode()lastSeenAt(OffsetDateTime lastSeenAt) promptUuid(String promptUuid) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putConfigItem(String key, Object configItem) voidvoidsetAuthoringTemplate(LLMObsPromptTemplate authoringTemplate) voidvoidsetCreatedAt(OffsetDateTime createdAt) voidsetDatasets(List<LLMObsPromptDataset> datasets) voidsetDescription(String description) voidDeprecated.voidsetLastSeenAt(OffsetDateTime lastSeenAt) voidvoidvoidsetPromptId(String promptId) voidsetPromptUuid(String promptUuid) voidvoidsetTemplate(LLMObsPromptTemplate template) voidsetUserVersion(String userVersion) voidsetVersion(Long version) voidsetVersionCreatedAt(OffsetDateTime versionCreatedAt) template(LLMObsPromptTemplate template) toString()userVersion(String userVersion) versionCreatedAt(OffsetDateTime versionCreatedAt)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTHOR
- See Also:
-
JSON_PROPERTY_AUTHORING_TEMPLATE
- See Also:
-
JSON_PROPERTY_CONFIG
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_DATASETS
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_LABELS
- See Also:
-
JSON_PROPERTY_LAST_SEEN_AT
- See Also:
-
JSON_PROPERTY_ML_APP
- See Also:
-
JSON_PROPERTY_ML_APPS
- See Also:
-
JSON_PROPERTY_PROMPT_ID
- See Also:
-
JSON_PROPERTY_PROMPT_UUID
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_TEMPLATE
- See Also:
-
JSON_PROPERTY_USER_VERSION
- See Also:
-
JSON_PROPERTY_VERSION
- See Also:
-
JSON_PROPERTY_VERSION_CREATED_AT
- See Also:
-
-
Constructor Details
-
LLMObsPromptVersionDataAttributes
public LLMObsPromptVersionDataAttributes() -
LLMObsPromptVersionDataAttributes
public LLMObsPromptVersionDataAttributes(String promptId, String promptUuid, LLMObsPromptTemplate template, Long version)
-
-
Method Details
-
author
-
getAuthor
UUID of the user who authored this version.- Returns:
- author
-
setAuthor
-
authoringTemplate
-
getAuthoringTemplate
A text template, a list of chat messages, or an authored chat object. Text can include an exact prompt version with{{>prompt-id version=N}}; other text, including{{>...}}sequences without a version, remains literal. Use an authored chat object when including prompts as chat messages. Preview: Prompt composition is available in Preview. To request access, contact Datadog Support or your Customer Success Manager. Without access, inline references remain literal text and structured includes are unsupported. Previously compiled prompt versions remain available for execution.- Returns:
- authoringTemplate
-
setAuthoringTemplate
-
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
-
createdAt
-
getCreatedAt
Timestamp stored on this prompt version.- Returns:
- createdAt
-
setCreatedAt
-
datasets
-
addDatasetsItem
-
getDatasets
Datasets observed in runs associated with this prompt version.- Returns:
- datasets
-
setDatasets
-
description
-
getDescription
Description of this version.- Returns:
- description
-
setDescription
-
labels
-
addLabelsItem
-
getLabels
Deprecated.Labels attached to this version (for exampledevelopment,staging,production).- Returns:
- labels
-
setLabels
Deprecated. -
lastSeenAt
-
getLastSeenAt
Timestamp of the most recent observed run of this prompt version.- Returns:
- lastSeenAt
-
setLastSeenAt
-
mlApp
-
getMlApp
The ML application this prompt is associated with.- Returns:
- mlApp
-
setMlApp
-
mlApps
-
addMlAppsItem
-
getMlApps
ML applications observed running this prompt version.- Returns:
- mlApps
-
setMlApps
-
promptId
-
getPromptId
Customer-provided identifier of the parent prompt.- Returns:
- promptId
-
setPromptId
-
promptUuid
-
getPromptUuid
Unique identifier of the parent prompt.- Returns:
- promptUuid
-
setPromptUuid
-
tags
-
addTagsItem
-
getTags
Tags observed on runs of this prompt version.- Returns:
- tags
-
setTags
-
template
-
getTemplate
A text template, a list of chat messages, or an authored chat object. Text can include an exact prompt version with{{>prompt-id version=N}}; other text, including{{>...}}sequences without a version, remains literal. Use an authored chat object when including prompts as chat messages. Preview: Prompt composition is available in Preview. To request access, contact Datadog Support or your Customer Success Manager. Without access, inline references remain literal text and structured includes are unsupported. Previously compiled prompt versions remain available for execution.- Returns:
- template
-
setTemplate
-
userVersion
-
getUserVersion
User-supplied identifier for this version.- Returns:
- userVersion
-
setUserVersion
-
version
-
getVersion
Sequential version number. minimum: 1- Returns:
- version
-
setVersion
-
versionCreatedAt
-
getVersionCreatedAt
Timestamp when this version was created.- Returns:
- versionCreatedAt
-
setVersionCreatedAt
-
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:
- LLMObsPromptVersionDataAttributes
-
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 LLMObsPromptVersionDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-