Hi, I am trying to log and display a base64 image.
I am logging it using:
with tracer.start_as_current_span("ChatCompletion"):
span.set_attribute("llm.input_messages.0.message.contents.0.message_content.type, "image")
span.set_attribute("llm.input_messages.0.message.contents.0.message_content.image.image.url, base64_url)
But I see only as placeholder on Phoenix. In attributes section, I see this:
{
"message_content": {
"type": "image",
"image": {
"image": {
"url": "__REDACTED__"
}
}
}
},
The base64_url starts with data:image/jpeg;base64, , and if I copy paste to a decoder the image is displayed correctly.