function extractLlmAttributes(context) {
  return Object.keys(context).reduce((result, key) => {
    if (key.indexOf('llm.') === 0) {
      result[key] = context[key]
    }
    return result
  }, {})
}
Extract LLM attributes from the LLM context

@param {Object} context LLM context object
@returns {Object} LLM custom attributes