OpenInference JS
    Preparing search index...
    • Assign attribute value to attributes object if value is not undefined or null This mutates the attrs object

      Parameters

      • attrs: Attributes

        The attributes object to assign the value to

      • key: string

        The key to assign the value to

      • Optionalvalue: AttributeValue | null

        The value to assign to the key

      Returns void