Package com.datadog.api.client.v2.model
Class LLMObsPromptDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.LLMObsPromptDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsPromptDataAttributes
extends Object
Attributes of an Agent Observability prompt registry entry. Prompt list and metadata-update
responses omit complete template and configuration data.
-
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 Stringboolean -
Constructor Summary
ConstructorsConstructorDescriptionLLMObsPromptDataAttributes(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 LLMObsPromptDataAttributes 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.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.voidvoidsetCreatedAt(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_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
-
LLMObsPromptDataAttributes
public LLMObsPromptDataAttributes() -
LLMObsPromptDataAttributes
public LLMObsPromptDataAttributes(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
-
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
-
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:
- LLMObsPromptDataAttributes
-
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 LLMObsPromptDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-