Open Jgilhuly opened 1 month ago
I'm not sure how we'd actually do this given inputs have so much variability. Hopefully there's something I'm missing, otherwise we may need to close this one
@Jgilhuly By unfurl, do you mean the list of input and output messages we show for LLM spans? If so, we are able to show that more opinionated UI for LLM spans because we have additional semantic conventions specifically for message content, role, etc., that we don't have for other span kinds.
Describe the Enhancement We currently unfurl input messages for spans with span_kind=LLM. We do not unfurl messages for other span_kinds, like chains and agent spans. Some of our instrumentors, including Langchain, log the same messages object that is sent in an LLM span in other CHAIN spans. Unfurling these messages in the same way as we do for LLMs would make the spans much easier to digest.
Screenshots