Class: DatadogAPIClient::V2::LLMObsCreatePromptData

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

Overview

Data object for creating an Agent Observability prompt.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



30
31
32
# File 'lib/datadog_api_client/v2/models/llm_obs_create_prompt_data.rb', line 30

def additional_properties
  @additional_properties
end

#attributes ⇒ Object

Attributes for creating an Agent Observability prompt and its first version. prompt_id and template are required; all other attributes are optional. If config is omitted, the first version stores an empty object. Configuration authoring must be enabled for your organization to supply config. Otherwise, supplying it, including an empty object, returns HTTP 403.



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

def attributes
  @attributes
end

#type ⇒ Object

Resource type of an Agent Observability prompt.



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

def type
  @type
end