Assistance Needed: Locating SQLite Database in Phoenix Setup
Hello Phoenix Team. I am trying out Phoenix for RAG tracing. I'm reaching out for some assistance with Phoenix regarding the location of the SQLite database. I have configured the PHOENIX_WORKING_DIR environment variable in my .env file to /Volumes/Work/RnD/Phoenix_with_llama_index. I have also added the following code to my ipynb notebook to load the environment variables:
from dotenv import load_dotenv
import os
# Load environment variables from .env file
load_dotenv()
# Access the PHOENIX_WORKING_DIR environment variable
phoenix_working_directory = os.getenv('PHOENIX_WORKING_DIR')
print(f"PHOENIX_WORKING_DIR: {phoenix_working_directory}")This produces the output: PHOENIX_WORKING_DIR: /Volumes/Work/RnD/Phoenix_with_llama_index. I have run the RAG pipeline with several questions, and I can see that exports, inferences, and trace_dataset folders have been created in the specified working directory. However, the documentation states: "By default, Phoenix uses SQLite, storing data in ~/.phoenix/ or the directory specified by the PHOENIX_WORKING_DIR environment variable." I am unable to locate the SQLite database file. Could you please guide me on where to find it?"
