Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot save and load complete tracing records locally #4673

Closed
Howie-Arup opened this issue Sep 19, 2024 · 4 comments · Fixed by #4694
Closed

Cannot save and load complete tracing records locally #4673

Howie-Arup opened this issue Sep 19, 2024 · 4 comments · Fixed by #4694
Assignees
Labels
bug Something isn't working

Comments

@Howie-Arup
Copy link

Hi, I am using Phoenix locally to trace my LLM calls and save the tracing results. The codes are as below:

# Save
directory = 'traces'
trace_id = px.Client().get_trace_dataset().save(directory=directory)

# Load
trace_dataset = px.TraceDataset.load(trace_id, directory=directory)
px.launch_app(trace=trace_dataset)

But the loaded record misses the Input Messages part which is more friendly for reading.
Original result before saving:
original result
Loaded result that misses the Input Messages part:
loaded result

How to save all the parts of the tracing record? Thanks!

@dosubot dosubot bot added the bug Something isn't working label Sep 19, 2024
@Howie-Arup Howie-Arup changed the title Problem on saving and loading tracing records Cannot save and load complete tracing records locally Sep 19, 2024
@mikeldking
Copy link
Contributor

@Howie-Arup Thanks for reporting! Will take a look

@mikeldking mikeldking self-assigned this Sep 19, 2024
@anticorrelator anticorrelator self-assigned this Sep 19, 2024
@RogerHYang
Copy link
Contributor

RogerHYang commented Sep 19, 2024

@Howie-Arup Thanks for the report. Is this occurring in the latest version of Phoenix?

@Howie-Arup
Copy link
Author

Howie-Arup commented Sep 20, 2024

@Howie-Arup Thanks for the report. Is this occurring in the latest version of Phoenix?

Thanks for reply @mikeldking @RogerHYang . I was using the below versions before:

arize-phoenix             4.32.0                   pypi_0    pypi
arize-phoenix-evals       0.15.1                   pypi_0    pypi
arize-phoenix-otel        0.5.0                    pypi_0    pypi

And I upgraded to the below latest versions just now, but the problem still occurred.

arize-phoenix             4.35.1                   pypi_0    pypi
arize-phoenix-evals       0.15.1                   pypi_0    pypi
arize-phoenix-otel        0.5.0                    pypi_0    pypi

@RogerHYang
Copy link
Contributor

We've released a fix in v4.35.2. Please check it out and let us know if you need anything else. Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants