Skip to main content

GEN_AI__OPERATION__TYPE

Constant GEN_AI__OPERATION__TYPE 

Source
pub const GEN_AI__OPERATION__TYPE: &str = "gen_ai.operation.type";
Expand description

The type of AI operation. Must be one of ‘agent’ (invoke_agent and create_agent spans), ‘ai_client’ (any LLM call), ‘tool’ (execute_tool spans), ‘handoff’ (handoff spans), ‘other’ (input and output processors, skill loading, guardrails etc.) . Added during ingestion based on span.op and gen_ai.operation.type. Used to filter and aggregate data in the UI.

  • PII: Maybe
  • Rewriting behavior: None