Skip to content

feat(cohere): Instrument classify method #5843

@ericapisani

Description

@ericapisani

The Cohere SDK's classify method (text classification using examples) is not instrumented. This is an AI inference call that should emit spans with model, token usage, and input/output data.

Acceptance criteria:

  • classify calls emit spans with model, token usage, and input/output data
  • Follows gen_ai.* attribute conventions (not deprecated ai.*)
  • Sets gen_ai.system = "cohere"

Metadata

Metadata

Assignees

No one assigned
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions