Class: DatadogAPIClient::V2::LLMObsInferenceRunResult
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::LLMObsInferenceRunResult
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/llm_obs_inference_run_result.rb
Overview
The output of a completed LLM inference call.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#assessment ⇒ Object
An optional assessment of the inference output quality.
-
#content ⇒ Object
readonly
The text content of the model response.
-
#finish_reason ⇒ Object
readonly
The reason the model stopped generating tokens.
-
#inference_codes ⇒ Object
readonly
List of generated code snippets for the inference configuration.
-
#input_tokens ⇒ Object
readonly
Number of input tokens consumed.
-
#internal_reasoning ⇒ Object
The model's internal reasoning or thinking output, if available.
-
#latency ⇒ Object
readonly
Request latency in milliseconds.
-
#output_tokens ⇒ Object
readonly
Number of output tokens generated.
-
#tools ⇒ Object
readonly
List of tools available to the model.
-
#total_tokens ⇒ Object
readonly
Total tokens used (input plus output).
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
54 55 56 |
# File 'lib/datadog_api_client/v2/models/llm_obs_inference_run_result.rb', line 54 def additional_properties @additional_properties end |
#assessment ⇒ Object
An optional assessment of the inference output quality.
25 26 27 |
# File 'lib/datadog_api_client/v2/models/llm_obs_inference_run_result.rb', line 25 def assessment @assessment end |
#content ⇒ Object
The text content of the model response.
28 29 30 |
# File 'lib/datadog_api_client/v2/models/llm_obs_inference_run_result.rb', line 28 def content @content end |
#finish_reason ⇒ Object
The reason the model stopped generating tokens.
31 32 33 |
# File 'lib/datadog_api_client/v2/models/llm_obs_inference_run_result.rb', line 31 def finish_reason @finish_reason end |
#inference_codes ⇒ Object
List of generated code snippets for the inference configuration.
34 35 36 |
# File 'lib/datadog_api_client/v2/models/llm_obs_inference_run_result.rb', line 34 def inference_codes @inference_codes end |
#input_tokens ⇒ Object
Number of input tokens consumed.
37 38 39 |
# File 'lib/datadog_api_client/v2/models/llm_obs_inference_run_result.rb', line 37 def input_tokens @input_tokens end |
#internal_reasoning ⇒ Object
The model's internal reasoning or thinking output, if available.
40 41 42 |
# File 'lib/datadog_api_client/v2/models/llm_obs_inference_run_result.rb', line 40 def internal_reasoning @internal_reasoning end |
#latency ⇒ Object
Request latency in milliseconds.
43 44 45 |
# File 'lib/datadog_api_client/v2/models/llm_obs_inference_run_result.rb', line 43 def latency @latency end |
#output_tokens ⇒ Object
Number of output tokens generated.
46 47 48 |
# File 'lib/datadog_api_client/v2/models/llm_obs_inference_run_result.rb', line 46 def output_tokens @output_tokens end |
#tools ⇒ Object
List of tools available to the model.
49 50 51 |
# File 'lib/datadog_api_client/v2/models/llm_obs_inference_run_result.rb', line 49 def tools @tools end |
#total_tokens ⇒ Object
Total tokens used (input plus output).
52 53 54 |
# File 'lib/datadog_api_client/v2/models/llm_obs_inference_run_result.rb', line 52 def total_tokens @total_tokens end |