Skip to content

[BUG]: Image not shown (Langchain / Google VertexAI) #10414

@dardT

Description

@dardT

Where do you use Phoenix

Self-hosted

What version of Phoenix are you using?

11.29.0

What happened?

I use Arize-Phoenix to trace my langchain/langgraph application, and it appears that the images are not displayed even though they seem to be captured by OpenTelemetry.

I wonder why, do you have any ideas ?

In the following screenshot there's supposedly 2 images but it does the same with only one.

Image

What's worth to be mentioned is that they are logged within Langchain 1.0+ HumanMessage in the following way :

text_message = {"type": "text", "content": "Hello, world"}
image_message = {
                    "type": "image_url",
                    "image_url": {"url": f"data:image/jpeg;base64,{image_base64}"},
                }

message = HumanMessage(content=[text_message, image_message, image_message])


agent = create_agent(...)

agent.invoke({"messages": [message]})

Additional information

  • Phoenix is self-hosted in a local K8S cluster, using Helm + Skaffold

Notable dependencies :

  • openinference-instrumentation-langchain>=0.1.50
  • arize-phoenix-otel>=0.13.0
  • langchain>=1.0
  • langgraph>=1.0
  • langchain-google-vertexai>=2.0.24

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingc/uitriageissues that need triage

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions