Description
GenAI operation names should follow the semantic conventions:chat, text_completion, or embeddings.
Bad Code
Good Code
Properties
- Category: GenAI
- Severity: Warning
- Enabled by default: True
- Code fix available: False
Use ‘chat’, ‘text_completion’, or ‘embeddings’ as operation names
chat, text_completion, or embeddings.