Class: DatadogAPIClient::V2::LLMObsPromptInclude

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

Overview

Includes messages from a specific version of another prompt. Omitting items includes every message from that version in its original order. When items is present, messages are included in the specified order, including repetitions.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#items ⇒ Object

Zero-based indexes of messages from the included prompt. For example, [2, 0, 0] includes the third message, followed by the first message twice. Omit this field to include all messages in their original order.



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

def items
  @items
end

#prompt_id ⇒ Object

Customer-provided identifier of the included prompt.



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

def prompt_id
  @prompt_id
end

#version ⇒ Object

Positive sequential version number of the included prompt.



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

def version
  @version
end