Class: DatadogAPIClient::V2::AiGatewayMetadataCaptureItem
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::AiGatewayMetadataCaptureItem
- Includes:
- BaseEnumModel
- Defined in:
- lib/datadog_api_client/v2/models/ai_gateway_metadata_capture_item.rb
Overview
An item Metadata-only capture can add to LLM Observability spans. Each is structure or a number, never conversation text. tool_usage adds tool call and result counts; tool_output_size adds estimated tool output tokens, total and average; tool_names adds each tool call and result with its name, ID and type; conversation_shape adds every message with its role and no text; input_size_by_role adds estimated input tokens per role; available_tools adds the names of the tools the request offered; generation_settings adds numeric and enumerated settings such as temperature and the finish reason.
Constant Summary collapse
- TOOL_USAGE =
"tool_usage".freeze
- TOOL_OUTPUT_SIZE =
"tool_output_size".freeze
- TOOL_NAMES =
"tool_names".freeze
- CONVERSATION_SHAPE =
"conversation_shape".freeze
- INPUT_SIZE_BY_ROLE =
"input_size_by_role".freeze
- AVAILABLE_TOOLS =
"available_tools".freeze
- GENERATION_SETTINGS =
"generation_settings".freeze