Class: DatadogAPIClient::V2::LLMObsInferenceCode

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

Overview

A generated code snippet for running an inference request programmatically.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_propertiesObject

Returns the value of attribute additional_properties.



33
34
35
# File 'lib/datadog_api_client/v2/models/llm_obs_inference_code.rb', line 33

def additional_properties
  @additional_properties
end

#codeObject

The generated code content.



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

def code
  @code
end

#idObject

Unique identifier for the code snippet.



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

def id
  @id
end

#typeObject

The programming language or SDK type of the code snippet.



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

def type
  @type
end