Skip to main content

GEN_AI__OPERATION__NAME

Constant GEN_AI__OPERATION__NAME 

Source
pub const GEN_AI__OPERATION__NAME: &str = "gen_ai.operation.name";
Expand description

The name of the operation being performed. It has the following list of well-known values: ‘chat’, ‘create_agent’, ‘embeddings’, ‘execute_tool’, ‘generate_content’, ‘invoke_agent’, ‘text_completion’. If one of them applies, then that value MUST be used. Otherwise a custom value MAY be used.

  • PII: Maybe
  • Rewriting behavior: None