Skip to content

Change generate_text to text_completion #5883

Closed

Description

The devdocs use text_completion: https://develop.sentry.dev/sdk/telemetry/traces/modules/ai-agents/
OTel usees text_completion: https://opentelemetry.io/docs/specs/semconv/gen-ai/gen-ai-spans/

  • Remove GEN_AI_GENERATE_TEXT
  • Add GEN_AI_TEXT_COMPLETION = "text_completion"
  • Replace occurrences of the "generate_text" in span descriptions, gen_ai.operation.name attributes, and op with text_completion

Activity

  1. linear-code commented on Mar 26, 2026

    @linear-code
  2. self-assigned this
    on Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions