npm / @arizeai/openinference-semantic-conventions
@arizeai/openinference-semantic-conventions
What changed in @arizeai/openinference-semantic-conventions 2, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.
7 new APIs and options1 behavior and defaults
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@arizeai/openinference-semantic-conventions 28 changes
New APIs and options 7
Adds the model name attribute for DECISION spans.
Adds a well-known value enum aliasing matching LLMProvider values.
Adds a well-known value enum aliasing matching LLMSystem values.
Adds ORACLE as a well-known llm.provider value for Oracle Cloud Infrastructure Generative AI.
Adds the DECISION span kind for decision model calls that score or select among candidate options.
Adds instrumentation with one LLM span per systemOne call, structured JSON input/output payloads, question confidence metadata, token usage, context propagation, and configurable masking. Preserves the SDK's APIPromise interface and supports ESM and CommonJS.
Adds TypeSafe provider and system values to the semantic conventions.
Behavior and default changes 1
Provider inference now recognizes the TypeSafe API hostname.