opentelemetry_semantic_conventions::attribute

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.

§Notes

If one of the predefined values applies, but specific system uses a different name it’s RECOMMENDED to document it in the semantic conventions for specific GenAI system and use system-specific name in the instrumentation. If a different name is not documented, instrumentation libraries SHOULD use applicable predefined value