openinference icon indicating copy to clipboard operation
openinference copied to clipboard

[BUG]: instrumentation captures messages as strings for groq or instructor

Open exiao opened this issue 9 months ago • 2 comments

Where do you use Phoenix

Local (self-hosted)

What version of Phoenix are you using?

8.3.0

What operating system are you seeing the problem on?

Linux

What version of Python are you running Phoenix with?

3.11

What version of Python or Node are you using instrumentation with?

No response

What instrumentation are you using?

arize-phoenix-otel instructor[groq, cerebras_cloud_sdk] groq

manual instrumentation

What happened?

Image

Image

What did you expect to happen?

It should capture the messages appropriately

How can we reproduce the bug?

Go to the trace, click add to dataset

Additional information

No response

exiao avatar Feb 27 '25 18:02 exiao

Hey Eric, this looks like the instrumentation is capturing messages as strings incorrectly, moving this to instrumentation. If you could share code snippets to repro that would be great.

mikeldking avatar Feb 28 '25 20:02 mikeldking

original title: [BUG]: Add to dataset for specific span doesn't capture messages properly

mikeldking avatar Feb 28 '25 20:02 mikeldking