Package com.datadog.api.client.v2.model
Class LLMObsCreatePromptResponseDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.LLMObsCreatePromptResponseDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsCreatePromptResponseDataAttributes
extends Object
Attributes returned after creating an Agent Observability prompt and its first version. 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
ConstructorsConstructorDescriptionLLMObsCreatePromptResponseDataAttributes(String createdFrom, Boolean inRegistry, Long numVersions, String promptId, LLMObsPromptResponseSource source) -
Method Summary
Modifier and TypeMethodDescriptionaddDatasetsItem(LLMObsPromptDataset datasetsItem) addMlAppsItem(String mlAppsItem) addTagsItem(String tagsItem) createdAt(OffsetDateTime createdAt) createdFrom(String createdFrom) datasets(List<LLMObsPromptDataset> datasets) description(String description) booleanReturn true if this LLMObsCreatePromptResponseDataAttributes object is equal to o.extractedFrom(String extractedFrom) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.UUID of the user who authored the prompt.Versioned prompt configuration is in Preview.Timestamp when the prompt was created.Source that created the prompt, such asui-registry,sdk-registry, orsdk-instrumentation.Datasets observed in runs associated with this prompt.Description of the prompt.Source prompt from which this prompt was extracted, when applicable.Whether the prompt is a registry entry (as opposed to a code-discovered prompt).Timestamp of the most recent observed run of this prompt.Timestamp when the most recent version of the prompt was created.getMlApp()The ML application this prompt is associated with.ML applications observed running this prompt.Number of versions of the prompt.Customer-provided identifier of the prompt.Whether the prompt was created from the registry or discovered from observed LLM calls.getTags()Tags observed on runs of this prompt.getTitle()Title of the prompt.inthashCode()inRegistry(Boolean inRegistry) lastSeenAt(OffsetDateTime lastSeenAt) lastVersionCreatedAt(OffsetDateTime lastVersionCreatedAt) numVersions(Long numVersions) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putConfigItem(String key, Object configItem) voidvoidvoidsetCreatedAt(OffsetDateTime createdAt) voidsetCreatedFrom(String createdFrom) voidsetDatasets(List<LLMObsPromptDataset> datasets) voidsetDescription(String description) voidsetExtractedFrom(String extractedFrom) voidsetInRegistry(Boolean inRegistry) voidsetLastSeenAt(OffsetDateTime lastSeenAt) voidsetLastVersionCreatedAt(OffsetDateTime lastVersionCreatedAt) voidvoidvoidsetNumVersions(Long numVersions) voidsetPromptId(String promptId) voidsetSource(LLMObsPromptResponseSource source) voidvoidsource(LLMObsPromptResponseSource source) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_AUTHOR
- See Also:
-
JSON_PROPERTY_CONFIG
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_CREATED_FROM
- See Also:
-
JSON_PROPERTY_DATASETS
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_EXTRACTED_FROM
- See Also:
-
JSON_PROPERTY_IN_REGISTRY
- See Also:
-
JSON_PROPERTY_LAST_SEEN_AT
- See Also:
-
JSON_PROPERTY_LAST_VERSION_CREATED_AT
- See Also:
-
JSON_PROPERTY_ML_APP
- See Also:
-
JSON_PROPERTY_ML_APPS
- See Also:
-
JSON_PROPERTY_NUM_VERSIONS
- See Also:
-
JSON_PROPERTY_PROMPT_ID
- See Also:
-
JSON_PROPERTY_SOURCE
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
-
Constructor Details
-
LLMObsCreatePromptResponseDataAttributes
public LLMObsCreatePromptResponseDataAttributes() -
LLMObsCreatePromptResponseDataAttributes
public LLMObsCreatePromptResponseDataAttributes(String createdFrom, Boolean inRegistry, Long numVersions, String promptId, LLMObsPromptResponseSource source)
-
-
Method Details
-
author
-
getAuthor
UUID of the user who authored the prompt.- Returns:
- author
-
setAuthor
-
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 when the prompt was created.- Returns:
- createdAt
-
setCreatedAt
-
createdFrom
-
getCreatedFrom
Source that created the prompt, such asui-registry,sdk-registry, orsdk-instrumentation.- Returns:
- createdFrom
-
setCreatedFrom
-
datasets
-
addDatasetsItem
-
getDatasets
Datasets observed in runs associated with this prompt.- Returns:
- datasets
-
setDatasets
-
description
-
getDescription
Description of the prompt.- Returns:
- description
-
setDescription
-
extractedFrom
-
getExtractedFrom
Source prompt from which this prompt was extracted, when applicable.- Returns:
- extractedFrom
-
setExtractedFrom
-
inRegistry
-
getInRegistry
Whether the prompt is a registry entry (as opposed to a code-discovered prompt).- Returns:
- inRegistry
-
setInRegistry
-
lastSeenAt
-
getLastSeenAt
Timestamp of the most recent observed run of this prompt.- Returns:
- lastSeenAt
-
setLastSeenAt
-
lastVersionCreatedAt
public LLMObsCreatePromptResponseDataAttributes lastVersionCreatedAt(OffsetDateTime lastVersionCreatedAt) -
getLastVersionCreatedAt
Timestamp when the most recent version of the prompt was created.- Returns:
- lastVersionCreatedAt
-
setLastVersionCreatedAt
-
mlApp
-
getMlApp
The ML application this prompt is associated with.- Returns:
- mlApp
-
setMlApp
-
mlApps
-
addMlAppsItem
-
getMlApps
ML applications observed running this prompt.- Returns:
- mlApps
-
setMlApps
-
numVersions
-
getNumVersions
Number of versions of the prompt.- Returns:
- numVersions
-
setNumVersions
-
promptId
-
getPromptId
Customer-provided identifier of the prompt.- Returns:
- promptId
-
setPromptId
-
source
-
getSource
Whether the prompt was created from the registry or discovered from observed LLM calls.- Returns:
- source
-
setSource
-
tags
-
addTagsItem
-
getTags
Tags observed on runs of this prompt.- Returns:
- tags
-
setTags
-
title
-
getTitle
Title of the prompt.- Returns:
- title
-
setTitle
-
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:
- LLMObsCreatePromptResponseDataAttributes
-
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 LLMObsCreatePromptResponseDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-