Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find a consistent pattern for LLM span names #930

Open
lmolkova opened this issue Apr 17, 2024 · 1 comment
Open

Find a consistent pattern for LLM span names #930

lmolkova opened this issue Apr 17, 2024 · 1 comment
Assignees

Comments

@lmolkova
Copy link
Contributor

lmolkova commented Apr 17, 2024

We probably need to standardize operation name (as attribute) - e.g. openai object like "chat.completion" or "embedding" and use the operation name inside the span name as well.

@sudivate
Copy link

sudivate commented Apr 30, 2024

Hi @lmolkova, I have started working on this PR, can you please add me to the project and assign this to me.

Should this be gen_ai.operation.name with below possible operations name

  • chat.completions
  • embeddings
  • speech.generations
  • audio.transcriptions
  • audio.translations
  • image.generations

https://github.com/sudivate/semantic-conventions/blob/0550e6fa8ccaa382c26ab8f4cd5b957f65c5aed0/model/registry/gen-ai.yaml#L50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

3 participants