Open Verizane opened 2 weeks ago
@Verizane seems like a nice convenience. Can I ask a bit about how you are generating the list of spans?
Just some background on the TraceDataset - we designed it that way to encapsulate the evals of the traces as well and the dataframe centric approach we take with python code (Our evals run on dataframes currently). Totally understand the above however, just wanted to give you some context.
Is your feature request related to a problem? Please describe. I had to customize the client method "log_traces" to match my provided Spans. Therefore I have written a custom method, which I want to provide to the phoenix code, as that is a good feature which might help others also. It only takes a list of Spans and sends it to phoenix, the same way as log_traces does, instead of going through the process of creating a TraceDataset beforehand.
Describe the solution you'd like Here is the method: