Hi there! Quick question. If one configures PHOENIX_SQL_DATABASE_URL, will the working directory (PHOENIX_WORKING_DIR) still be used? In other words, does Phoenix still require local storage even when a database is connected?
Yes, Phoenix still requires local storage even when a database is connected. The PHOENIX_WORKING_DIR is used for saving, loading, and exporting datasets, and must be accessible by both the Phoenix server and the notebook environment. This is independent of the database configuration, which is specified by PHOENIX_SQL_DATABASE_URL for logging traces and evaluations (source, source).Would you like more detail on how these configurations interact? Sources:
- Server Configuration
- Phoenix Config
馃挕聽Hint: Mention RunLLM in the thread for followups.
Elliot P. good question - it doesn't really use it for much - especially for tracing. The boot time of phoenix does require it to have write access to that directory but it will largely go un-used when you use sql
Thank you, Mikyo. That makes sense; in my system鈥檚 read-only environment, the server fails to load with Read-only file system: '/.phoenix'. Will enable access to a temporary directory.