OpenInference JS
    Preparing search index...
    • Map GenAI agent attributes to OpenInference agent attributes.

      Currently only gen_ai.agent.name -> agent.name. gen_ai.agent.id and gen_ai.agent.description (which also drive AGENT span-kind detection in mapSpanKind) are intentionally not mapped, as OpenInference has no corresponding agent attributes for them.

      Parameters

      • spanAttributes: Attributes

        The GenAI span attributes to read agent attributes from

      Returns Attributes

      The mapped OpenInference agent attributes