Hi, if i have installed arize-phoenix-otel and then integrated with langgraph code it is able to trace however if i want to launch phoenix in local and do not use phoenix cloud via setting phoenix headers,api_key etc as env variable, Then what should i do? And px.launch_app() is not working , is it built to show in notebooks only? Even if i do install arize-phoenix package then it throws error post running the python file.
To run Phoenix locally without using the Phoenix Cloud, you should install the arize-phoenix package and launch it using the command line. Use phoenix serve to start the Phoenix server locally. This will expose the Phoenix UI on localhost:6006 and the gRPC endpoint for spans on localhost:4317 (source).The px.launch_app() function is primarily intended for use in notebook environments, such as Jupyter or Colab, and may not work as expected outside of these environments (source). For running Phoenix in a script or standalone application, it's recommended to use the command line approach.Would you like more details on setting up and running Phoenix locally?Sources:
- https://github.com/Arize-ai/phoenix/blob/main/docs/deployment/local-instance.md
- https://github.com/Arize-ai/phoenix/issues/2711
馃挕聽Hint: Mention RunLLM in the thread for followups.
Thanks
