When search sessions by messages, it seems really slow. In one case, it took >53s for query SessionsTableQuery( to return? Is there any tips for speeding it up? My data isn't that big yet, the /settings/general pages says my data base usage is 10.2 GiB, and the search is probably just within a single project, right? The project with 53s probably has < 1G data.
馃挕聽Hint: Mention RunLLM in the thread for followups.
yeah, I was on sessions page like
I just typed some text on the Search messages box, the browser appears to do nothing, not returning anything till 53s later (I get the number from the chrome developer console)
the query is a short text with ~10 words
it's basically a chatbot
like LLM+a bunch of custom built tools
what's being traced is very similar to what's introduced in this course https://www.deeplearning.ai/short-courses/evaluating-ai-agents/
agent => router call => tool call => LLM calls.
Okay, so it doesn't sound like the size of the messages is particularly long.
Out of curiosity, are you using Phoenix Cloud or self-hosting?
does the search search span metadata? in the metadata, some the spans may have logged some opaque tokens (long strings)
