open-telemetry/semantic-conventions-genai ? reverse-engineered prompt

Reverse engineered prompt

Build me a repo for OpenTelemetry semantic conventions for GenAI, with clear human readable docs and the generated spec files behind them.

I want it to cover generative AI clients, MCP, and provider specific conventions like OpenAI, with spans, metrics, and events described in a way that matches the OpenTelemetry style. The main source of truth should be structured model files, and the Markdown docs should be generated from those definitions so the docs stay in sync. Include the reference material and simple tooling for checking the conventions and producing the published outputs.

Make it easy for contributors to update the model, regenerate the docs, and see what changed. If there are existing OpenTelemetry conventions or build tools this should depend on, use the current docs online if needed and wire it up the same way the project expects. Also add the usual contribution notes, release notes, and any basic scripts or Make targets needed so someone can run the generation and validation flow locally.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab