Is there a lighter weight library for querying than the full arize-phoenix package?
Yes, there are lighter weight libraries available. You can install specific sub-packages of Phoenix based on your needs, such as arize-phoenix-otel, arize-phoenix-client, or arize-phoenix-evals, instead of the full arize-phoenix package. This allows you to only include the components necessary for your use case, reducing the overall footprint. For more details, you can refer to the GitHub issue discussing the documentation of these lightweight packages.Would you like more detail on how to install and use these sub-packages? Sources:
- GitHub issue on lightweight packages
馃挕聽Hint: Mention RunLLM in the thread for followups.
it isn't there yet though
Ah dang. Is there a way to avoid needing a .phoenix folder using the full library?
Our app runs in lambdas so the package is causing some issues around that
yes! if you run phoenix pointed to a postres database we will skip the check for local storage
some legacy features will no longer work but you should get a warning should you try to use them
Hrmm alright 馃. Don't think that'll quite work for us. Assuming that means it is going to try and connect everytime right?
We're trying to set up some cron lambdas to run evals
ah if you're just running evals, phoenix-evals is a lightweight standalone package that does not require the server
Ok I'll take a look. We actually just pull the spans from phoenix and run our own eval framework. So just looking for a way to query the spans for now
the span querying functionality is currently in PR for the client
