OpenInference JS
    Preparing search index...
    • Map GenAI response finish reasons to the OpenInference LLM finish reason attribute.

      Parameters

      • spanAttributes: Attributes

        The span attributes containing the finish reasons to map

      Returns Attributes

      The mapped finish reason attribute