Visualizing User Embeddings in Phoenix for RAG Pipelines
I think this is an elementary question but I could not find a definitive answer in the documentation. I have implemented (manually instrumented) tracing for my application. I can see all my traces and spans come in nicely as I expect. Suppose some of the traces coming in are for a standard RAG pipeline. I would like to visualize all of the embeddings for the users' questions using Phoenix's awesome UMAP visualization. After spending a couple days with the documentation, it seems to me like the best path forward is to query the spans to a dataframe and then import the dataframe as a dataset with a schema. Does that sound right? I guess I was holding out that there was a way to grab all embeddings with a specific span name from the project view. Thanks in advance for you engagement!
