Class: DatadogAPIClient::V2::LLMObsPromptDataAttributes

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/llm_obs_prompt_data_attributes.rb

Overview

Attributes of an LLM Observability prompt registry entry.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



72
73
74
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_data_attributes.rb', line 72

def additional_properties
  @additional_properties
end

#authorObject

UUID of the user who authored the prompt.



25
26
27
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_data_attributes.rb', line 25

def author
  @author
end

#created_atObject

Timestamp when the prompt was created.



28
29
30
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_data_attributes.rb', line 28

def created_at
  @created_at
end

#created_fromObject

Source that created the prompt, such as ui-registry, sdk-registry, or sdk-instrumentation.



31
32
33
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_data_attributes.rb', line 31

def created_from
  @created_from
end

#datasetsObject

Datasets observed in runs associated with this prompt.



34
35
36
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_data_attributes.rb', line 34

def datasets
  @datasets
end

#descriptionObject

Description of the prompt.



37
38
39
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_data_attributes.rb', line 37

def description
  @description
end

#extracted_fromObject

Source prompt from which this prompt was extracted, when applicable.



40
41
42
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_data_attributes.rb', line 40

def extracted_from
  @extracted_from
end

#in_registryObject

Whether the prompt is a registry entry (as opposed to a code-discovered prompt).



43
44
45
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_data_attributes.rb', line 43

def in_registry
  @in_registry
end

#last_seen_atObject

Timestamp of the most recent observed run of this prompt.



46
47
48
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_data_attributes.rb', line 46

def last_seen_at
  @last_seen_at
end

#last_version_created_atObject

Timestamp when the most recent version of the prompt was created.



49
50
51
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_data_attributes.rb', line 49

def last_version_created_at
  @last_version_created_at
end

#ml_appObject

The ML application this prompt is associated with.



52
53
54
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_data_attributes.rb', line 52

def ml_app
  @ml_app
end

#ml_appsObject

ML applications observed running this prompt.



55
56
57
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_data_attributes.rb', line 55

def ml_apps
  @ml_apps
end

#num_versionsObject

Number of versions of the prompt.



58
59
60
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_data_attributes.rb', line 58

def num_versions
  @num_versions
end

#prompt_idObject

Customer-provided identifier of the prompt.



61
62
63
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_data_attributes.rb', line 61

def prompt_id
  @prompt_id
end

#sourceObject

Whether the prompt was created from the registry or discovered from observed LLM calls.



64
65
66
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_data_attributes.rb', line 64

def source
  @source
end

#tagsObject

Tags observed on runs of this prompt.



67
68
69
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_data_attributes.rb', line 67

def tags
  @tags
end

#titleObject

Title of the prompt.



70
71
72
# File 'lib/datadog_api_client/v2/models/llm_obs_prompt_data_attributes.rb', line 70

def title
  @title
end