Class: DatadogAPIClient::V2::LLMObsCreatePromptDataAttributes

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

Overview

Attributes for creating an LLM Observability prompt and its first version. prompt_id and template are required; all other attributes are optional.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



45
46
47
# File 'lib/datadog_api_client/v2/models/llm_obs_create_prompt_data_attributes.rb', line 45

def additional_properties
  @additional_properties
end

#descriptionObject

Optional description of the prompt.



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

def description
  @description
end

#env_idsObject

Optional feature-flag environment UUIDs the service attempts to enable and configure to use the first version as their default after creation.



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

def env_ids
  @env_ids
end

#labelsObject

Optional labels to attach to the first version. Do not use this attribute for new integrations.



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

def labels
  @labels
end

#prompt_idObject

Customer-provided identifier for the new prompt.



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

def prompt_id
  @prompt_id
end

#templateObject

A text template or a list of chat messages.



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

def template
  @template
end

#titleObject

Optional title of the prompt.



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

def title
  @title
end

#user_versionObject

Optional user-supplied version identifier for the first version.



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

def user_version
  @user_version
end